From 9d0fd00072e82f095575a17ec7578e1e2beb6997 Mon Sep 17 00:00:00 2001 From: collin <16715212+collinc97@users.noreply.github.com> Date: Thu, 23 Jun 2022 21:44:06 -1000 Subject: [PATCH 01/17] add record type --- compiler/ast/src/lib.rs | 3 + compiler/ast/src/records/mod.rs | 21 ++++++ compiler/ast/src/records/record.rs | 77 +++++++++++++++++++++ compiler/ast/src/records/record_variable.rs | 37 ++++++++++ compiler/parser/src/tokenizer/lexer.rs | 1 + compiler/parser/src/tokenizer/token.rs | 4 ++ examples/token/src/main.leo | 2 +- leo/span/src/symbol.rs | 8 ++- 8 files changed, 149 insertions(+), 4 deletions(-) create mode 100644 compiler/ast/src/records/mod.rs create mode 100644 compiler/ast/src/records/record.rs create mode 100644 compiler/ast/src/records/record_variable.rs diff --git a/compiler/ast/src/lib.rs b/compiler/ast/src/lib.rs index fa2fd34a5f..8812967757 100644 --- a/compiler/ast/src/lib.rs +++ b/compiler/ast/src/lib.rs @@ -42,6 +42,9 @@ pub use self::groups::*; pub mod input; pub use self::input::*; +pub mod records; +pub use self::records::*; + pub mod passes; pub use self::passes::*; diff --git a/compiler/ast/src/records/mod.rs b/compiler/ast/src/records/mod.rs new file mode 100644 index 0000000000..689569ca40 --- /dev/null +++ b/compiler/ast/src/records/mod.rs @@ -0,0 +1,21 @@ +// 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 . + +pub mod record; +pub use record::*; + +pub mod record_variable; +pub use record_variable::*; diff --git a/compiler/ast/src/records/record.rs b/compiler/ast/src/records/record.rs new file mode 100644 index 0000000000..584ca2e24a --- /dev/null +++ b/compiler/ast/src/records/record.rs @@ -0,0 +1,77 @@ +// 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 crate::{Identifier, Node, RecordVariable}; +use leo_span::{Span, Symbol}; + +use serde::{Deserialize, Serialize}; +use std::fmt; + +/// A record type definition. +/// `record Token { owner: address, balance: u64, balance: u64 }`. +/// Records are constructed similar to `circuit` types but with variables specific to Aleo. +#[derive(Clone, Serialize, Deserialize)] +pub struct Record { + /// The name of the type in the type system in this module. + pub identifier: Identifier, + /// The owner of the program record. + pub owner: RecordVariable, + /// The balance of the program record. + pub balance: RecordVariable, + /// The program data, + pub data: Vec, + /// The entire span of the circuit definition. + pub span: Span, +} + +impl PartialEq for Record { + fn eq(&self, other: &Self) -> bool { + self.identifier == other.identifier + } +} + +impl Eq for Record {} + +impl Record { + /// Returns the record name as a Symbol. + pub fn name(&self) -> Symbol { + self.identifier.name + } + + fn format(&self, f: &mut fmt::Formatter) -> fmt::Result { + writeln!(f, "record {} {{ ", self.identifier)?; + writeln!(f, " {}", self.owner)?; + writeln!(f, " {}", self.balance)?; + for var in self.data.iter() { + writeln!(f, " {}", var)?; + } + write!(f, "}}") + } +} + +impl fmt::Debug for Record { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + self.format(f) + } +} + +impl fmt::Display for Record { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + self.format(f) + } +} + +crate::simple_node_impl!(Record); diff --git a/compiler/ast/src/records/record_variable.rs b/compiler/ast/src/records/record_variable.rs new file mode 100644 index 0000000000..6671ea9149 --- /dev/null +++ b/compiler/ast/src/records/record_variable.rs @@ -0,0 +1,37 @@ +// 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 crate::{Identifier, Type}; + +use serde::{Deserialize, Serialize}; +use std::fmt; + +#[allow(clippy::large_enum_variant)] +/// A variable definition in a record; +/// For example: `foobar: u8;`. +#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] +pub struct RecordVariable { + /// The identifier of the constant. + ident: Identifier, + /// The type the constant has. + type_: Type +} + +impl fmt::Display for RecordVariable { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + write!(f, "{}: {}", self.ident, self.type_) + } +} diff --git a/compiler/parser/src/tokenizer/lexer.rs b/compiler/parser/src/tokenizer/lexer.rs index aa3ce44430..7b61de792d 100644 --- a/compiler/parser/src/tokenizer/lexer.rs +++ b/compiler/parser/src/tokenizer/lexer.rs @@ -316,6 +316,7 @@ impl Token { "in" => Token::In, "let" => Token::Let, "public" => Token::Public, + "record" => Token::Record, "return" => Token::Return, "scalar" => Token::Scalar, "string" => Token::String, diff --git a/compiler/parser/src/tokenizer/token.rs b/compiler/parser/src/tokenizer/token.rs index 22c56d32d4..71a661e6df 100644 --- a/compiler/parser/src/tokenizer/token.rs +++ b/compiler/parser/src/tokenizer/token.rs @@ -90,6 +90,7 @@ pub enum Token { U64, U128, SelfUpper, + Record, // Regular Keywords Circuit, @@ -140,6 +141,7 @@ pub const KEYWORD_TOKENS: &[Token] = &[ Token::In, Token::Let, Token::Public, + Token::Record, Token::Return, Token::SelfLower, Token::SelfUpper, @@ -184,6 +186,7 @@ impl Token { Token::In => sym::In, Token::Let => sym::Let, Token::Public => sym::Public, + Token::Record => sym::record, Token::Return => sym::Return, Token::Scalar => sym::scalar, Token::SelfLower => sym::SelfLower, @@ -268,6 +271,7 @@ impl fmt::Display for Token { U64 => write!(f, "u64"), U128 => write!(f, "u128"), SelfUpper => write!(f, "Self"), + Record => write!(f, "record"), Circuit => write!(f, "circuit"), Console => write!(f, "console"), diff --git a/examples/token/src/main.leo b/examples/token/src/main.leo index 6b52079780..aa55207da6 100644 --- a/examples/token/src/main.leo +++ b/examples/token/src/main.leo @@ -1,6 +1,6 @@ // CAUTION: Work in progress -circuit Token { +record Token { // The token owner. owner: address, // The Aleo balance (in gates). diff --git a/leo/span/src/symbol.rs b/leo/span/src/symbol.rs index 1a61a27c43..d6bc07d680 100644 --- a/leo/span/src/symbol.rs +++ b/leo/span/src/symbol.rs @@ -164,6 +164,7 @@ symbols! { i32, i64, i128, + record, scalar, string, u8, @@ -207,6 +208,10 @@ symbols! { test, Type: "type", + public, + private, + + // todo: remove these. CONTAINER_PSEUDO_CIRCUIT: "$InputContainer", REGISTERS_PSEUDO_CIRCUIT: "$InputRegister", RECORD_PSEUDO_CIRCUIT: "$InputRecord", @@ -215,11 +220,8 @@ symbols! { // input file registers, - record, state, state_leaf, - public, - private, } /// An interned string. From d45ab61e4012c6142041b9ec34905a412026804c Mon Sep 17 00:00:00 2001 From: collin <16715212+collinc97@users.noreply.github.com> Date: Thu, 23 Jun 2022 22:34:18 -1000 Subject: [PATCH 02/17] parse record type declaration --- compiler/ast/src/program.rs | 13 ++- compiler/ast/src/records/record_variable.rs | 11 +- compiler/parser/src/parser/file.rs | 101 ++++++++++++++++-- leo/errors/src/errors/parser/parser_errors.rs | 7 ++ leo/span/src/symbol.rs | 2 + 5 files changed, 121 insertions(+), 13 deletions(-) diff --git a/compiler/ast/src/program.rs b/compiler/ast/src/program.rs index 132b97b4c6..6e69dd66c0 100644 --- a/compiler/ast/src/program.rs +++ b/compiler/ast/src/program.rs @@ -17,7 +17,7 @@ //! A Leo program consists of import, circuit, and function definitions. //! Each defined type consists of ast statements and expressions. -use crate::{Circuit, Function, FunctionInput, Identifier}; +use crate::{Circuit, Function, FunctionInput, Identifier, Record}; use indexmap::IndexMap; use serde::{Deserialize, Serialize}; @@ -36,6 +36,8 @@ pub struct Program { pub functions: IndexMap, /// A map from circuit names to circuit definitions. pub circuits: IndexMap, + /// A map from record names to record definitions. + pub records: IndexMap, } impl AsRef for Program { @@ -50,6 +52,14 @@ impl fmt::Display for Program { function.fmt(f)?; writeln!(f,)?; } + for (_, circuit) in self.circuits.iter() { + circuit.fmt(f)?; + writeln!(f,)?; + } + for (_, record) in self.records.iter() { + record.fmt(f)?; + writeln!(f,)?; + } write!(f, "") } } @@ -62,6 +72,7 @@ impl Program { expected_input: vec![], functions: IndexMap::new(), circuits: IndexMap::new(), + records: IndexMap::new(), } } diff --git a/compiler/ast/src/records/record_variable.rs b/compiler/ast/src/records/record_variable.rs index 6671ea9149..e0de64a571 100644 --- a/compiler/ast/src/records/record_variable.rs +++ b/compiler/ast/src/records/record_variable.rs @@ -19,15 +19,20 @@ use crate::{Identifier, Type}; use serde::{Deserialize, Serialize}; use std::fmt; -#[allow(clippy::large_enum_variant)] /// A variable definition in a record; -/// For example: `foobar: u8;`. +/// For example: `owner: address;`. #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] pub struct RecordVariable { /// The identifier of the constant. ident: Identifier, /// The type the constant has. - type_: Type + type_: Type, +} + +impl RecordVariable { + pub fn new(ident: Identifier, type_: Type) -> Self { + Self { ident, type_ } + } } impl fmt::Display for RecordVariable { diff --git a/compiler/parser/src/parser/file.rs b/compiler/parser/src/parser/file.rs index d8a8c221c1..272bb7fcde 100644 --- a/compiler/parser/src/parser/file.rs +++ b/compiler/parser/src/parser/file.rs @@ -17,13 +17,14 @@ use super::*; use leo_errors::{ParserError, ParserWarning, Result}; -use leo_span::sym; +use leo_span::{sym, Symbol}; impl ParserContext<'_> { /// Returns a [`Program`] AST if all tokens can be consumed and represent a valid Leo program. pub fn parse_program(&mut self) -> Result { let mut functions = IndexMap::new(); let mut circuits = IndexMap::new(); + let mut records = IndexMap::new(); while self.has_next() { match &self.token.token { @@ -36,11 +37,14 @@ impl ParserContext<'_> { functions.insert(id, function); } Token::Ident(sym::test) => return Err(ParserError::test_function(self.token.span).into()), - // Const functions share the first token with the global Const. Token::Function => { let (id, function) = self.parse_function()?; functions.insert(id, function); } + Token::Record => { + let (id, record) = self.parse_record()?; + records.insert(id, record); + } _ => return Err(Self::unexpected_item(&self.token).into()), } @@ -50,6 +54,7 @@ impl ParserContext<'_> { expected_input: Vec::new(), functions, circuits, + records, }) } @@ -65,9 +70,9 @@ impl ParserContext<'_> { ) } - /// Returns a [`CircuitMember`] AST node if the next tokens represent a circuit member variable + /// Returns a [`Vec`] AST node if the next tokens represent a circuit member variable /// or circuit member function or circuit member constant. - pub fn parse_circuit_declaration(&mut self) -> Result<(Vec, Span)> { + pub fn parse_circuit_members(&mut self) -> Result<(Vec, Span)> { let mut members = Vec::new(); let (mut semi_colons, mut commas) = (false, false); @@ -106,7 +111,7 @@ impl ParserContext<'_> { } /// Parses `IDENT: TYPE`. - fn parse_typed_field_name(&mut self) -> Result<(Identifier, Type)> { + fn parse_member(&mut self) -> Result<(Identifier, Type)> { let name = self.expect_ident()?; self.expect(&Token::Colon)?; let type_ = self.parse_all_types()?.0; @@ -120,7 +125,7 @@ impl ParserContext<'_> { self.expect(&Token::Const)?; // `IDENT: TYPE = EXPR`: - let (_name, _type_) = self.parse_typed_field_name()?; + let (_name, _type_) = self.parse_member()?; self.expect(&Token::Assign)?; let expr = self.parse_expression()?; @@ -134,7 +139,7 @@ impl ParserContext<'_> { /// Returns a [`CircuitMember`] AST node if the next tokens represent a circuit member variable. pub fn parse_member_variable_declaration(&mut self) -> Result { - let (name, type_) = self.parse_typed_field_name()?; + let (name, type_) = self.parse_member()?; Ok(CircuitMember::CircuitVariable(name, type_)) } @@ -152,13 +157,13 @@ impl ParserContext<'_> { } } - /// Returns an [`(Identifier, Function)`] ast node if the next tokens represent a circuit declaration. + /// Returns an [`(Identifier, Circuit)`] ast node if the next tokens represent a circuit declaration. pub(super) fn parse_circuit(&mut self) -> Result<(Identifier, Circuit)> { let start = self.expect(&Token::Circuit)?; let circuit_name = self.expect_ident()?; self.expect(&Token::LeftCurly)?; - let (members, end) = self.parse_circuit_declaration()?; + let (members, end) = self.parse_circuit_members()?; Ok(( circuit_name.clone(), @@ -170,6 +175,84 @@ impl ParserContext<'_> { )) } + /// Parse the member name and type or emit an error. + /// Only used for `record` type. + /// We complete this check at parse time rather than during type checking to enforce + /// ordering, naming, and type as early as possible for program records. + fn parse_record_variable_exact(&mut self, expected_name: Symbol, expected_type: Type) -> Result { + let actual_name = self.expect_ident()?; + self.expect(&Token::Colon)?; + let actual_type = self.parse_all_types()?.0; + + if expected_name != actual_name.name || expected_type != actual_type { + return Err(ParserError::required_record_variable(expected_name, expected_type, actual_name.span()).into()); + } + + Ok(RecordVariable::new(actual_name, actual_type)) + } + + /// Returns a [`RecordVariable`] AST node if the next tokens represent a record variable. + pub fn parse_record_variable(&mut self) -> Result { + let (ident, type_) = self.parse_member()?; + + Ok(RecordVariable::new(ident, type_)) + } + + /// Returns a [`Vec`] AST node if the next tokens represent one or more + /// user defined record variables. + pub fn parse_record_data(&mut self) -> Result<(Vec, Span)> { + let mut data = Vec::new(); + + let (mut semi_colons, mut commas) = (false, false); + while !self.check(&Token::RightCurly) { + data.push({ + let variable = self.parse_record_variable()?; + + if self.eat(&Token::Semicolon) { + if commas { + self.emit_err(ParserError::mixed_commas_and_semicolons(self.token.span)); + } + semi_colons = true; + } + + if self.eat(&Token::Comma) { + if semi_colons { + self.emit_err(ParserError::mixed_commas_and_semicolons(self.token.span)); + } + commas = true; + } + + variable + }); + } + + let span = self.expect(&Token::RightCurly)?; + + Ok((data, span)) + } + + /// Returns an [`(Identifier, Circuit)`] ast node if the next tokens represent a record declaration. + pub(super) fn parse_record(&mut self) -> Result<(Identifier, Record)> { + let start = self.expect(&Token::Record)?; + let record_name = self.expect_ident()?; + + self.expect(&Token::LeftCurly)?; + let owner = self.parse_record_variable_exact(sym::owner, Type::Address)?; + let balance = self.parse_record_variable_exact(sym::balance, Type::IntegerType(IntegerType::U64))?; + let (data, end) = self.parse_record_data()?; + + Ok(( + record_name.clone(), + Record { + identifier: record_name, + owner, + balance, + data, + span: start + end, + }, + )) + } + /// Returns a [`ParamMode`] AST node if the next tokens represent a function parameter mode. pub(super) fn parse_function_parameter_mode(&mut self) -> Result { let public = self.eat(&Token::Public).then(|| self.prev_token.span); diff --git a/leo/errors/src/errors/parser/parser_errors.rs b/leo/errors/src/errors/parser/parser_errors.rs index 52bddb044f..fae9635289 100644 --- a/leo/errors/src/errors/parser/parser_errors.rs +++ b/leo/errors/src/errors/parser/parser_errors.rs @@ -389,4 +389,11 @@ create_messages!( msg: format!("Invalid associated access call to circuit {name}."), help: Some("Double colon `::` syntax is only supported for core circuits in Leo for testnet3.".to_string()), } + + @formatted + required_record_variable { + args: (name: impl Display, type_: impl Display), + msg: format!("The `record` type requires the variable `{name}: {type_}` and enforces ordering."), + help: None, + } ); diff --git a/leo/span/src/symbol.rs b/leo/span/src/symbol.rs index d6bc07d680..912c024cb6 100644 --- a/leo/span/src/symbol.rs +++ b/leo/span/src/symbol.rs @@ -210,6 +210,8 @@ symbols! { public, private, + owner, + balance, // todo: remove these. CONTAINER_PSEUDO_CIRCUIT: "$InputContainer", From 18a74cfb850b52e033812df718eb8d4763ce67d1 Mon Sep 17 00:00:00 2001 From: collin <16715212+collinc97@users.noreply.github.com> Date: Fri, 24 Jun 2022 11:47:01 -1000 Subject: [PATCH 03/17] type check record type declaration --- compiler/ast/src/passes/visitor.rs | 4 ++++ compiler/ast/src/passes/visitor_director.rs | 10 +++++++++- compiler/ast/src/records/record_variable.rs | 9 +++++++-- compiler/parser/src/parser/file.rs | 9 +++++++-- compiler/passes/src/type_checker/check_file.rs | 14 ++++++++++++++ examples/hello-world/src/main.leo | 15 ++++++++++----- leo/errors/src/errors/parser/parser_errors.rs | 7 +++++++ .../src/errors/type_checker/type_checker_error.rs | 10 ++++++++++ 8 files changed, 68 insertions(+), 10 deletions(-) diff --git a/compiler/ast/src/passes/visitor.rs b/compiler/ast/src/passes/visitor.rs index 32d53215ab..5debefbe75 100644 --- a/compiler/ast/src/passes/visitor.rs +++ b/compiler/ast/src/passes/visitor.rs @@ -117,4 +117,8 @@ pub trait ProgramVisitor<'a> { fn visit_circuit(&mut self, _input: &'a Circuit) -> VisitResult { Default::default() } + + fn visit_record(&mut self, _input: &'a Record) -> VisitResult { + Default::default() + } } diff --git a/compiler/ast/src/passes/visitor_director.rs b/compiler/ast/src/passes/visitor_director.rs index 8288e1929d..7df85c34f2 100644 --- a/compiler/ast/src/passes/visitor_director.rs +++ b/compiler/ast/src/passes/visitor_director.rs @@ -238,9 +238,17 @@ pub trait ProgramVisitorDirector<'a>: VisitorDirector<'a> + StatementVisitorDire if let VisitResult::VisitChildren = self.visitor_ref().visit_circuit(input) { input.members.iter().for_each(|member| { match member { - CircuitMember::CircuitVariable(_, _) => {} + CircuitMember::CircuitVariable(ident, _) => self.visit_identifier(ident, &Default::default()), }; }) } } + + fn visit_record(&mut self, input: &'a Record) { + if let VisitResult::VisitChildren = self.visitor_ref().visit_record(input) { + input.data.iter().for_each(|variable| { + self.visit_identifier(&variable.ident, &Default::default()); + }) + } + } } diff --git a/compiler/ast/src/records/record_variable.rs b/compiler/ast/src/records/record_variable.rs index e0de64a571..d87d95b4c1 100644 --- a/compiler/ast/src/records/record_variable.rs +++ b/compiler/ast/src/records/record_variable.rs @@ -15,6 +15,7 @@ // along with the Leo library. If not, see . use crate::{Identifier, Type}; +use leo_span::Symbol; use serde::{Deserialize, Serialize}; use std::fmt; @@ -24,15 +25,19 @@ use std::fmt; #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] pub struct RecordVariable { /// The identifier of the constant. - ident: Identifier, + pub ident: Identifier, /// The type the constant has. - type_: Type, + pub type_: Type, } impl RecordVariable { pub fn new(ident: Identifier, type_: Type) -> Self { Self { ident, type_ } } + + pub fn name(&self) -> Symbol { + return self.ident.name + } } impl fmt::Display for RecordVariable { diff --git a/compiler/parser/src/parser/file.rs b/compiler/parser/src/parser/file.rs index 272bb7fcde..e2d86e0ea6 100644 --- a/compiler/parser/src/parser/file.rs +++ b/compiler/parser/src/parser/file.rs @@ -185,7 +185,12 @@ impl ParserContext<'_> { let actual_type = self.parse_all_types()?.0; if expected_name != actual_name.name || expected_type != actual_type { - return Err(ParserError::required_record_variable(expected_name, expected_type, actual_name.span()).into()); + self.emit_err(ParserError::required_record_variable(expected_name, expected_type, actual_name.span()).into()); + } + + // Emit an error for a record variable without an ending comma or semicolon. + if !(self.eat(&Token::Comma) || self.eat(&Token::Semicolon)) { + self.emit_err(ParserError::expected_ending_comma_or_semicolon(actual_name.span()).into()); } Ok(RecordVariable::new(actual_name, actual_type)) @@ -231,7 +236,7 @@ impl ParserContext<'_> { Ok((data, span)) } - /// Returns an [`(Identifier, Circuit)`] ast node if the next tokens represent a record declaration. + /// Returns an [`(Identifier, Record)`] ast node if the next tokens represent a record declaration. pub(super) fn parse_record(&mut self) -> Result<(Identifier, Record)> { let start = self.expect(&Token::Record)?; let record_name = self.expect_ident()?; diff --git a/compiler/passes/src/type_checker/check_file.rs b/compiler/passes/src/type_checker/check_file.rs index 730a5990c4..fa4c8e136f 100644 --- a/compiler/passes/src/type_checker/check_file.rs +++ b/compiler/passes/src/type_checker/check_file.rs @@ -66,4 +66,18 @@ impl<'a> ProgramVisitorDirector<'a> for Director<'a> { } } } + + fn visit_record(&mut self, input: &'a Record) { + if let VisitResult::VisitChildren = self.visitor_ref().visit_record(input) { + // Check for conflicting record member names. + let mut used = HashSet::new(); + used.insert(input.owner.ident.name); + used.insert(input.balance.ident.name); + if !input.data.iter().all(|member| used.insert(member.name())) { + self.visitor + .handler + .emit_err(TypeCheckerError::duplicate_record_variable(input.name(), input.span()).into()); + } + } + } } diff --git a/examples/hello-world/src/main.leo b/examples/hello-world/src/main.leo index 33952ab765..065bdc8447 100644 --- a/examples/hello-world/src/main.leo +++ b/examples/hello-world/src/main.leo @@ -1,8 +1,13 @@ -circuit Foo { - x: u8, - y: u8, + +record Token { + // The token owner. + owner: address, + // The Aleo balance (in gates). + balance: u64, + // The token amount. + amount: u64, } -function main(a: u8) -> field { - return BHP256::hash(a); +function main(a: u8) -> group { + return Pedersen64::hash(a); } \ No newline at end of file diff --git a/leo/errors/src/errors/parser/parser_errors.rs b/leo/errors/src/errors/parser/parser_errors.rs index fae9635289..56c8b47ad6 100644 --- a/leo/errors/src/errors/parser/parser_errors.rs +++ b/leo/errors/src/errors/parser/parser_errors.rs @@ -396,4 +396,11 @@ create_messages!( msg: format!("The `record` type requires the variable `{name}: {type_}` and enforces ordering."), help: None, } + + @formatted + expected_ending_comma_or_semicolon { + args: (), + msg: format!("Expected an ending comma or semicolon for the record variable"), + help: None, + } ); diff --git a/leo/errors/src/errors/type_checker/type_checker_error.rs b/leo/errors/src/errors/type_checker/type_checker_error.rs index 6e9b0c7522..9a1454f7fa 100644 --- a/leo/errors/src/errors/type_checker/type_checker_error.rs +++ b/leo/errors/src/errors/type_checker/type_checker_error.rs @@ -211,6 +211,16 @@ create_messages!( help: None, } + /// Attempted to define more that one record variable with the same name. + @formatted + duplicate_record_variable { + args: (record: impl Display), + msg: format!( + "Record {record} defined with more than one variable with the same name." + ), + help: None, + } + /// Attempted to access an invalid circuit. @formatted invalid_circuit { From 21c6a2167a9475f5d37535606ed6bd349843aab1 Mon Sep 17 00:00:00 2001 From: collin <16715212+collinc97@users.noreply.github.com> Date: Sun, 26 Jun 2022 10:46:32 -1000 Subject: [PATCH 04/17] type check record init expressions --- compiler/ast/src/expressions/mod.rs | 2 +- compiler/ast/src/passes/visitor_director.rs | 1 + compiler/ast/src/records/record_variable.rs | 2 +- compiler/parser/src/parser/expression.rs | 14 +---- compiler/parser/src/parser/file.rs | 4 +- compiler/parser/src/tokenizer/token.rs | 4 -- compiler/passes/src/symbol_table/create.rs | 7 +++ compiler/passes/src/symbol_table/table.rs | 30 ++++++++- .../src/type_checker/check_expressions.rs | 63 ++++++++++++++++++- .../passes/src/type_checker/check_file.rs | 1 + compiler/passes/src/type_checker/checker.rs | 2 +- examples/hello-world/src/main.leo | 13 ++-- examples/token/src/main.leo | 2 +- leo/errors/src/errors/ast/ast_errors.rs | 8 +++ .../errors/type_checker/type_checker_error.rs | 10 +++ 15 files changed, 135 insertions(+), 28 deletions(-) diff --git a/compiler/ast/src/expressions/mod.rs b/compiler/ast/src/expressions/mod.rs index b1a52e6dcf..4fcca54b4b 100644 --- a/compiler/ast/src/expressions/mod.rs +++ b/compiler/ast/src/expressions/mod.rs @@ -57,7 +57,7 @@ pub enum Expression { Binary(BinaryExpression), /// A call expression, e.g., `my_fun(args)`. Call(CallExpression), - /// An expression constructing a structure like `Foo { bar: 42, baz }`. + /// An expression constructing a circuit like `Foo { bar: 42, baz }`. CircuitInit(CircuitInitExpression), /// An expression of type "error". /// Will result in a compile error eventually. diff --git a/compiler/ast/src/passes/visitor_director.rs b/compiler/ast/src/passes/visitor_director.rs index 7df85c34f2..8eb633da4d 100644 --- a/compiler/ast/src/passes/visitor_director.rs +++ b/compiler/ast/src/passes/visitor_director.rs @@ -225,6 +225,7 @@ pub trait ProgramVisitorDirector<'a>: VisitorDirector<'a> + StatementVisitorDire .values() .for_each(|function| self.visit_function(function)); input.circuits.values().for_each(|circuit| self.visit_circuit(circuit)); + input.records.values().for_each(|record| self.visit_record(record)); } } diff --git a/compiler/ast/src/records/record_variable.rs b/compiler/ast/src/records/record_variable.rs index d87d95b4c1..8b944503b3 100644 --- a/compiler/ast/src/records/record_variable.rs +++ b/compiler/ast/src/records/record_variable.rs @@ -36,7 +36,7 @@ impl RecordVariable { } pub fn name(&self) -> Symbol { - return self.ident.name + return self.ident.name; } } diff --git a/compiler/parser/src/parser/expression.rs b/compiler/parser/src/parser/expression.rs index b56a69719c..1cdf2233e7 100644 --- a/compiler/parser/src/parser/expression.rs +++ b/compiler/parser/src/parser/expression.rs @@ -16,7 +16,6 @@ use super::*; use leo_errors::{ParserError, Result}; -use leo_span::sym; use snarkvm_dpc::{prelude::Address, testnet2::Testnet2}; @@ -537,17 +536,8 @@ impl ParserContext<'_> { Token::Ident(name) => { let ident = Identifier { name, span }; if !self.disallow_circuit_construction && self.check(&Token::LeftCurly) { - self.parse_circuit_expression(ident)? - } else { - Expression::Identifier(ident) - } - } - Token::SelfUpper => { - let ident = Identifier { - name: sym::SelfUpper, - span, - }; - if !self.disallow_circuit_construction && self.check(&Token::LeftCurly) { + // Parse circuit and records inits as circuit expressions. + // Enforce circuit or record type later at type checking. self.parse_circuit_expression(ident)? } else { Expression::Identifier(ident) diff --git a/compiler/parser/src/parser/file.rs b/compiler/parser/src/parser/file.rs index e2d86e0ea6..59b2f66491 100644 --- a/compiler/parser/src/parser/file.rs +++ b/compiler/parser/src/parser/file.rs @@ -185,7 +185,9 @@ impl ParserContext<'_> { let actual_type = self.parse_all_types()?.0; if expected_name != actual_name.name || expected_type != actual_type { - self.emit_err(ParserError::required_record_variable(expected_name, expected_type, actual_name.span()).into()); + self.emit_err( + ParserError::required_record_variable(expected_name, expected_type, actual_name.span()).into(), + ); } // Emit an error for a record variable without an ending comma or semicolon. diff --git a/compiler/parser/src/tokenizer/token.rs b/compiler/parser/src/tokenizer/token.rs index 71a661e6df..965e98fbf9 100644 --- a/compiler/parser/src/tokenizer/token.rs +++ b/compiler/parser/src/tokenizer/token.rs @@ -89,7 +89,6 @@ pub enum Token { U32, U64, U128, - SelfUpper, Record, // Regular Keywords @@ -144,7 +143,6 @@ pub const KEYWORD_TOKENS: &[Token] = &[ Token::Record, Token::Return, Token::SelfLower, - Token::SelfUpper, Token::Scalar, Token::Static, Token::String, @@ -190,7 +188,6 @@ impl Token { Token::Return => sym::Return, Token::Scalar => sym::scalar, Token::SelfLower => sym::SelfLower, - Token::SelfUpper => sym::SelfUpper, Token::Static => sym::Static, Token::String => sym::string, Token::True => sym::True, @@ -270,7 +267,6 @@ impl fmt::Display for Token { U32 => write!(f, "u32"), U64 => write!(f, "u64"), U128 => write!(f, "u128"), - SelfUpper => write!(f, "Self"), Record => write!(f, "record"), Circuit => write!(f, "circuit"), diff --git a/compiler/passes/src/symbol_table/create.rs b/compiler/passes/src/symbol_table/create.rs index c13fc8c0e0..bd537484db 100644 --- a/compiler/passes/src/symbol_table/create.rs +++ b/compiler/passes/src/symbol_table/create.rs @@ -54,4 +54,11 @@ impl<'a> ProgramVisitor<'a> for CreateSymbolTable<'a> { } VisitResult::SkipChildren } + + fn visit_record(&mut self, input: &'a Record) -> VisitResult { + if let Err(err) = self.symbol_table.insert_record(input.name(), input) { + self.handler.emit_err(err); + } + VisitResult::SkipChildren + } } diff --git a/compiler/passes/src/symbol_table/table.rs b/compiler/passes/src/symbol_table/table.rs index 9402e2d2a1..e8e494bb42 100644 --- a/compiler/passes/src/symbol_table/table.rs +++ b/compiler/passes/src/symbol_table/table.rs @@ -16,7 +16,7 @@ use std::fmt::Display; -use leo_ast::{Circuit, Function}; +use leo_ast::{Circuit, Function, Record}; use leo_errors::{AstError, Result}; use leo_span::{Span, Symbol}; @@ -32,6 +32,9 @@ pub struct SymbolTable<'a> { /// Maps circuit names to circuit definitions. /// This field is populated at a first pass. circuits: IndexMap, + /// Maps record names to record definitions. + /// This field is populated at a first pass. + records: IndexMap, /// Variables represents functions variable definitions and input variables. /// This field is not populated till necessary. pub(crate) variables: VariableScope<'a>, @@ -62,10 +65,27 @@ impl<'a> SymbolTable<'a> { // Return an error if the circuit name has already been inserted. return Err(AstError::shadowed_circuit(symbol, insert.span).into()); } + if self.records.contains_key(&symbol) { + // Return an error if the record name has already been inserted. + return Err(AstError::shadowed_record(symbol, insert.span).into()); + } self.circuits.insert(symbol, insert); Ok(()) } + pub fn insert_record(&mut self, symbol: Symbol, insert: &'a Record) -> Result<()> { + if self.circuits.contains_key(&symbol) { + // Return an error if the circuit name has already been inserted. + return Err(AstError::shadowed_circuit(symbol, insert.span).into()); + } + if self.records.contains_key(&symbol) { + // Return an error if the record name has already been inserted. + return Err(AstError::shadowed_record(symbol, insert.span).into()); + } + self.records.insert(symbol, insert); + Ok(()) + } + pub fn insert_variable(&mut self, symbol: Symbol, insert: VariableSymbol<'a>) -> Result<()> { self.check_shadowing(symbol, insert.span)?; self.variables.variables.insert(symbol, insert); @@ -80,6 +100,10 @@ impl<'a> SymbolTable<'a> { self.circuits.get(symbol) } + pub fn lookup_record(&self, symbol: &Symbol) -> Option<&&'a Record> { + self.records.get(symbol) + } + pub fn lookup_variable(&self, symbol: &Symbol) -> Option<&VariableSymbol<'a>> { self.variables.lookup_variable(symbol) } @@ -111,6 +135,10 @@ impl<'a> Display for SymbolTable<'a> { write!(f, "{circ}")?; } + for rec in self.records.values() { + write!(f, "{rec}")?; + } + write!(f, "{}", self.variables) } } diff --git a/compiler/passes/src/type_checker/check_expressions.rs b/compiler/passes/src/type_checker/check_expressions.rs index 8744d7e172..67c2ffabc5 100644 --- a/compiler/passes/src/type_checker/check_expressions.rs +++ b/compiler/passes/src/type_checker/check_expressions.rs @@ -70,6 +70,12 @@ impl<'a> ExpressionVisitorDirector<'a> for Director<'a> { expected, circuit.span(), )); + } else if let Some(record) = self.visitor.symbol_table.clone().lookup_record(&var.name) { + return Some(self.visitor.assert_expected_option( + Type::Identifier(record.identifier.clone()), + expected, + record.span(), + )); } else if let VisitResult::VisitChildren = self.visitor.visit_identifier(var) { if let Some(var) = self.visitor.symbol_table.clone().lookup_variable(&var.name) { return Some(self.visitor.assert_expected_option(*var.type_, expected, var.span)); @@ -624,7 +630,62 @@ impl<'a> ExpressionVisitorDirector<'a> for Director<'a> { input: &'a CircuitInitExpression, additional: &Self::AdditionalInput, ) -> Option { - if let Some(circ) = self.visitor.symbol_table.clone().lookup_circuit(&input.name.name) { + // Type check record init expression. + if let Some(expected) = self.visitor.symbol_table.clone().lookup_record(&input.name.name) { + // Check record type name. + let ret = self + .visitor + .assert_expected_circuit(expected.identifier, additional, input.name.span()); + + // Check number of record data variables. + if expected.data.len() != input.members.len() - 2 { + self.visitor.handler.emit_err( + TypeCheckerError::incorrect_num_record_variables( + expected.data.len(), + input.members.len(), + input.span(), + ) + .into(), + ); + } + + // Check record variable types. + input.members.iter().for_each(|actual| { + // Check record owner. + if actual.identifier.matches(&expected.owner.ident) { + if let Some(owner_expr) = &actual.expression { + self.visit_expression(owner_expr, &Some(Type::Address)); + } + } + + // Check record balance. + if actual.identifier.matches(&expected.balance.ident) { + if let Some(balance_expr) = &actual.expression { + self.visit_expression(balance_expr, &Some(Type::IntegerType(IntegerType::U64))); + } + } + + // Check record data variable. + if let Some(expected_var) = expected + .data + .iter() + .find(|member| member.ident.matches(&actual.identifier)) + { + if let Some(var_expr) = &actual.expression { + self.visit_expression(var_expr, &Some(expected_var.type_)); + } + } else { + self.visitor.handler.emit_err( + TypeCheckerError::unknown_sym("record variable", actual.identifier, actual.identifier.span()) + .into(), + ); + } + }); + + Some(ret) + } else if let Some(circ) = self.visitor.symbol_table.clone().lookup_circuit(&input.name.name) { + // Type check circuit init expression. + // Check circuit type name. let ret = self .visitor diff --git a/compiler/passes/src/type_checker/check_file.rs b/compiler/passes/src/type_checker/check_file.rs index fa4c8e136f..66c0c186d0 100644 --- a/compiler/passes/src/type_checker/check_file.rs +++ b/compiler/passes/src/type_checker/check_file.rs @@ -68,6 +68,7 @@ impl<'a> ProgramVisitorDirector<'a> for Director<'a> { } fn visit_record(&mut self, input: &'a Record) { + println!("visit record"); if let VisitResult::VisitChildren = self.visitor_ref().visit_record(input) { // Check for conflicting record member names. let mut used = HashSet::new(); diff --git a/compiler/passes/src/type_checker/checker.rs b/compiler/passes/src/type_checker/checker.rs index d59457bee9..034eb787a5 100644 --- a/compiler/passes/src/type_checker/checker.rs +++ b/compiler/passes/src/type_checker/checker.rs @@ -147,7 +147,7 @@ impl<'a> TypeChecker<'a> { /// Returns the `circuit` type and emits an error if the `expected` type does not match. pub(crate) fn assert_expected_circuit(&mut self, circuit: Identifier, expected: &Option, span: Span) -> Type { if let Some(Type::Identifier(expected)) = expected { - if expected.name != circuit.name { + if !circuit.matches(expected) { self.handler .emit_err(TypeCheckerError::type_should_be(circuit.name, expected.name, span).into()); } diff --git a/examples/hello-world/src/main.leo b/examples/hello-world/src/main.leo index 065bdc8447..14548f4501 100644 --- a/examples/hello-world/src/main.leo +++ b/examples/hello-world/src/main.leo @@ -1,13 +1,16 @@ -record Token { +circuit Token { // The token owner. - owner: address, - // The Aleo balance (in gates). balance: u64, - // The token amount. - amount: u64, + data: u64 +} + +function mint() -> Token { + let tok: Token = Token { balance: 1u64, data: 1u64}; + return tok; } function main(a: u8) -> group { + return Pedersen64::hash(a); } \ No newline at end of file diff --git a/examples/token/src/main.leo b/examples/token/src/main.leo index aa55207da6..d7adbc5b55 100644 --- a/examples/token/src/main.leo +++ b/examples/token/src/main.leo @@ -42,7 +42,7 @@ function transfer(r0: Token, r1: Receiver) -> Token { let r4: Token = mint(r0.owner, r0.amount); // return (r3, r4); - return r3 + return r3; } function main() -> u8 { diff --git a/leo/errors/src/errors/ast/ast_errors.rs b/leo/errors/src/errors/ast/ast_errors.rs index 6e751086e8..e58f21e12f 100644 --- a/leo/errors/src/errors/ast/ast_errors.rs +++ b/leo/errors/src/errors/ast/ast_errors.rs @@ -155,6 +155,14 @@ create_messages!( help: None, } + /// For when a user shadows a record. + @formatted + shadowed_record { + args: (record: impl Display), + msg: format!("record `{record}` shadowed by"), + help: None, + } + /// For when a user shadows a variable. @formatted shadowed_variable { diff --git a/leo/errors/src/errors/type_checker/type_checker_error.rs b/leo/errors/src/errors/type_checker/type_checker_error.rs index 9a1454f7fa..6c8992c2b1 100644 --- a/leo/errors/src/errors/type_checker/type_checker_error.rs +++ b/leo/errors/src/errors/type_checker/type_checker_error.rs @@ -191,6 +191,16 @@ create_messages!( help: None, } + /// For when the user tries initialize a circuit with the incorrect number of args. + @formatted + incorrect_num_record_variables { + args: (expected: impl Display, received: impl Display), + msg: format!( + "Record expected `{expected}` variables, but got `{received}`", + ), + help: None, + } + /// An invalid access call is made e.g., `bool::MAX` @formatted invalid_access_expression { From df8ee1a1f90f322ab65159c5d05cff834dc028ae Mon Sep 17 00:00:00 2001 From: collin <16715212+collinc97@users.noreply.github.com> Date: Sun, 26 Jun 2022 15:13:58 -1000 Subject: [PATCH 05/17] fix type checking bugs --- compiler/ast/src/types/type_.rs | 2 +- .../src/type_checker/check_expressions.rs | 42 +++++++++---------- .../passes/src/type_checker/check_file.rs | 1 - compiler/passes/src/type_checker/checker.rs | 4 +- examples/hello-world/src/main.leo | 13 ------ 5 files changed, 22 insertions(+), 40 deletions(-) diff --git a/compiler/ast/src/types/type_.rs b/compiler/ast/src/types/type_.rs index 0ff6884cfd..7535fc221f 100644 --- a/compiler/ast/src/types/type_.rs +++ b/compiler/ast/src/types/type_.rs @@ -60,7 +60,7 @@ impl Type { | (Type::Scalar, Type::Scalar) | (Type::String, Type::String) => true, (Type::IntegerType(left), Type::IntegerType(right)) => left.eq(right), - (Type::Identifier(left), Type::Identifier(right)) => left.eq(right), + (Type::Identifier(left), Type::Identifier(right)) => left.matches(right), _ => false, } } diff --git a/compiler/passes/src/type_checker/check_expressions.rs b/compiler/passes/src/type_checker/check_expressions.rs index 67c2ffabc5..2388b8a43b 100644 --- a/compiler/passes/src/type_checker/check_expressions.rs +++ b/compiler/passes/src/type_checker/check_expressions.rs @@ -64,20 +64,20 @@ impl<'a> ExpressionVisitorDirector<'a> for Director<'a> { } fn visit_identifier(&mut self, var: &'a Identifier, expected: &Self::AdditionalInput) -> Option { - if let Some(circuit) = self.visitor.symbol_table.clone().lookup_circuit(&var.name) { - return Some(self.visitor.assert_expected_option( - Type::Identifier(circuit.identifier.clone()), - expected, - circuit.span(), - )); - } else if let Some(record) = self.visitor.symbol_table.clone().lookup_record(&var.name) { - return Some(self.visitor.assert_expected_option( - Type::Identifier(record.identifier.clone()), - expected, - record.span(), - )); - } else if let VisitResult::VisitChildren = self.visitor.visit_identifier(var) { - if let Some(var) = self.visitor.symbol_table.clone().lookup_variable(&var.name) { + if let VisitResult::VisitChildren = self.visitor.visit_identifier(var) { + if let Some(circuit) = self.visitor.symbol_table.clone().lookup_circuit(&var.name) { + return Some(self.visitor.assert_expected_option( + Type::Identifier(circuit.identifier.clone()), + expected, + circuit.span(), + )); + } else if let Some(record) = self.visitor.symbol_table.clone().lookup_record(&var.name) { + return Some(self.visitor.assert_expected_option( + Type::Identifier(record.identifier.clone()), + expected, + record.span(), + )); + } else if let Some(var) = self.visitor.symbol_table.clone().lookup_variable(&var.name) { return Some(self.visitor.assert_expected_option(*var.type_, expected, var.span)); } else { self.visitor @@ -651,26 +651,22 @@ impl<'a> ExpressionVisitorDirector<'a> for Director<'a> { // Check record variable types. input.members.iter().for_each(|actual| { - // Check record owner. if actual.identifier.matches(&expected.owner.ident) { + // Check record owner. if let Some(owner_expr) = &actual.expression { self.visit_expression(owner_expr, &Some(Type::Address)); } - } - - // Check record balance. - if actual.identifier.matches(&expected.balance.ident) { + } else if actual.identifier.matches(&expected.balance.ident) { + // Check record balance. if let Some(balance_expr) = &actual.expression { self.visit_expression(balance_expr, &Some(Type::IntegerType(IntegerType::U64))); } - } - - // Check record data variable. - if let Some(expected_var) = expected + } else if let Some(expected_var) = expected .data .iter() .find(|member| member.ident.matches(&actual.identifier)) { + // Check record data variable. if let Some(var_expr) = &actual.expression { self.visit_expression(var_expr, &Some(expected_var.type_)); } diff --git a/compiler/passes/src/type_checker/check_file.rs b/compiler/passes/src/type_checker/check_file.rs index 66c0c186d0..fa4c8e136f 100644 --- a/compiler/passes/src/type_checker/check_file.rs +++ b/compiler/passes/src/type_checker/check_file.rs @@ -68,7 +68,6 @@ impl<'a> ProgramVisitorDirector<'a> for Director<'a> { } fn visit_record(&mut self, input: &'a Record) { - println!("visit record"); if let VisitResult::VisitChildren = self.visitor_ref().visit_record(input) { // Check for conflicting record member names. let mut used = HashSet::new(); diff --git a/compiler/passes/src/type_checker/checker.rs b/compiler/passes/src/type_checker/checker.rs index 034eb787a5..79c902f6c2 100644 --- a/compiler/passes/src/type_checker/checker.rs +++ b/compiler/passes/src/type_checker/checker.rs @@ -159,7 +159,7 @@ impl<'a> TypeChecker<'a> { /// Returns the given `actual` type and emits an error if the `expected` type does not match. pub(crate) fn assert_expected_option(&mut self, actual: Type, expected: &Option, span: Span) -> Type { if let Some(expected) = expected { - if &actual != expected { + if !actual.eq_flat(expected) { self.handler .emit_err(TypeCheckerError::type_should_be(actual, expected, span).into()); } @@ -172,7 +172,7 @@ impl<'a> TypeChecker<'a> { /// `span` should be the location of the expected type. pub(crate) fn assert_expected_type(&mut self, actual: &Option, expected: Type, span: Span) -> Type { if let Some(actual) = actual { - if actual != &expected { + if !actual.eq_flat(&expected) { self.handler .emit_err(TypeCheckerError::type_should_be(actual, expected, span).into()); } diff --git a/examples/hello-world/src/main.leo b/examples/hello-world/src/main.leo index 14548f4501..71fb309009 100644 --- a/examples/hello-world/src/main.leo +++ b/examples/hello-world/src/main.leo @@ -1,16 +1,3 @@ - -circuit Token { - // The token owner. - balance: u64, - data: u64 -} - -function mint() -> Token { - let tok: Token = Token { balance: 1u64, data: 1u64}; - return tok; -} - function main(a: u8) -> group { - return Pedersen64::hash(a); } \ No newline at end of file From 557cdf15c3ff21516cb3e3fba46e44cf14f79aa8 Mon Sep 17 00:00:00 2001 From: Alessandro Coglio Date: Mon, 27 Jun 2022 11:26:34 -0700 Subject: [PATCH 06/17] [ABNF] Add syntax for record types. --- docs/grammar/abnf-grammar.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/grammar/abnf-grammar.txt b/docs/grammar/abnf-grammar.txt index c92ac0cb22..a9bf424a9b 100644 --- a/docs/grammar/abnf-grammar.txt +++ b/docs/grammar/abnf-grammar.txt @@ -96,6 +96,7 @@ keyword = %s"address" / %s"in" / %s"let" / %s"public" + / %s"record" / %s"return" / %s"scalar" / %s"string" @@ -393,8 +394,13 @@ circuit-declaration = %s"circuit" "{" circuit-component-declaration circuit-component-declaration = identifier ":" type +record-declaration = %s"record" "{" circuit-component-declaration + *( "," circuit-component-declaration ) + [ "," ] "}" + declaration = function-declaration / circuit-declaration + / record-declaration file = *declaration From 6933d5d9da6e61939b04b5f0933fafbbb54eed57 Mon Sep 17 00:00:00 2001 From: collin <16715212+collinc97@users.noreply.github.com> Date: Mon, 27 Jun 2022 09:44:49 -1000 Subject: [PATCH 07/17] cargo clippy --- compiler/ast/src/records/record_variable.rs | 2 +- compiler/parser/src/parser/file.rs | 12 ++++++------ .../passes/src/type_checker/check_expressions.rs | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/compiler/ast/src/records/record_variable.rs b/compiler/ast/src/records/record_variable.rs index 8b944503b3..afefcdfdc3 100644 --- a/compiler/ast/src/records/record_variable.rs +++ b/compiler/ast/src/records/record_variable.rs @@ -36,7 +36,7 @@ impl RecordVariable { } pub fn name(&self) -> Symbol { - return self.ident.name; + self.ident.name } } diff --git a/compiler/parser/src/parser/file.rs b/compiler/parser/src/parser/file.rs index 59b2f66491..e784e3efaf 100644 --- a/compiler/parser/src/parser/file.rs +++ b/compiler/parser/src/parser/file.rs @@ -150,10 +150,10 @@ impl ParserContext<'_> { // CAUTION: function members are unstable for testnet3. let function = self.parse_function()?; - return Err(ParserError::circuit_functions_unstable(function.1.span()).into()); + Err(ParserError::circuit_functions_unstable(function.1.span()).into()) // Ok(CircuitMember::CircuitFunction(Box::new(function.1))) } else { - return Err(Self::unexpected_item(&self.token).into()); + Err(Self::unexpected_item(&self.token).into()) } } @@ -166,7 +166,7 @@ impl ParserContext<'_> { let (members, end) = self.parse_circuit_members()?; Ok(( - circuit_name.clone(), + circuit_name, Circuit { identifier: circuit_name, members, @@ -186,13 +186,13 @@ impl ParserContext<'_> { if expected_name != actual_name.name || expected_type != actual_type { self.emit_err( - ParserError::required_record_variable(expected_name, expected_type, actual_name.span()).into(), + ParserError::required_record_variable(expected_name, expected_type, actual_name.span()), ); } // Emit an error for a record variable without an ending comma or semicolon. if !(self.eat(&Token::Comma) || self.eat(&Token::Semicolon)) { - self.emit_err(ParserError::expected_ending_comma_or_semicolon(actual_name.span()).into()); + self.emit_err(ParserError::expected_ending_comma_or_semicolon(actual_name.span())); } Ok(RecordVariable::new(actual_name, actual_type)) @@ -249,7 +249,7 @@ impl ParserContext<'_> { let (data, end) = self.parse_record_data()?; Ok(( - record_name.clone(), + record_name, Record { identifier: record_name, owner, diff --git a/compiler/passes/src/type_checker/check_expressions.rs b/compiler/passes/src/type_checker/check_expressions.rs index 2388b8a43b..c3b01d6802 100644 --- a/compiler/passes/src/type_checker/check_expressions.rs +++ b/compiler/passes/src/type_checker/check_expressions.rs @@ -67,13 +67,13 @@ impl<'a> ExpressionVisitorDirector<'a> for Director<'a> { if let VisitResult::VisitChildren = self.visitor.visit_identifier(var) { if let Some(circuit) = self.visitor.symbol_table.clone().lookup_circuit(&var.name) { return Some(self.visitor.assert_expected_option( - Type::Identifier(circuit.identifier.clone()), + Type::Identifier(circuit.identifier), expected, circuit.span(), )); } else if let Some(record) = self.visitor.symbol_table.clone().lookup_record(&var.name) { return Some(self.visitor.assert_expected_option( - Type::Identifier(record.identifier.clone()), + Type::Identifier(record.identifier), expected, record.span(), )); From a58edee122d98ca0df579fb45ba1338048d3be45 Mon Sep 17 00:00:00 2001 From: collin <16715212+collinc97@users.noreply.github.com> Date: Mon, 27 Jun 2022 12:50:23 -1000 Subject: [PATCH 08/17] cargo clippy --- compiler/parser/src/parser/file.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/compiler/parser/src/parser/file.rs b/compiler/parser/src/parser/file.rs index e784e3efaf..4ad9bba03c 100644 --- a/compiler/parser/src/parser/file.rs +++ b/compiler/parser/src/parser/file.rs @@ -185,9 +185,11 @@ impl ParserContext<'_> { let actual_type = self.parse_all_types()?.0; if expected_name != actual_name.name || expected_type != actual_type { - self.emit_err( - ParserError::required_record_variable(expected_name, expected_type, actual_name.span()), - ); + self.emit_err(ParserError::required_record_variable( + expected_name, + expected_type, + actual_name.span(), + )); } // Emit an error for a record variable without an ending comma or semicolon. From 90aae4013853aaa98f1105cdf2235a058f1a4567 Mon Sep 17 00:00:00 2001 From: collin <16715212+collinc97@users.noreply.github.com> Date: Mon, 27 Jun 2022 12:51:24 -1000 Subject: [PATCH 09/17] regen tests --- tests/expectations/compiler/compiler/address/binary.out | 2 +- tests/expectations/compiler/compiler/address/branch.out | 2 +- tests/expectations/compiler/compiler/address/equal.out | 2 +- tests/expectations/compiler/compiler/address/ternary.out | 2 +- tests/expectations/compiler/compiler/boolean/and.out | 2 +- tests/expectations/compiler/compiler/boolean/conditional.out | 2 +- tests/expectations/compiler/compiler/boolean/equal.out | 2 +- tests/expectations/compiler/compiler/boolean/not_equal.out | 2 +- .../expectations/compiler/compiler/boolean/operator_methods.out | 2 +- tests/expectations/compiler/compiler/boolean/or.out | 2 +- tests/expectations/compiler/compiler/char/string.out | 2 +- .../compiler/compiler/circuits/duplicate_circuit_variable.out | 2 +- .../compiler/compiler/circuits/duplicate_name_context.out | 2 +- tests/expectations/compiler/compiler/circuits/inline.out | 2 +- .../compiler/compiler/circuits/inline_member_pass.out | 2 +- .../expectations/compiler/compiler/circuits/member_variable.out | 2 +- tests/expectations/compiler/compiler/console/assert.out | 2 +- .../compiler/compiler/console/conditional_assert.out | 2 +- tests/expectations/compiler/compiler/console/error.out | 2 +- tests/expectations/compiler/compiler/console/log.out | 2 +- .../expectations/compiler/compiler/console/log_conditional.out | 2 +- tests/expectations/compiler/compiler/console/log_input.out | 2 +- tests/expectations/compiler/compiler/console/log_parameter.out | 2 +- .../compiler/compiler/console/log_parameter_many.out | 2 +- tests/expectations/compiler/compiler/core/account/record.out | 2 +- tests/expectations/compiler/compiler/core/algorithms/bhp.out | 2 +- .../expectations/compiler/compiler/core/algorithms/pedersen.out | 2 +- .../expectations/compiler/compiler/core/algorithms/poseidon.out | 2 +- .../expectations/compiler/compiler/definition/out_of_order.out | 2 +- tests/expectations/compiler/compiler/field/add.out | 2 +- tests/expectations/compiler/compiler/field/div.out | 2 +- tests/expectations/compiler/compiler/field/eq.out | 2 +- tests/expectations/compiler/compiler/field/field.out | 2 +- tests/expectations/compiler/compiler/field/mul.out | 2 +- tests/expectations/compiler/compiler/field/negate.out | 2 +- tests/expectations/compiler/compiler/field/operator_methods.out | 2 +- tests/expectations/compiler/compiler/field/pow.out | 2 +- tests/expectations/compiler/compiler/field/sub.out | 2 +- tests/expectations/compiler/compiler/field/ternary.out | 2 +- .../compiler/compiler/function/conditional_return.out | 2 +- .../compiler/compiler/function/duplicate_parameter_fail.out | 2 +- tests/expectations/compiler/compiler/function/iteration.out | 2 +- .../compiler/compiler/function/iteration_repeated.out | 2 +- tests/expectations/compiler/compiler/function/repeated.out | 2 +- tests/expectations/compiler/compiler/function/return.out | 2 +- tests/expectations/compiler/compiler/group/add.out | 2 +- tests/expectations/compiler/compiler/group/assert_eq.out | 2 +- tests/expectations/compiler/compiler/group/both_sign_high.out | 2 +- .../expectations/compiler/compiler/group/both_sign_inferred.out | 2 +- tests/expectations/compiler/compiler/group/both_sign_low.out | 2 +- tests/expectations/compiler/compiler/group/eq.out | 2 +- tests/expectations/compiler/compiler/group/input.out | 2 +- tests/expectations/compiler/compiler/group/mult_by_scalar.out | 2 +- tests/expectations/compiler/compiler/group/negate.out | 2 +- tests/expectations/compiler/compiler/group/one.out | 2 +- tests/expectations/compiler/compiler/group/operator_methods.out | 2 +- tests/expectations/compiler/compiler/group/point.out | 2 +- tests/expectations/compiler/compiler/group/point_input.out | 2 +- .../compiler/compiler/group/positive_and_negative.out | 2 +- tests/expectations/compiler/compiler/group/sub.out | 2 +- tests/expectations/compiler/compiler/group/ternary.out | 2 +- tests/expectations/compiler/compiler/group/x_and_y.out | 2 +- tests/expectations/compiler/compiler/group/x_sign_high.out | 2 +- tests/expectations/compiler/compiler/group/x_sign_inferred.out | 2 +- tests/expectations/compiler/compiler/group/x_sign_low.out | 2 +- tests/expectations/compiler/compiler/group/y_sign_high.out | 2 +- tests/expectations/compiler/compiler/group/y_sign_inferred.out | 2 +- tests/expectations/compiler/compiler/group/y_sign_low.out | 2 +- tests/expectations/compiler/compiler/group/zero.out | 2 +- .../compiler/compiler/input_files/program_input/main.out | 2 +- .../compiler/compiler/input_files/program_input/main_field.out | 2 +- .../compiler/compiler/input_files/program_input/main_group.out | 2 +- .../compiler/input_files/program_input_constants/main.out | 2 +- .../compiler/input_files/program_input_constants/main_field.out | 2 +- .../compiler/input_files/program_input_constants/main_group.out | 2 +- .../input_files/program_input_constants/main_multiple.out | 2 +- tests/expectations/compiler/compiler/integers/i128/add.out | 2 +- tests/expectations/compiler/compiler/integers/i128/and.out | 2 +- .../compiler/compiler/integers/i128/console_assert.out | 2 +- tests/expectations/compiler/compiler/integers/i128/div.out | 2 +- tests/expectations/compiler/compiler/integers/i128/eq.out | 2 +- tests/expectations/compiler/compiler/integers/i128/ge.out | 2 +- tests/expectations/compiler/compiler/integers/i128/gt.out | 2 +- tests/expectations/compiler/compiler/integers/i128/le.out | 2 +- tests/expectations/compiler/compiler/integers/i128/lt.out | 2 +- tests/expectations/compiler/compiler/integers/i128/max.out | 2 +- tests/expectations/compiler/compiler/integers/i128/min.out | 2 +- tests/expectations/compiler/compiler/integers/i128/mul.out | 2 +- tests/expectations/compiler/compiler/integers/i128/ne.out | 2 +- tests/expectations/compiler/compiler/integers/i128/negate.out | 2 +- .../expectations/compiler/compiler/integers/i128/negate_min.out | 2 +- .../compiler/compiler/integers/i128/negate_zero.out | 2 +- .../compiler/compiler/integers/i128/operator_methods.out | 2 +- tests/expectations/compiler/compiler/integers/i128/or.out | 2 +- tests/expectations/compiler/compiler/integers/i128/pow.out | 2 +- tests/expectations/compiler/compiler/integers/i128/shl.out | 2 +- tests/expectations/compiler/compiler/integers/i128/shr.out | 2 +- tests/expectations/compiler/compiler/integers/i128/sub.out | 2 +- tests/expectations/compiler/compiler/integers/i128/ternary.out | 2 +- tests/expectations/compiler/compiler/integers/i128/xor.out | 2 +- tests/expectations/compiler/compiler/integers/i16/add.out | 2 +- tests/expectations/compiler/compiler/integers/i16/and.out | 2 +- .../compiler/compiler/integers/i16/console_assert.out | 2 +- tests/expectations/compiler/compiler/integers/i16/div.out | 2 +- tests/expectations/compiler/compiler/integers/i16/eq.out | 2 +- tests/expectations/compiler/compiler/integers/i16/ge.out | 2 +- tests/expectations/compiler/compiler/integers/i16/gt.out | 2 +- tests/expectations/compiler/compiler/integers/i16/le.out | 2 +- tests/expectations/compiler/compiler/integers/i16/lt.out | 2 +- tests/expectations/compiler/compiler/integers/i16/max.out | 2 +- tests/expectations/compiler/compiler/integers/i16/min.out | 2 +- tests/expectations/compiler/compiler/integers/i16/mul.out | 2 +- tests/expectations/compiler/compiler/integers/i16/ne.out | 2 +- tests/expectations/compiler/compiler/integers/i16/negate.out | 2 +- .../compiler/compiler/integers/i16/negate_min_fail.out | 2 +- .../expectations/compiler/compiler/integers/i16/negate_zero.out | 2 +- .../compiler/compiler/integers/i16/operator_methods.out | 2 +- tests/expectations/compiler/compiler/integers/i16/or.out | 2 +- tests/expectations/compiler/compiler/integers/i16/pow.out | 2 +- tests/expectations/compiler/compiler/integers/i16/shl.out | 2 +- tests/expectations/compiler/compiler/integers/i16/shr.out | 2 +- tests/expectations/compiler/compiler/integers/i16/sub.out | 2 +- tests/expectations/compiler/compiler/integers/i16/ternary.out | 2 +- tests/expectations/compiler/compiler/integers/i16/xor.out | 2 +- tests/expectations/compiler/compiler/integers/i32/add.out | 2 +- tests/expectations/compiler/compiler/integers/i32/and.out | 2 +- .../compiler/compiler/integers/i32/console_assert.out | 2 +- tests/expectations/compiler/compiler/integers/i32/div.out | 2 +- tests/expectations/compiler/compiler/integers/i32/eq.out | 2 +- tests/expectations/compiler/compiler/integers/i32/ge.out | 2 +- tests/expectations/compiler/compiler/integers/i32/gt.out | 2 +- tests/expectations/compiler/compiler/integers/i32/le.out | 2 +- tests/expectations/compiler/compiler/integers/i32/lt.out | 2 +- tests/expectations/compiler/compiler/integers/i32/max.out | 2 +- tests/expectations/compiler/compiler/integers/i32/min.out | 2 +- tests/expectations/compiler/compiler/integers/i32/mul.out | 2 +- tests/expectations/compiler/compiler/integers/i32/ne.out | 2 +- tests/expectations/compiler/compiler/integers/i32/negate.out | 2 +- .../expectations/compiler/compiler/integers/i32/negate_min.out | 2 +- .../expectations/compiler/compiler/integers/i32/negate_zero.out | 2 +- .../compiler/compiler/integers/i32/operator_methods.out | 2 +- tests/expectations/compiler/compiler/integers/i32/or.out | 2 +- tests/expectations/compiler/compiler/integers/i32/pow.out | 2 +- tests/expectations/compiler/compiler/integers/i32/shl.out | 2 +- tests/expectations/compiler/compiler/integers/i32/shr.out | 2 +- tests/expectations/compiler/compiler/integers/i32/sub.out | 2 +- tests/expectations/compiler/compiler/integers/i32/ternary.out | 2 +- tests/expectations/compiler/compiler/integers/i32/xor.out | 2 +- tests/expectations/compiler/compiler/integers/i64/add.out | 2 +- tests/expectations/compiler/compiler/integers/i64/and.out | 2 +- .../compiler/compiler/integers/i64/console_assert.out | 2 +- tests/expectations/compiler/compiler/integers/i64/div.out | 2 +- tests/expectations/compiler/compiler/integers/i64/eq.out | 2 +- tests/expectations/compiler/compiler/integers/i64/ge.out | 2 +- tests/expectations/compiler/compiler/integers/i64/gt.out | 2 +- tests/expectations/compiler/compiler/integers/i64/le.out | 2 +- tests/expectations/compiler/compiler/integers/i64/lt.out | 2 +- tests/expectations/compiler/compiler/integers/i64/max.out | 2 +- tests/expectations/compiler/compiler/integers/i64/min.out | 2 +- tests/expectations/compiler/compiler/integers/i64/mul.out | 2 +- tests/expectations/compiler/compiler/integers/i64/ne.out | 2 +- tests/expectations/compiler/compiler/integers/i64/negate.out | 2 +- .../expectations/compiler/compiler/integers/i64/negate_min.out | 2 +- .../expectations/compiler/compiler/integers/i64/negate_zero.out | 2 +- .../compiler/compiler/integers/i64/operator_methods.out | 2 +- tests/expectations/compiler/compiler/integers/i64/or.out | 2 +- tests/expectations/compiler/compiler/integers/i64/pow.out | 2 +- tests/expectations/compiler/compiler/integers/i64/shl.out | 2 +- tests/expectations/compiler/compiler/integers/i64/shr.out | 2 +- tests/expectations/compiler/compiler/integers/i64/sub.out | 2 +- tests/expectations/compiler/compiler/integers/i64/ternary.out | 2 +- tests/expectations/compiler/compiler/integers/i64/xor.out | 2 +- tests/expectations/compiler/compiler/integers/i8/add.out | 2 +- tests/expectations/compiler/compiler/integers/i8/and.out | 2 +- .../compiler/compiler/integers/i8/console_assert.out | 2 +- tests/expectations/compiler/compiler/integers/i8/div.out | 2 +- tests/expectations/compiler/compiler/integers/i8/eq.out | 2 +- tests/expectations/compiler/compiler/integers/i8/ge.out | 2 +- tests/expectations/compiler/compiler/integers/i8/gt.out | 2 +- tests/expectations/compiler/compiler/integers/i8/le.out | 2 +- tests/expectations/compiler/compiler/integers/i8/lt.out | 2 +- tests/expectations/compiler/compiler/integers/i8/max.out | 2 +- tests/expectations/compiler/compiler/integers/i8/min.out | 2 +- tests/expectations/compiler/compiler/integers/i8/mul.out | 2 +- tests/expectations/compiler/compiler/integers/i8/ne.out | 2 +- tests/expectations/compiler/compiler/integers/i8/negate.out | 2 +- tests/expectations/compiler/compiler/integers/i8/negate_min.out | 2 +- .../expectations/compiler/compiler/integers/i8/negate_zero.out | 2 +- .../compiler/compiler/integers/i8/operator_methods.out | 2 +- tests/expectations/compiler/compiler/integers/i8/or.out | 2 +- tests/expectations/compiler/compiler/integers/i8/pow.out | 2 +- tests/expectations/compiler/compiler/integers/i8/shl.out | 2 +- tests/expectations/compiler/compiler/integers/i8/shr.out | 2 +- tests/expectations/compiler/compiler/integers/i8/sub.out | 2 +- tests/expectations/compiler/compiler/integers/i8/ternary.out | 2 +- tests/expectations/compiler/compiler/integers/i8/xor.out | 2 +- tests/expectations/compiler/compiler/integers/u128/add.out | 2 +- tests/expectations/compiler/compiler/integers/u128/and.out | 2 +- .../compiler/compiler/integers/u128/console_assert.out | 2 +- tests/expectations/compiler/compiler/integers/u128/div.out | 2 +- tests/expectations/compiler/compiler/integers/u128/eq.out | 2 +- tests/expectations/compiler/compiler/integers/u128/ge.out | 2 +- tests/expectations/compiler/compiler/integers/u128/gt.out | 2 +- tests/expectations/compiler/compiler/integers/u128/le.out | 2 +- tests/expectations/compiler/compiler/integers/u128/lt.out | 2 +- tests/expectations/compiler/compiler/integers/u128/max.out | 2 +- tests/expectations/compiler/compiler/integers/u128/min.out | 2 +- tests/expectations/compiler/compiler/integers/u128/mul.out | 2 +- tests/expectations/compiler/compiler/integers/u128/ne.out | 2 +- .../compiler/compiler/integers/u128/operator_methods.out | 2 +- tests/expectations/compiler/compiler/integers/u128/or.out | 2 +- tests/expectations/compiler/compiler/integers/u128/pow.out | 2 +- tests/expectations/compiler/compiler/integers/u128/shl.out | 2 +- tests/expectations/compiler/compiler/integers/u128/shr.out | 2 +- tests/expectations/compiler/compiler/integers/u128/sub.out | 2 +- tests/expectations/compiler/compiler/integers/u128/ternary.out | 2 +- tests/expectations/compiler/compiler/integers/u128/xor.out | 2 +- tests/expectations/compiler/compiler/integers/u16/add.out | 2 +- tests/expectations/compiler/compiler/integers/u16/and.out | 2 +- .../compiler/compiler/integers/u16/console_assert.out | 2 +- tests/expectations/compiler/compiler/integers/u16/div.out | 2 +- tests/expectations/compiler/compiler/integers/u16/eq.out | 2 +- tests/expectations/compiler/compiler/integers/u16/ge.out | 2 +- tests/expectations/compiler/compiler/integers/u16/gt.out | 2 +- tests/expectations/compiler/compiler/integers/u16/le.out | 2 +- tests/expectations/compiler/compiler/integers/u16/lt.out | 2 +- tests/expectations/compiler/compiler/integers/u16/max.out | 2 +- tests/expectations/compiler/compiler/integers/u16/min.out | 2 +- tests/expectations/compiler/compiler/integers/u16/mul.out | 2 +- tests/expectations/compiler/compiler/integers/u16/ne.out | 2 +- .../compiler/compiler/integers/u16/operator_methods.out | 2 +- tests/expectations/compiler/compiler/integers/u16/or.out | 2 +- tests/expectations/compiler/compiler/integers/u16/pow.out | 2 +- tests/expectations/compiler/compiler/integers/u16/shl.out | 2 +- tests/expectations/compiler/compiler/integers/u16/shr.out | 2 +- tests/expectations/compiler/compiler/integers/u16/sub.out | 2 +- tests/expectations/compiler/compiler/integers/u16/ternary.out | 2 +- tests/expectations/compiler/compiler/integers/u16/xor.out | 2 +- tests/expectations/compiler/compiler/integers/u32/add.out | 2 +- tests/expectations/compiler/compiler/integers/u32/and.out | 2 +- .../compiler/compiler/integers/u32/console_assert.out | 2 +- tests/expectations/compiler/compiler/integers/u32/div.out | 2 +- tests/expectations/compiler/compiler/integers/u32/eq.out | 2 +- tests/expectations/compiler/compiler/integers/u32/ge.out | 2 +- tests/expectations/compiler/compiler/integers/u32/gt.out | 2 +- tests/expectations/compiler/compiler/integers/u32/le.out | 2 +- tests/expectations/compiler/compiler/integers/u32/lt.out | 2 +- tests/expectations/compiler/compiler/integers/u32/max.out | 2 +- tests/expectations/compiler/compiler/integers/u32/min.out | 2 +- tests/expectations/compiler/compiler/integers/u32/mul.out | 2 +- tests/expectations/compiler/compiler/integers/u32/ne.out | 2 +- .../compiler/compiler/integers/u32/operator_methods.out | 2 +- tests/expectations/compiler/compiler/integers/u32/or.out | 2 +- tests/expectations/compiler/compiler/integers/u32/pow.out | 2 +- tests/expectations/compiler/compiler/integers/u32/shl.out | 2 +- tests/expectations/compiler/compiler/integers/u32/shr.out | 2 +- tests/expectations/compiler/compiler/integers/u32/sub.out | 2 +- tests/expectations/compiler/compiler/integers/u32/ternary.out | 2 +- tests/expectations/compiler/compiler/integers/u32/xor.out | 2 +- tests/expectations/compiler/compiler/integers/u64/add.out | 2 +- tests/expectations/compiler/compiler/integers/u64/and.out | 2 +- .../compiler/compiler/integers/u64/console_assert.out | 2 +- tests/expectations/compiler/compiler/integers/u64/div.out | 2 +- tests/expectations/compiler/compiler/integers/u64/eq.out | 2 +- tests/expectations/compiler/compiler/integers/u64/ge.out | 2 +- tests/expectations/compiler/compiler/integers/u64/gt.out | 2 +- tests/expectations/compiler/compiler/integers/u64/le.out | 2 +- tests/expectations/compiler/compiler/integers/u64/lt.out | 2 +- tests/expectations/compiler/compiler/integers/u64/max.out | 2 +- tests/expectations/compiler/compiler/integers/u64/min.out | 2 +- tests/expectations/compiler/compiler/integers/u64/mul.out | 2 +- tests/expectations/compiler/compiler/integers/u64/ne.out | 2 +- .../compiler/compiler/integers/u64/operator_methods.out | 2 +- tests/expectations/compiler/compiler/integers/u64/or.out | 2 +- tests/expectations/compiler/compiler/integers/u64/pow.out | 2 +- tests/expectations/compiler/compiler/integers/u64/shl.out | 2 +- tests/expectations/compiler/compiler/integers/u64/shr.out | 2 +- tests/expectations/compiler/compiler/integers/u64/sub.out | 2 +- tests/expectations/compiler/compiler/integers/u64/ternary.out | 2 +- tests/expectations/compiler/compiler/integers/u64/xor.out | 2 +- tests/expectations/compiler/compiler/integers/u8/add.out | 2 +- tests/expectations/compiler/compiler/integers/u8/and.out | 2 +- .../compiler/compiler/integers/u8/console_assert.out | 2 +- tests/expectations/compiler/compiler/integers/u8/div.out | 2 +- tests/expectations/compiler/compiler/integers/u8/eq.out | 2 +- tests/expectations/compiler/compiler/integers/u8/ge.out | 2 +- tests/expectations/compiler/compiler/integers/u8/gt.out | 2 +- tests/expectations/compiler/compiler/integers/u8/le.out | 2 +- tests/expectations/compiler/compiler/integers/u8/lt.out | 2 +- tests/expectations/compiler/compiler/integers/u8/max.out | 2 +- tests/expectations/compiler/compiler/integers/u8/min.out | 2 +- tests/expectations/compiler/compiler/integers/u8/mul.out | 2 +- tests/expectations/compiler/compiler/integers/u8/ne.out | 2 +- .../compiler/compiler/integers/u8/operator_methods.out | 2 +- tests/expectations/compiler/compiler/integers/u8/or.out | 2 +- tests/expectations/compiler/compiler/integers/u8/pow.out | 2 +- tests/expectations/compiler/compiler/integers/u8/shl.out | 2 +- tests/expectations/compiler/compiler/integers/u8/shr.out | 2 +- tests/expectations/compiler/compiler/integers/u8/sub.out | 2 +- tests/expectations/compiler/compiler/integers/u8/ternary.out | 2 +- tests/expectations/compiler/compiler/integers/u8/xor.out | 2 +- tests/expectations/compiler/compiler/mutability/cond_mut.out | 2 +- .../compiler/compiler/mutability/function_input_mut.out | 2 +- .../compiler/compiler/mutability/let_mut_nested.out | 2 +- tests/expectations/compiler/compiler/scalar/add.out | 2 +- tests/expectations/compiler/compiler/scalar/cmp.out | 2 +- tests/expectations/compiler/compiler/scalar/div.out | 2 +- tests/expectations/compiler/compiler/scalar/eq.out | 2 +- tests/expectations/compiler/compiler/scalar/group_mul.out | 2 +- tests/expectations/compiler/compiler/scalar/mul.out | 2 +- .../expectations/compiler/compiler/scalar/operator_methods.out | 2 +- tests/expectations/compiler/compiler/scalar/scalar.out | 2 +- tests/expectations/compiler/compiler/scalar/ternary.out | 2 +- tests/expectations/compiler/compiler/statements/all_loops.out | 2 +- tests/expectations/compiler/compiler/statements/block.out | 2 +- tests/expectations/compiler/compiler/statements/chain.out | 2 +- .../compiler/compiler/statements/compare_diff_types_fail.out | 2 +- .../compiler/compiler/statements/duplicate_variable.out | 2 +- tests/expectations/compiler/compiler/statements/for_loop.out | 2 +- .../compiler/compiler/statements/iteration_basic.out | 2 +- .../compiler/compiler/statements/iteration_variable.out | 2 +- .../compiler/compiler/statements/multiple_returns.out | 2 +- tests/expectations/compiler/compiler/statements/mutate.out | 2 +- .../compiler/statements/ternary_explicit_and_implicit.out | 2 +- tests/expectations/parser/parser/expression/literal/comment.out | 1 + tests/expectations/parser/parser/functions/const_input.out | 1 + tests/expectations/parser/parser/functions/const_param.out | 1 + tests/expectations/parser/parser/functions/empty2.out | 1 + tests/expectations/parser/parser/functions/params.out | 1 + tests/expectations/parser/parser/functions/params_return.out | 1 + tests/expectations/parser/parser/functions/public_param.out | 1 + tests/expectations/parser/parser/functions/return.out | 1 + tests/expectations/parser/parser/serialize/one_plus_one.out | 1 + 333 files changed, 333 insertions(+), 324 deletions(-) diff --git a/tests/expectations/compiler/compiler/address/binary.out b/tests/expectations/compiler/compiler/address/binary.out index 956784da34..5f1af1bc34 100644 --- a/tests/expectations/compiler/compiler/address/binary.out +++ b/tests/expectations/compiler/compiler/address/binary.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: fe880c907d0257c9fc8314b8b98cabd8a8282b587d2d618408cc3cd8e528fda5 - initial_ast: d2bf8199011f00bef93c6cec36528966c69908982ea4a6f2e515c98c258edf25 + initial_ast: e2caabe6c1708ef95225bf5947a666d3e489f94215117b5050dd4202ba3ff3a9 symbol_table: b736692dc7bdc91c5a808a20a3965f4c8ed2c46c212696d33fc6dd4cfc9a5844 diff --git a/tests/expectations/compiler/compiler/address/branch.out b/tests/expectations/compiler/compiler/address/branch.out index 3f18c782ed..127d989613 100644 --- a/tests/expectations/compiler/compiler/address/branch.out +++ b/tests/expectations/compiler/compiler/address/branch.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 00f5aba05e4efae5a125eb52f02f16400132085b8a34919d910aa40c6c405a22 - initial_ast: d9baeb1448040c61f5e7f779270eb767a29b5f2fd23a60a680aad138327999e7 + initial_ast: e0b6a5faadc52c8c0f81850d1ffdd889f229301f89d511503f9999bd09bb9463 symbol_table: a712053d471b6165809fc2b4f717282ea5590a2cfaeae8a630c8a3250478d179 diff --git a/tests/expectations/compiler/compiler/address/equal.out b/tests/expectations/compiler/compiler/address/equal.out index f3449a1433..c9748b69d9 100644 --- a/tests/expectations/compiler/compiler/address/equal.out +++ b/tests/expectations/compiler/compiler/address/equal.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 03e9df3bd1409f4af9e2a7f55130bc52f27d41f32a624ffa27f0ab114bf6fbf4 - initial_input_ast: 9a0d83e67799f28ec6613d9aac9d921aea81eebb68c9682de33c69036c4a924f - initial_ast: ea3c9a73110ccc7684863543cf563ec78349402c460a75317b776af11d46f781 + initial_ast: 1c191fd2bc0302809f84fc31c9828eff30f33cab85bf8665f5801d2d8315712f symbol_table: 18395a136ea969d319cc4c12c59bb7a590a1b11339375240700d7c87f26b1d5d diff --git a/tests/expectations/compiler/compiler/address/ternary.out b/tests/expectations/compiler/compiler/address/ternary.out index f7324d45dc..d231d27fa0 100644 --- a/tests/expectations/compiler/compiler/address/ternary.out +++ b/tests/expectations/compiler/compiler/address/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: ec3cfeb93ea66a530150a5c5e2bd396688b3ef9b9fb0bcb961c62dac4daa064e - initial_input_ast: cb1d48114c10b2b732ad47a46fc8d05bf7a3e783da89e7f00065244bfc8d15c8 - initial_ast: 1bbe35b9a1a767668b4ff0d689873caded5d92ea7886aad2355a404511d76199 + initial_ast: 5fa0a8b58bfa8572a2caf832f8773bad1d00edefdfb518299f4128c42fda155b symbol_table: 82f5e85488d21fdf066d318b2c31504f4fd77b98747286b4a030c2e2a568e5d6 diff --git a/tests/expectations/compiler/compiler/boolean/and.out b/tests/expectations/compiler/compiler/boolean/and.out index 507db8d403..bcc783ed4e 100644 --- a/tests/expectations/compiler/compiler/boolean/and.out +++ b/tests/expectations/compiler/compiler/boolean/and.out @@ -7,5 +7,5 @@ outputs: - initial_input_ast: 5f19f0086b0509628dc64db0f69000d599bc761cb8e3125144de44367081126a - initial_input_ast: 4c5eeffd0306b20c8deece509782b81ea8583245f650e40a4a300d517f6ed5f4 - initial_input_ast: a56b3f9908dec2acaed302691d4fe0c2cf046f0deb8f188f617e042e75502f71 - initial_ast: 8e4ab3450ec4ffbdba78fc0e1450c319bf538fd716af967419c8ce116ccd3d0e + initial_ast: 00b2f1400c68849a8ed3dcc7f3012ed02b2607ba2b257524bea40adb7476e593 symbol_table: 85ba598c10628c776b426b4ff60a5c7ea7d1d58211763c0b088f87965529c12f diff --git a/tests/expectations/compiler/compiler/boolean/conditional.out b/tests/expectations/compiler/compiler/boolean/conditional.out index dc5428dc6c..d317955ab5 100644 --- a/tests/expectations/compiler/compiler/boolean/conditional.out +++ b/tests/expectations/compiler/compiler/boolean/conditional.out @@ -7,5 +7,5 @@ outputs: - initial_input_ast: 9af3ce639269ea18073cb3b1a19520ba98f0484a04b20526584131d18c54712c - initial_input_ast: 7a1c39dec2388ab801496ceb17ca85665d2f515269929925b7cc9018e14297ea - initial_input_ast: 650984ca5077d11a815889421656b7735b4c6bd320bdf68b4deb87dfc0f49388 - initial_ast: d84cf01e1fddeb09983dc4f7e868ae999b7b9ab4dff9d4286108f81aefe80677 + initial_ast: d2bdf2449c1bd23e879a7d6ba2c58515a1420a317526294839a1410d2e114168 symbol_table: 4fd4e476609947028fbffe357ffb9d962e96c30a9abe3677d75675ae37b12587 diff --git a/tests/expectations/compiler/compiler/boolean/equal.out b/tests/expectations/compiler/compiler/boolean/equal.out index b5ee5d7086..b2978f254d 100644 --- a/tests/expectations/compiler/compiler/boolean/equal.out +++ b/tests/expectations/compiler/compiler/boolean/equal.out @@ -7,5 +7,5 @@ outputs: - initial_input_ast: 5f19f0086b0509628dc64db0f69000d599bc761cb8e3125144de44367081126a - initial_input_ast: 4c5eeffd0306b20c8deece509782b81ea8583245f650e40a4a300d517f6ed5f4 - initial_input_ast: a56b3f9908dec2acaed302691d4fe0c2cf046f0deb8f188f617e042e75502f71 - initial_ast: d135ca0877ca63f6c31be572178a69508de9cfb81e258c4aec425861241f84c3 + initial_ast: 8fde46543fe81a7623e1ee1eb11c7eac29fb7e0488fe157c88da07b18859417b symbol_table: ffcddad7271fd96b863ba3f1446dd9c0021f3fb4ead31942fac8de11d5af1817 diff --git a/tests/expectations/compiler/compiler/boolean/not_equal.out b/tests/expectations/compiler/compiler/boolean/not_equal.out index d8f207407c..2bbc4671f0 100644 --- a/tests/expectations/compiler/compiler/boolean/not_equal.out +++ b/tests/expectations/compiler/compiler/boolean/not_equal.out @@ -7,5 +7,5 @@ outputs: - initial_input_ast: 5f19f0086b0509628dc64db0f69000d599bc761cb8e3125144de44367081126a - initial_input_ast: 4c5eeffd0306b20c8deece509782b81ea8583245f650e40a4a300d517f6ed5f4 - initial_input_ast: a56b3f9908dec2acaed302691d4fe0c2cf046f0deb8f188f617e042e75502f71 - initial_ast: 42cf44d6821d7bd9d2c0222d2a673df9ff9c199f583e79a8b15b8eec53e2aea0 + initial_ast: 8c0760e391f8af7ed63dc70d0919bfe445ef27fe52cbb35c8d21ffd97890d3ae symbol_table: 99728cc6a571e63083031cb630c010cd10c32360086df0494297645d08cf82c2 diff --git a/tests/expectations/compiler/compiler/boolean/operator_methods.out b/tests/expectations/compiler/compiler/boolean/operator_methods.out index 82a976161b..687838dde1 100644 --- a/tests/expectations/compiler/compiler/boolean/operator_methods.out +++ b/tests/expectations/compiler/compiler/boolean/operator_methods.out @@ -7,5 +7,5 @@ outputs: - initial_input_ast: 3254bbbc78ad3eec1c6667ade0b3d3da5ee17c7e569118cc1c771ba607e79ab0 - initial_input_ast: 19f1be52a19445695f23724e1979b362dd3fcf31aace997c829e2206dc1cccbe - initial_input_ast: d2fc1992beaf062678bbf6c3e862820dbbea39926589afcdc46c19c8669f0e37 - initial_ast: b8707d1d3f6c111db2515d4093d15b4739765bfb9e114ed345ebedce0c04024d + initial_ast: 854219c40e7c2c0fe84abfb14e8646eb41535ce51728dbd381b1762189f719b4 symbol_table: e6f7abfd330837d1c643b6b7465c02333b1c895e3e6f624085e8e956ab6e5fe5 diff --git a/tests/expectations/compiler/compiler/boolean/or.out b/tests/expectations/compiler/compiler/boolean/or.out index 2108b895f9..6e3c2080b6 100644 --- a/tests/expectations/compiler/compiler/boolean/or.out +++ b/tests/expectations/compiler/compiler/boolean/or.out @@ -7,5 +7,5 @@ outputs: - initial_input_ast: 5f19f0086b0509628dc64db0f69000d599bc761cb8e3125144de44367081126a - initial_input_ast: 4c5eeffd0306b20c8deece509782b81ea8583245f650e40a4a300d517f6ed5f4 - initial_input_ast: a56b3f9908dec2acaed302691d4fe0c2cf046f0deb8f188f617e042e75502f71 - initial_ast: 6738dda9dfa2cce86f92f9d28e0e0750870156f6b5d6146d063baa221f88df3f + initial_ast: 7ee021b77e11d3836f59c80a93902a0e7407cad4f214d6bb9bfa6a09b7e098e7 symbol_table: 6dad9c49c0429f77053df4b683bcc9c8f863000e03f2c1b5936c6c98c24c6476 diff --git a/tests/expectations/compiler/compiler/char/string.out b/tests/expectations/compiler/compiler/char/string.out index 87094000d3..e57dce4414 100644 --- a/tests/expectations/compiler/compiler/char/string.out +++ b/tests/expectations/compiler/compiler/char/string.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f1af7e79dff9ede0d2a1c88d5d22801cb3dfe3a9fb34e93bca646e29a61e9f65 - initial_ast: 80124fe1a7297907bc27330cfe87117bee204a9f2b8acce053b0778568415a31 + initial_ast: 69b68def6433c2514553d08e4b297f8da2ba952d2dea679c6d7082ba959e2ee9 symbol_table: 4a29c4b5af2ad1879798454b95b7dd04ae7ecd48289c5f3e7a1e19eaf3921c3b diff --git a/tests/expectations/compiler/compiler/circuits/duplicate_circuit_variable.out b/tests/expectations/compiler/compiler/circuits/duplicate_circuit_variable.out index 7859e8194d..2a5c69f0b7 100644 --- a/tests/expectations/compiler/compiler/circuits/duplicate_circuit_variable.out +++ b/tests/expectations/compiler/compiler/circuits/duplicate_circuit_variable.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Error [ETYC0372018]: Circuit Bar defined with more than one member with the same name.\n --> compiler-test:3:1\n |\n 3 | circuit Bar {\n 4 | x: u32,\n 5 | x: u32,\n 6 | }\n | ^\n" + - "Error [ETYC0372019]: Circuit Bar defined with more than one member with the same name.\n --> compiler-test:3:1\n |\n 3 | circuit Bar {\n 4 | x: u32,\n 5 | x: u32,\n 6 | }\n | ^\n" diff --git a/tests/expectations/compiler/compiler/circuits/duplicate_name_context.out b/tests/expectations/compiler/compiler/circuits/duplicate_name_context.out index c5ac2ffe3d..57b922a9f2 100644 --- a/tests/expectations/compiler/compiler/circuits/duplicate_name_context.out +++ b/tests/expectations/compiler/compiler/circuits/duplicate_name_context.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: acb54d555ee391d519919827f5949bf1600d18004ce461097d062f91108563ba - initial_ast: 347eb4d4a124a759627e26bad6ea283b07b7bc07ab35dc1576faf699c3d91e3d + initial_ast: c6483cbfeca68504657c8eae1764edd46feb2fddff08f8538d3eecde722c54cd symbol_table: d522662a21597d6d4b9ca630498b48f40ad05fb289080451879c90c3530de28b diff --git a/tests/expectations/compiler/compiler/circuits/inline.out b/tests/expectations/compiler/compiler/circuits/inline.out index 3b1e7645d8..2fc6695ed8 100644 --- a/tests/expectations/compiler/compiler/circuits/inline.out +++ b/tests/expectations/compiler/compiler/circuits/inline.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: c7a7ae897a82a174983ec9e81f0bcc11328fc55ea24111523131e345a363d9b8 + initial_ast: 3be140bc92ab26143cf69703c3b9595f6c013d1900f6b769dca549e8043a195b symbol_table: e6f85704fccd0ca0f0461ae54cb604159a5f41a2175aad6b76bd534166f1bc6b diff --git a/tests/expectations/compiler/compiler/circuits/inline_member_pass.out b/tests/expectations/compiler/compiler/circuits/inline_member_pass.out index 8ac8cb2e38..10033d6b7f 100644 --- a/tests/expectations/compiler/compiler/circuits/inline_member_pass.out +++ b/tests/expectations/compiler/compiler/circuits/inline_member_pass.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 7c16a20b88d661dab8e581d47998252fc0bd2a93199f8b4945c924ade5ebae36 + initial_ast: b496a384f9fb628bcd0102d87e65efc1682c53067761051e07f12492b213ab2a symbol_table: 9eeb9c327aa691ac9126681fa2d4be149bb69621d30ac30a1432b52e42b56307 diff --git a/tests/expectations/compiler/compiler/circuits/member_variable.out b/tests/expectations/compiler/compiler/circuits/member_variable.out index 08b13f2804..35111e0396 100644 --- a/tests/expectations/compiler/compiler/circuits/member_variable.out +++ b/tests/expectations/compiler/compiler/circuits/member_variable.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 29f6139d908d390f890f04d8ee620757d29b7f71cd48c46ff65bc1e70aae840c - initial_ast: 6e1af09bb13f26f60786c16f66286caffa646eae44511c08c2f6be46d8a1a3d1 + initial_ast: e9e3687bf7e678173f816fa7e88acd255824a01cd6338cdce6575761caac51c4 symbol_table: 1e3d03c1d2a087812fc00dd4c1b48174df13bc5278fd65c104c9a904644061db diff --git a/tests/expectations/compiler/compiler/console/assert.out b/tests/expectations/compiler/compiler/console/assert.out index 4088f4b221..1dc6b807df 100644 --- a/tests/expectations/compiler/compiler/console/assert.out +++ b/tests/expectations/compiler/compiler/console/assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 15a1f00a6c0ca8141202e45e534b7afd196e9391c184a4efd94f0d0ccf04a59d - initial_ast: 0ef8a9cfc447ad3fd1cb0275e91b1d005b7f230a02bf87e0f8ad56be86daa23e + initial_ast: 75909337b2ab5e25b9d3a11460788109c99afe1fda7967acbb5b5f573ed423e5 symbol_table: 91cf14380bad96c722953f9731f62aa8717e83951902dd6106bad45d34883e9e diff --git a/tests/expectations/compiler/compiler/console/conditional_assert.out b/tests/expectations/compiler/compiler/console/conditional_assert.out index 7e5eed3b0e..80eb5178ca 100644 --- a/tests/expectations/compiler/compiler/console/conditional_assert.out +++ b/tests/expectations/compiler/compiler/console/conditional_assert.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 8b94c0dbc84f44bd29c614b87947e625ad136549ea29ff18233ba5b01ce63c9b - initial_input_ast: a62874e75304ab81d487909be1c6b1efa2e5756a2980b46e3bb1368586c3ee83 - initial_ast: 487dcbee6a433329c15b3cd0b23ecc259d4df455906438f3e6cf348ebd63ee02 + initial_ast: 88040629ca9639283a9a5230fe1e79c0653f2e9d462bdd4222a7cec094247b89 symbol_table: eb7d67bd533250d35ac68d5247bb6dc11b1aa3c78144e6642fad61e0cf36780b diff --git a/tests/expectations/compiler/compiler/console/error.out b/tests/expectations/compiler/compiler/console/error.out index bc5816124f..59f0daea03 100644 --- a/tests/expectations/compiler/compiler/console/error.out +++ b/tests/expectations/compiler/compiler/console/error.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 14cd2c781b154a9037de84e945cfb348e9c587cef94d3e1f3be83e4306f92a0e - initial_ast: d718de3086bc78a00a392e3c2b46dfa8f76084909bad3c98a5a6759df73efb27 + initial_ast: b202c3ef9b82a60997598fb0891b5e9b2356461eccc5d1622989c5da48f0a16a symbol_table: defa532673c067b1029a2cb28e1ceb49c7f6f99afbc670d886d2db938168d424 diff --git a/tests/expectations/compiler/compiler/console/log.out b/tests/expectations/compiler/compiler/console/log.out index d660d7c8ba..49f1e6d568 100644 --- a/tests/expectations/compiler/compiler/console/log.out +++ b/tests/expectations/compiler/compiler/console/log.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: fd19d82c3aba921f01b37174e3eb7fb603438506fe511657e21235b9fb3647d2 - initial_ast: 2a99ef2515c58607e4b617f93c74838b6f2afed28e9e2c2eed658cea6d729b2d + initial_ast: 4c2a51fc11c2363506f3c98a2ca33dbc23f41d10a2c88815b7320be92ed87d87 symbol_table: 1114eb323c8af79b301823753b911c49af1498481ad93b054c6330f00539dcdc diff --git a/tests/expectations/compiler/compiler/console/log_conditional.out b/tests/expectations/compiler/compiler/console/log_conditional.out index ed5e97338e..16264e582a 100644 --- a/tests/expectations/compiler/compiler/console/log_conditional.out +++ b/tests/expectations/compiler/compiler/console/log_conditional.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 06fad995841b833ef5074920ae270b93bf82ad60b6c8b440c66b8bc5018aaa72 - initial_input_ast: 34bd981451bdeb915a2de749b969c8804c06e44a9f4473f36d6efac7617baead - initial_ast: f8315b82b0a05e0e69fb8b0342b46cbee976ec20d62e0edd2f066bf51acd81d6 + initial_ast: b9a0645aa26b43a28e99e1b2a734d4b7e7b29d15fb766577eed79d86b770d270 symbol_table: 6df0605a8770c3002b2f6dfff805332c774cd382d68860fa029a51c01dfca6e1 diff --git a/tests/expectations/compiler/compiler/console/log_input.out b/tests/expectations/compiler/compiler/console/log_input.out index 5278abf65b..4b8f52c184 100644 --- a/tests/expectations/compiler/compiler/console/log_input.out +++ b/tests/expectations/compiler/compiler/console/log_input.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 0961f603812e241567b6e3ef5adb458309f1829eb2c08a216efccb17bea89faf - initial_ast: 3602c929b2256f4ed5cec2ba9d3e967b029a7dc9717a371b32a356425cf9892b + initial_ast: c792411c5e4db527345387fd7b064c217c0f4d5aa10b7e1807222020ff9cdb9b symbol_table: 21187c3fcd8b5c1377772413f1aedc33d9b4fa34a6d43425b5b9a403ac44cf1b diff --git a/tests/expectations/compiler/compiler/console/log_parameter.out b/tests/expectations/compiler/compiler/console/log_parameter.out index b15a5608ee..f67005cce3 100644 --- a/tests/expectations/compiler/compiler/console/log_parameter.out +++ b/tests/expectations/compiler/compiler/console/log_parameter.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f18a0e019ca4719c4c4ef5b7313f562c3bc9581819d161d84566e706f3765249 - initial_ast: f319125731635279a198fb2df8c0446475024c70829e9de32fa5f43c38079862 + initial_ast: ad21d07bf71e49bfa2094b56f45f90a61d1cb189115a526c4acd3c77cada65ad symbol_table: 4f4561e0804f02ca6cd58fd37cca46531d6a86fb4f6a3dea46c67c3a13e045dd diff --git a/tests/expectations/compiler/compiler/console/log_parameter_many.out b/tests/expectations/compiler/compiler/console/log_parameter_many.out index 97c7b3edbb..0ba2afd81a 100644 --- a/tests/expectations/compiler/compiler/console/log_parameter_many.out +++ b/tests/expectations/compiler/compiler/console/log_parameter_many.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 16910a94cf1f803ae6425ae6bee9422b01651c2c243b5e46807dc3191d169e64 - initial_ast: 52824ac2e84097578faf0ff92f7ca840d2de30e8454a540886123a2cf79192ae + initial_ast: ae155e7c28fa5f27c8c815d7a864b812b219af890de8961edb9abb879b6d2932 symbol_table: 57cd0f756819d90c70fc09987ac1bbf2ddf31c7a72cbfd98b8b56a6fc7705581 diff --git a/tests/expectations/compiler/compiler/core/account/record.out b/tests/expectations/compiler/compiler/core/account/record.out index 77032dbaed..4db7ce0db2 100644 --- a/tests/expectations/compiler/compiler/core/account/record.out +++ b/tests/expectations/compiler/compiler/core/account/record.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Error [ETYC0372014]: The type Record is a reserved core type name.\n --> compiler-test:4:30\n |\n 4 | function main(public record: Record, a: bool) -> bool {\n | ^^^^^^\n" + - "Error [EPAR0370009]: unexpected string: expected 'ident', got 'record'\n --> compiler-test:4:22\n |\n 4 | function main(public record: Record, a: bool) -> bool {\n | ^^^^^^" diff --git a/tests/expectations/compiler/compiler/core/algorithms/bhp.out b/tests/expectations/compiler/compiler/core/algorithms/bhp.out index d5e55b5329..79d33af7fb 100644 --- a/tests/expectations/compiler/compiler/core/algorithms/bhp.out +++ b/tests/expectations/compiler/compiler/core/algorithms/bhp.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: fc0f2558100be5c1216c0d56e8be51be6ad4f51e47e42f89b96d1b9bae0ae34d + initial_ast: bac21cbe4e2fa9dbacf45edfb5b3d580346fb59742f8f61916af92a7c533ca05 symbol_table: 00e1ab10d05676c51e65671158712d7041de760ca226f74a2314f1cef9740402 diff --git a/tests/expectations/compiler/compiler/core/algorithms/pedersen.out b/tests/expectations/compiler/compiler/core/algorithms/pedersen.out index 87ae40db6f..9fa70a8744 100644 --- a/tests/expectations/compiler/compiler/core/algorithms/pedersen.out +++ b/tests/expectations/compiler/compiler/core/algorithms/pedersen.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 8c3b9cf2aad8ba67eb351b67ed4642caa64a7ff83a2dcdc48f05413bba7ba81f + initial_ast: f3be2498fc7ac80bed09044cc6892ab66c85be8b57cf4b91ca68685dc409a89a symbol_table: 4a439652db94447b85f87bdd262953b6b6233e2d5f22c562215fd792f59f04d3 diff --git a/tests/expectations/compiler/compiler/core/algorithms/poseidon.out b/tests/expectations/compiler/compiler/core/algorithms/poseidon.out index 4d4b746471..08b6ccbd67 100644 --- a/tests/expectations/compiler/compiler/core/algorithms/poseidon.out +++ b/tests/expectations/compiler/compiler/core/algorithms/poseidon.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 0a7abaad3d4eb543b09e8664f8b274714f742bec62c45fe56dd6bece0a19161e + initial_ast: 3199a8e573ef7cd2f57845dabf4a352486a601576cc9cef8f3bb548023db6036 symbol_table: 43835e3ddb0a6a15f6ace2186576a1a51de6ad7251d29ff13302546bf1b46a42 diff --git a/tests/expectations/compiler/compiler/definition/out_of_order.out b/tests/expectations/compiler/compiler/definition/out_of_order.out index 6496cecefc..e6e1a5aaf4 100644 --- a/tests/expectations/compiler/compiler/definition/out_of_order.out +++ b/tests/expectations/compiler/compiler/definition/out_of_order.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: b649852fa2fd7eda05bd0ba261f01dcee93b6b825d5d30fddb8dd5c5710081ca - initial_ast: 13b0f0680422f4f647cb4da2fef412662f35b745ba788ce147add5eeccb2edaa + initial_ast: 388935416f73fea957b5a3e390684aaf368ec5b65f8c01f94542c1dfcfd6ca38 symbol_table: 18c4e80dbb6add0a75bd0f6968cd3216e3023f383a17679f892b32e24cf2cd77 diff --git a/tests/expectations/compiler/compiler/field/add.out b/tests/expectations/compiler/compiler/field/add.out index 3cb3c62c4c..af09d263fc 100644 --- a/tests/expectations/compiler/compiler/field/add.out +++ b/tests/expectations/compiler/compiler/field/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3f35e74d282a1e5281e7f283d1e572a3dc75dea1a5ef1a0f8c7f46412ef946a7 - initial_ast: 0aebc18388f6ceed8c1d813152ec6392bf687a814d3ae6d63ae10b50420c1a43 + initial_ast: f386874c322a0c3a3b4d92160ee8a4925e77a1c883829e7b98cc698e1268e2eb symbol_table: ab937c57964d900b6931dc3cea2c6cc6bd68fefe9accae8ef8fd879e788d0cb7 diff --git a/tests/expectations/compiler/compiler/field/div.out b/tests/expectations/compiler/compiler/field/div.out index 05b42ba7ae..e7648af598 100644 --- a/tests/expectations/compiler/compiler/field/div.out +++ b/tests/expectations/compiler/compiler/field/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 4e3882d83c8044e40258f8414966b09c715b00e08bc3383030cecf2c4a825c60 - initial_ast: 924a3905b44bfea2a10118e4c0336a596b6981a7b06ea39f71daac7000e5cf9c + initial_ast: 55fd45aaf7763226500bb91f3c035acebb7aad37624d89cf2c5a1a4a507bc7ed symbol_table: e0b1cda1db6ea8c9f71a6cd9f76a041387e633b0eb652a3382e56ac48aec5adc diff --git a/tests/expectations/compiler/compiler/field/eq.out b/tests/expectations/compiler/compiler/field/eq.out index f3be75ce61..6d61974a19 100644 --- a/tests/expectations/compiler/compiler/field/eq.out +++ b/tests/expectations/compiler/compiler/field/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: eeba130bda3ee24f2a4bf92f67fb555ab849173910a647096e28729c2ebd71c2 - initial_ast: 3546a10b24a6a53ee07d298e7dbbed5122bd9d0c973613296a94189d9e57f246 + initial_ast: 3962f019466cd170ba2506b98e0cdcbc0a83bbc97a5ca56b529d3905380bbf5d symbol_table: 2685013e472435f156a9de89e73adfedb6e0b214a0fc09b235c453885e644746 diff --git a/tests/expectations/compiler/compiler/field/field.out b/tests/expectations/compiler/compiler/field/field.out index bbba696ae2..c49d32b0c8 100644 --- a/tests/expectations/compiler/compiler/field/field.out +++ b/tests/expectations/compiler/compiler/field/field.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3a510480221eb323713b4b10cc374ba357f130e8ac2b07bf1c69ad5d8c936f12 - initial_ast: ff341146cdbb78e4a5bffd47c109cc9987dd3b7cea8224e0ef3668394d1c7a90 + initial_ast: 5730055744d561e841ad4090e53e6c589882d3e235488210732709c588919d48 symbol_table: 61dabf815d0a52853b5933812e28a24dc2cc71a0196ab334e9f36621f6528669 diff --git a/tests/expectations/compiler/compiler/field/mul.out b/tests/expectations/compiler/compiler/field/mul.out index 8864c691a4..d41f1b4acf 100644 --- a/tests/expectations/compiler/compiler/field/mul.out +++ b/tests/expectations/compiler/compiler/field/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3f35e74d282a1e5281e7f283d1e572a3dc75dea1a5ef1a0f8c7f46412ef946a7 - initial_ast: c05e588dae9e5f6e7e1c2d16d08629af8d287b453796b21de89b25d40970ec1b + initial_ast: dafcd5b3e2dc29c4fb8c9872e47d212e7a0109b51913e349f4b7770851b4d8b8 symbol_table: 51cac1a817eead5ffdce703f843e85cdd2ab3ac6ddcb1868fc299ce470aacfb8 diff --git a/tests/expectations/compiler/compiler/field/negate.out b/tests/expectations/compiler/compiler/field/negate.out index d1c007a98b..44d5370ef4 100644 --- a/tests/expectations/compiler/compiler/field/negate.out +++ b/tests/expectations/compiler/compiler/field/negate.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 9206742d7f18345efbd4d9077cd1aca0855d43a2436be0697ec22954650e3737 - initial_ast: c2122be4da96294b4ce4bca5d239176c6bb98765248c767dd41352b6b95888c8 + initial_ast: 8fee6d79a6c5ec2ee2123662d505ccbb714415051d475e55417f68171feb65b3 symbol_table: 2daa5df91bfa772cfaec061d0b52b9663df25e1c2018fefd9a72b878e9f347a0 diff --git a/tests/expectations/compiler/compiler/field/operator_methods.out b/tests/expectations/compiler/compiler/field/operator_methods.out index 3da6406906..d7a5b18c22 100644 --- a/tests/expectations/compiler/compiler/field/operator_methods.out +++ b/tests/expectations/compiler/compiler/field/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 047866515f4dc74cd9966242734984b53e72f87afc21f7171b118e6defa1f166 - initial_ast: 49b4956c647eb7f6e1ae496ce2e5c4ff238493d9cbc9d20d6f0f3fee09dee4f4 + initial_ast: 39c8b7a1b07ce94589be274cfa6cf3a30e5e0cd938acacabdbb0202c27fa4c2b symbol_table: 0adb5745c4fc836bedd364a83bea10dab7885dc32a4145fd04a57b51bd2b23d1 diff --git a/tests/expectations/compiler/compiler/field/pow.out b/tests/expectations/compiler/compiler/field/pow.out index 3b03b10cf1..404d768064 100644 --- a/tests/expectations/compiler/compiler/field/pow.out +++ b/tests/expectations/compiler/compiler/field/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 5e0a61d909d2e94dfbc95775e4c5c356adb61375ceef2d583a5ab927b3b6342e - initial_ast: ecf60185d2eda458885b00f1daa586132dfbfc560b0565c1659bb4bfed3cb19d + initial_ast: 53a238811a4356592f4fc24dfa73cb2c796fb2fd857a60a5edfa478992e0c350 symbol_table: 137dd2867c357412b9e5d9dfb51e9e82998217d06f1e07d95999c5c7f312affc diff --git a/tests/expectations/compiler/compiler/field/sub.out b/tests/expectations/compiler/compiler/field/sub.out index 41d43cf2fb..93c9a18322 100644 --- a/tests/expectations/compiler/compiler/field/sub.out +++ b/tests/expectations/compiler/compiler/field/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 4e3882d83c8044e40258f8414966b09c715b00e08bc3383030cecf2c4a825c60 - initial_ast: 44033abf4e0e2d174cc770b32f903b8a1d4505ee4cbfdcfca3ad1f885071123e + initial_ast: f895ecdee379ec86123aa5bbef5158c7b1c134becd6d0400b1eedf4bf2955664 symbol_table: a462d7481d4ae6611c332491239401d32ed2dd110042de237495731107048b4e diff --git a/tests/expectations/compiler/compiler/field/ternary.out b/tests/expectations/compiler/compiler/field/ternary.out index c8c60226ee..d942d61091 100644 --- a/tests/expectations/compiler/compiler/field/ternary.out +++ b/tests/expectations/compiler/compiler/field/ternary.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: e19dcac0064fed4ec8293b9b40ec70cb94b5fdb05f1081fc29f46a023bf79b09 - initial_ast: 8efd26ef8db8c5c793450a368ec66d7a3fe3b363145655192344af4a8c2b4d81 + initial_ast: 1d1f4d0b4ab3833e33433d8c9b2e03968b7589914c1b2a824fbf7a18c438fbf8 symbol_table: 8efd055a1ca3e84e7af524acdb2d517b1d31c773fb5d0d9045eaaab2112fe184 diff --git a/tests/expectations/compiler/compiler/function/conditional_return.out b/tests/expectations/compiler/compiler/function/conditional_return.out index f42659df15..869a4082e9 100644 --- a/tests/expectations/compiler/compiler/function/conditional_return.out +++ b/tests/expectations/compiler/compiler/function/conditional_return.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f4c81e7647e3b7cb29e8faf5456878989cbc81cb49097acf5bc9aaafc9092b6b - initial_ast: ed69198e934ac7f6a604adb37a4b27ad593909930029904db802c1895d7269c9 + initial_ast: 5ec3e002c7fffde84b5e4f96b08935ff57f9361ca4566ec240648a4618aab60a symbol_table: df0627c52620cf6e30c96450283a76175c4d1a49dc7ffed195a02e3cdde5ed89 diff --git a/tests/expectations/compiler/compiler/function/duplicate_parameter_fail.out b/tests/expectations/compiler/compiler/function/duplicate_parameter_fail.out index 987fc6757d..220d9627c8 100644 --- a/tests/expectations/compiler/compiler/function/duplicate_parameter_fail.out +++ b/tests/expectations/compiler/compiler/function/duplicate_parameter_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Error [EAST0372016]: variable `a` shadowed by\n --> compiler-test:3:23\n |\n 3 | function main(a: u32, a: u32) -> u32 {\n | ^\n" + - "Error [EAST0372017]: variable `a` shadowed by\n --> compiler-test:3:23\n |\n 3 | function main(a: u32, a: u32) -> u32 {\n | ^\n" diff --git a/tests/expectations/compiler/compiler/function/iteration.out b/tests/expectations/compiler/compiler/function/iteration.out index 0a6ef33116..fba11f556f 100644 --- a/tests/expectations/compiler/compiler/function/iteration.out +++ b/tests/expectations/compiler/compiler/function/iteration.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 1febcc333f69e7f5ea2e8b9e915c66a23f4e195c6106a31cffb1adb81b90f0e4 - initial_ast: 7df50863de140cd6033391d929212b91180ff90737c536e631f977ddf9eb9d91 + initial_ast: d8cbe08acf55ffb4bbd20cc88dd9d85d7aca6b1586e5f0efdeac2ed50706e2b7 symbol_table: 738974bc93d03e230299143f22c4a8cb38e0962af93e19728f74a6bb8d25a6d0 diff --git a/tests/expectations/compiler/compiler/function/iteration_repeated.out b/tests/expectations/compiler/compiler/function/iteration_repeated.out index 1e674a7437..0ecbc591fa 100644 --- a/tests/expectations/compiler/compiler/function/iteration_repeated.out +++ b/tests/expectations/compiler/compiler/function/iteration_repeated.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ae87aca959c3d818c9259be6ca73eca6ada9633312e81a4df172d833f40c78e9 - initial_ast: 24bdae47f1154abc4c7f8dbe30dde72ae25779e4464e8942968c7fd36f602d42 + initial_ast: fea512a01702a5328a60f159b60664aea649ab8bf975ae4a0a85bb27a6b9de6c symbol_table: 69b32d3a21ca899d23b9eba6603ce9eea7191eb9a7a893e28ef3fcc6b355a4ff diff --git a/tests/expectations/compiler/compiler/function/repeated.out b/tests/expectations/compiler/compiler/function/repeated.out index 8df53265fe..634bc003d1 100644 --- a/tests/expectations/compiler/compiler/function/repeated.out +++ b/tests/expectations/compiler/compiler/function/repeated.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 6b8596d250b3c42a0ff9856eb4a94d28c72b2953313d594f13a5d3f1de6f072f - initial_ast: a21fe86230689152fbfcf3529c818c0ef25fe9f3117de260f85ae84cc535c503 + initial_ast: d06b6fbdc1be32c351fc4efe68ddce3df19937209df812d6652fb428ac3cfa0a symbol_table: 6b9e0d6f8517252051117e01937bb64597c6ee78726e8e03579161084f37303f diff --git a/tests/expectations/compiler/compiler/function/return.out b/tests/expectations/compiler/compiler/function/return.out index 387fac7722..d083a919dc 100644 --- a/tests/expectations/compiler/compiler/function/return.out +++ b/tests/expectations/compiler/compiler/function/return.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d11a4218606717322234d8ea4c4786d6edce90f07abde9e120d597cb0e838ce0 - initial_ast: 9a7092fce407db3067a8ed1a90dbd5613dff7d581d2df73ce7f6701ff64e5e0b + initial_ast: e393b3fa199c3f4456598c910829e3d40ea150f6a400b78d23670a8aae70a8c1 symbol_table: 9a6f8767701001d0691ff622fada6be3d30c274590d54f847ddb76d7b3da543a diff --git a/tests/expectations/compiler/compiler/group/add.out b/tests/expectations/compiler/compiler/group/add.out index df29dce1b5..33953d4c3f 100644 --- a/tests/expectations/compiler/compiler/group/add.out +++ b/tests/expectations/compiler/compiler/group/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a28b88dc36ace78ed0de93b56db7274f16521597ccf1e820a17fdb60a1e3d92a - initial_ast: 7109d173cdd239abf5f0f717e669e300cf7bd4b3bde2158a17d1f16c1b154276 + initial_ast: c01842c4af5c1d75ef3212e1dd93ec48bf6a7e78728f011b7adcb5098e1313cf symbol_table: 915e736b00c979abe896125d986ff41cf16e028842f89cae6440998f85304351 diff --git a/tests/expectations/compiler/compiler/group/assert_eq.out b/tests/expectations/compiler/compiler/group/assert_eq.out index c7be5be649..677a1f8c8b 100644 --- a/tests/expectations/compiler/compiler/group/assert_eq.out +++ b/tests/expectations/compiler/compiler/group/assert_eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 00c3cc87ce3c30894ad6b6874ce6dacfa02c9f2bc171615ff627f06f2e201997 - initial_ast: b6e75e27703bf6b6af69de95f9c22ef2033db46227f5658a9f2e88c33a169b1d + initial_ast: adb2e4901b75c874d1c3be1d9648d0a235b6d0237f4af91dde5e1f81a65535ce symbol_table: fb66c9abb24c6c1bb79dd5fe9e9b78f293292fb3fab04ede561f866c6dc41f8c diff --git a/tests/expectations/compiler/compiler/group/both_sign_high.out b/tests/expectations/compiler/compiler/group/both_sign_high.out index c76de034f9..ad207ee199 100644 --- a/tests/expectations/compiler/compiler/group/both_sign_high.out +++ b/tests/expectations/compiler/compiler/group/both_sign_high.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 7631f3258e3f0f288fd21a0470c43f636b96bbe0f3643dad29353e9b48c63ee6 + initial_ast: 5c421d6026c1c8c6cf22706335772e0ea082d9ff17155e850e1552365d62c142 symbol_table: 9a61702119ebc681917d7cb7e40ecafa00354849326bf1182635f27a28da35e9 diff --git a/tests/expectations/compiler/compiler/group/both_sign_inferred.out b/tests/expectations/compiler/compiler/group/both_sign_inferred.out index ebb310e40c..600e10b505 100644 --- a/tests/expectations/compiler/compiler/group/both_sign_inferred.out +++ b/tests/expectations/compiler/compiler/group/both_sign_inferred.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 97c27f26fd8d201623b1cbb19474a2cb6934c6bda8d4b363c831b0a3193e75ec + initial_ast: 846fc0f20db05076dd31bd17d10411458a732d40205666bd5aa08b6870e2b766 symbol_table: e4a96223c049893c904a90f24d069592b33fc137de0f4816cf92089e63663693 diff --git a/tests/expectations/compiler/compiler/group/both_sign_low.out b/tests/expectations/compiler/compiler/group/both_sign_low.out index 9f76e6c3b2..5c8f13aa8b 100644 --- a/tests/expectations/compiler/compiler/group/both_sign_low.out +++ b/tests/expectations/compiler/compiler/group/both_sign_low.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 772357946f6febbf75a72e8f706975abc242cc805368babdac1e3d047a1d0dc8 + initial_ast: fc83d0036a5042509c9bd27067b66090e09c3cd576d1de1bafc18e37711fc473 symbol_table: 1817d91b99941ddc2590c6a2777ad8f7d4ba26a8b2a3baa3932f1a08eb540206 diff --git a/tests/expectations/compiler/compiler/group/eq.out b/tests/expectations/compiler/compiler/group/eq.out index c7be5be649..677a1f8c8b 100644 --- a/tests/expectations/compiler/compiler/group/eq.out +++ b/tests/expectations/compiler/compiler/group/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 00c3cc87ce3c30894ad6b6874ce6dacfa02c9f2bc171615ff627f06f2e201997 - initial_ast: b6e75e27703bf6b6af69de95f9c22ef2033db46227f5658a9f2e88c33a169b1d + initial_ast: adb2e4901b75c874d1c3be1d9648d0a235b6d0237f4af91dde5e1f81a65535ce symbol_table: fb66c9abb24c6c1bb79dd5fe9e9b78f293292fb3fab04ede561f866c6dc41f8c diff --git a/tests/expectations/compiler/compiler/group/input.out b/tests/expectations/compiler/compiler/group/input.out index 76fd1dd80b..3d30ca816f 100644 --- a/tests/expectations/compiler/compiler/group/input.out +++ b/tests/expectations/compiler/compiler/group/input.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c93f9fd667509aa0aa3896c261cb48c7d579d9856d0a14b96e9b2c7e04566a0a - initial_ast: b6e75e27703bf6b6af69de95f9c22ef2033db46227f5658a9f2e88c33a169b1d + initial_ast: adb2e4901b75c874d1c3be1d9648d0a235b6d0237f4af91dde5e1f81a65535ce symbol_table: fb66c9abb24c6c1bb79dd5fe9e9b78f293292fb3fab04ede561f866c6dc41f8c diff --git a/tests/expectations/compiler/compiler/group/mult_by_scalar.out b/tests/expectations/compiler/compiler/group/mult_by_scalar.out index 2effd4ab3a..d352647908 100644 --- a/tests/expectations/compiler/compiler/group/mult_by_scalar.out +++ b/tests/expectations/compiler/compiler/group/mult_by_scalar.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 7b0236b04ad9caa4039a989b91e7f49021a9daf09a495a9cdad7c371ee196761 - initial_ast: 99e25dcd781ee8514ca93fdb34430f05caf429ed46dafa3189c3d835d680d7df + initial_ast: a122de5ca733792fef68712f04e8b4c2dab923983b05bf68b836a604d8b53e69 symbol_table: ae21cfdc16589d2cdf89c4aabece75367892087e76793cd0d7d62c9a04fa511c diff --git a/tests/expectations/compiler/compiler/group/negate.out b/tests/expectations/compiler/compiler/group/negate.out index 6e3f13aca4..ae17ae5c36 100644 --- a/tests/expectations/compiler/compiler/group/negate.out +++ b/tests/expectations/compiler/compiler/group/negate.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 5e1e23855cb6841ee210c8a24e11cc819e91ce3b087a8c961035c574baa1784b - initial_ast: 491aa1b9665527f07687444cb882f1ae5d363ca3b024f9cc3de36027ec37fce4 + initial_ast: 02881dd63f1667df7621f7220d03bee90d0134c7c2a3ddd1db607d78c3f9c014 symbol_table: 5f48052c64667bf793d8b6c22db7f867a88c1dfbb9341e53b970d6bb9bf3a11f diff --git a/tests/expectations/compiler/compiler/group/one.out b/tests/expectations/compiler/compiler/group/one.out index d9e59d7ef5..b62c9536d0 100644 --- a/tests/expectations/compiler/compiler/group/one.out +++ b/tests/expectations/compiler/compiler/group/one.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 5a4b6b18074e63ba98467539a224838675ea3f08b945b554c23df2f22f730181 + initial_ast: 7f6c50c98d31b4f08367ecb0fc19c3b61c3191f835549b2d0d662c87e0851539 symbol_table: 1459210791fd0aae2827b2b7c3fd438e7a8315b290e23cbfe365b4214d5cd284 diff --git a/tests/expectations/compiler/compiler/group/operator_methods.out b/tests/expectations/compiler/compiler/group/operator_methods.out index 5876862ea9..745b785068 100644 --- a/tests/expectations/compiler/compiler/group/operator_methods.out +++ b/tests/expectations/compiler/compiler/group/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a60503e3f83fbee658d02fb3806b3a3326fc6d4f4e43ac05bce7b16ac0552edb - initial_ast: 07af6f05d46a6cd91085fb1aaf8a0fcb9cb2c05ccf60fd5fad5449e9fbf079b4 + initial_ast: 0e6f2e7b2c82ef8fb2e530557040d8214ff2ce50eb0c8248dab4e76f68d1318e symbol_table: 3eec749e9dd6f72ae053f0af3753be405331fdf01739a80df8b1a90c03923d27 diff --git a/tests/expectations/compiler/compiler/group/point.out b/tests/expectations/compiler/compiler/group/point.out index 290500e5a0..c917c32b3e 100644 --- a/tests/expectations/compiler/compiler/group/point.out +++ b/tests/expectations/compiler/compiler/group/point.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 7031bc0fd844a95ff14f558d113c6c5701834489713c2e9050d42b80e32fa2d0 + initial_ast: be7d54bb4f2be072f524f7f4ab74b236fe19e7800c2c1bd8900a00601c2181a1 symbol_table: ac8c4425959cf548f2f0edc8aa637b1d827394f11fe2c10ecef366a803fe30a2 diff --git a/tests/expectations/compiler/compiler/group/point_input.out b/tests/expectations/compiler/compiler/group/point_input.out index e748d7ddcf..0769b0fbf2 100644 --- a/tests/expectations/compiler/compiler/group/point_input.out +++ b/tests/expectations/compiler/compiler/group/point_input.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 1b5330a3356c437ddc09afc027d1365eedb24c56777772fd83b9167cfebb4435 - initial_ast: c90971ebee1da3c277fef3288af860eeca4997ba9807a8038a3d1bd03200d277 + initial_ast: d938427434278d3bdde454de609a26f685ed2cb658d8915615732f27295935a7 symbol_table: b914736fbf23a1386a58c96fd9011214dd8a7393446dad3222c8551d8db979e6 diff --git a/tests/expectations/compiler/compiler/group/positive_and_negative.out b/tests/expectations/compiler/compiler/group/positive_and_negative.out index 1756493b9b..41234651d1 100644 --- a/tests/expectations/compiler/compiler/group/positive_and_negative.out +++ b/tests/expectations/compiler/compiler/group/positive_and_negative.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 32f2a58463cce89611be1ef90aa7f109f3c86c8c2ad87b11c4ab62127ac8c969 + initial_ast: c97329be67efbf490a3ad79279230380b62768d0ebac3ad05921e48bf3d36465 symbol_table: 7e69e6875d7b047f525e435533e6b299da0779cd28edbf4190f2b701c79d74fb diff --git a/tests/expectations/compiler/compiler/group/sub.out b/tests/expectations/compiler/compiler/group/sub.out index ef505d4d3d..5004b9a91c 100644 --- a/tests/expectations/compiler/compiler/group/sub.out +++ b/tests/expectations/compiler/compiler/group/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a28b88dc36ace78ed0de93b56db7274f16521597ccf1e820a17fdb60a1e3d92a - initial_ast: 97ab784d4cdbb80329f8284003c821fa956e5b4913277813136217849815200d + initial_ast: 1b286c593d7a81c3e09ea3082d92c61243d7220565f361bd567e524db28cf2d3 symbol_table: 4bbffbffd675aec67af4ce2fbf803ec463900233ce1ad4049c7bb8092650859a diff --git a/tests/expectations/compiler/compiler/group/ternary.out b/tests/expectations/compiler/compiler/group/ternary.out index 225d3e98a1..4e6b9263f0 100644 --- a/tests/expectations/compiler/compiler/group/ternary.out +++ b/tests/expectations/compiler/compiler/group/ternary.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d12e492b73a208051457ad2ce9ed8dbbb5a8096f32f52d697c41972ba8b88d35 - initial_ast: 5d6e9ede195a3cfc06f7a91b47937247e6ffc237b57e37859a6d0e5cc966b762 + initial_ast: 680e56eae3e22960fd7dee9220158b09ccb603cec05b0264065a5381625e77f2 symbol_table: 52a5d14e586868e2465abde3c15f47d151290737d408944c1474483e3050e399 diff --git a/tests/expectations/compiler/compiler/group/x_and_y.out b/tests/expectations/compiler/compiler/group/x_and_y.out index 2714817136..ccbe2733f3 100644 --- a/tests/expectations/compiler/compiler/group/x_and_y.out +++ b/tests/expectations/compiler/compiler/group/x_and_y.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 3cf73b90d40fce8273b69ccf99424ad3b5f8fce2999d06bb1413428280f17f7d + initial_ast: 8767ce0a4618b0e2998c831edcab6eec5da3a8bf585ac96eb98399048e313c3d symbol_table: f33f5b0c84aac58327880b146c570d74ed3118e93247b4a05680ae2c451db5b1 diff --git a/tests/expectations/compiler/compiler/group/x_sign_high.out b/tests/expectations/compiler/compiler/group/x_sign_high.out index 4a6dbe9466..3fd32eeadb 100644 --- a/tests/expectations/compiler/compiler/group/x_sign_high.out +++ b/tests/expectations/compiler/compiler/group/x_sign_high.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 0ae122eb2bd121db2f072a8d79afbe3d0ad1023e7a4aaee2e4e9f4ba5c1a3c36 + initial_ast: f701a6fd8d1d446de7e2d298f3d453a1a5cde4e2e8c2a38a9d16db644b3e5fda symbol_table: 2d0db26fa84f8daad71afd4420718043de1c97757ae4fe4fa78e9874891d1d80 diff --git a/tests/expectations/compiler/compiler/group/x_sign_inferred.out b/tests/expectations/compiler/compiler/group/x_sign_inferred.out index 456342cc4e..304f25d185 100644 --- a/tests/expectations/compiler/compiler/group/x_sign_inferred.out +++ b/tests/expectations/compiler/compiler/group/x_sign_inferred.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 81f062d4ca72bbfb62d447cfe23d0658b3b40a4caf3ca1fd37db833a3a6ba9f5 + initial_ast: d66c27bd7b6fb38c9d11a8033b5164bd015f74d5cf41f1ade00d62a5d8949285 symbol_table: c20979f64468655131a488980c1de31384fd7ff35561ed569c3db6f2d0bc19cc diff --git a/tests/expectations/compiler/compiler/group/x_sign_low.out b/tests/expectations/compiler/compiler/group/x_sign_low.out index 0ca7dfa48e..9d7795ac47 100644 --- a/tests/expectations/compiler/compiler/group/x_sign_low.out +++ b/tests/expectations/compiler/compiler/group/x_sign_low.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 2b60be6820f8dc537b2ab9ec70e4981d93d0c68ebdc71d9437345e57c66505bf + initial_ast: 2c30c331e9fc9c7685c43d74ac175881a34de43620935addd3299c43e7b3a743 symbol_table: f450d14b0bb862b0bec4a5f8d41eb92f7cf951dee469505fb20dbfa25972eb7b diff --git a/tests/expectations/compiler/compiler/group/y_sign_high.out b/tests/expectations/compiler/compiler/group/y_sign_high.out index 78d10e6df4..20e74e8f22 100644 --- a/tests/expectations/compiler/compiler/group/y_sign_high.out +++ b/tests/expectations/compiler/compiler/group/y_sign_high.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: c92281b28b5166cfa0cb458bb6f21dcc71d67dfe1f8bb757945c575cbb92a549 + initial_ast: 1f0d73c3a677f0d0ea7734070cbc35aa456da10c25f24088d44cbcdabf09f48e symbol_table: 52760622da95d189f6e707df97fc6bba4216fa59022a4ae79d840b9c05fdf5b1 diff --git a/tests/expectations/compiler/compiler/group/y_sign_inferred.out b/tests/expectations/compiler/compiler/group/y_sign_inferred.out index a33a378e69..dd4db75b2e 100644 --- a/tests/expectations/compiler/compiler/group/y_sign_inferred.out +++ b/tests/expectations/compiler/compiler/group/y_sign_inferred.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: b5c2ab86061f7dcae809f6a707559c1738a0f0a2352270ca3ff91a3242d70af3 + initial_ast: b38c8dbd470cd55d70be0b90130aeb6702c21638698351ab5de509d6d33eb441 symbol_table: d3bf69e78619e63bc1c56c1efe49712b226f5d477e1c42491d0b31e24d5a98a7 diff --git a/tests/expectations/compiler/compiler/group/y_sign_low.out b/tests/expectations/compiler/compiler/group/y_sign_low.out index b4cfaada3d..87e41541f2 100644 --- a/tests/expectations/compiler/compiler/group/y_sign_low.out +++ b/tests/expectations/compiler/compiler/group/y_sign_low.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 1d5f67161857e1ef3195099a1a04370ddf33dc3eebade9e1a5e0f6266c495a75 + initial_ast: 2d21a4e5492395067852feb4660f734bc44ba99cbf032886c6d200b127413a84 symbol_table: 026430e928e2236167d6587cb1885784f30bbc916f75d3a0f42fa7a3f2c6978b diff --git a/tests/expectations/compiler/compiler/group/zero.out b/tests/expectations/compiler/compiler/group/zero.out index 23ab78f3d9..e60c12ee89 100644 --- a/tests/expectations/compiler/compiler/group/zero.out +++ b/tests/expectations/compiler/compiler/group/zero.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 31edb6eef4b9fa47acfb94f0f8f7ec9f50667501c7dc6bb5c643a65be90cbfb7 + initial_ast: c5ded6e2a1ec9381079bb3622d43b0eacdd4e3112ccbc2ef6c418e3dee1c6b43 symbol_table: b181fa2d3c50419dbdaadbe2e91aa4a3e17baa614b0635f9ce6fa7367ead48eb diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main.out b/tests/expectations/compiler/compiler/input_files/program_input/main.out index 96ac4c9a6e..4d3d758f56 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/main.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/main.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 23e62412d2a9377334d90aaeb6629b73c77e045ce87f23bd6ae2e2cd242e70f0 - initial_ast: 62a908a53573e228fec4b308f637909227856abaf327f527c23dd63e739d77d7 + initial_ast: 8344a7fc1a6c3568122302a0a1a51ef56caa22da8f300da67798fa24d9607203 symbol_table: cac29305ef425fae4d6addd2f4718f0a5c17e9289e36ed0800f05029aec41725 diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_field.out b/tests/expectations/compiler/compiler/input_files/program_input/main_field.out index f6121fa84d..de028b638f 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/main_field.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_field.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 2b6bc4ade2305a65746066befacf6a0a18382f754d4d7911d0c6e0abef682114 - initial_ast: 4d5c44da11b6644f95211ba6ebac1a6ca45ffbc63248fbc42a92a26e109cb63f + initial_ast: a2600da0a54e2c80ff26da17fc46a03909f39746d410cbef07b679ff688037bd symbol_table: 14be7abd0daa58df1a7860e592d0e74a3342a7e02220e9dcf314e5241b2e335a diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_group.out b/tests/expectations/compiler/compiler/input_files/program_input/main_group.out index 0b363183f8..01cab389c4 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/main_group.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_group.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 4001f721e97052bdea8fafe39846356011e335e40281e0082c0b406cd6a85947 - initial_ast: 947309cb1c78f8b954bd55ccb34e84ce39f7988991c9f6c2ae6408257c979665 + initial_ast: e914a3203506d1f6f581c9249b1a05725407441a797f715e1e8dd42c9af288a1 symbol_table: 3b68eff86b45e4f940b0a1031e19a64178b0bf802acb59f3b743e664f3010876 diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main.out index 5b47937131..1b12e15ddf 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: e626f055978f5125bc292065d74aab5b679229a5364f150ccbe1f07d0c167c3d - initial_ast: 22df0e8dcc96e127df94438ebdd1111070afb5f2fede13534a9aeb0d20885246 + initial_ast: 9b844ce4a3b1cee1b74fa360babf86e63d9801c6d19b6c9b010149d1be4a92dd symbol_table: 4c358989979d4d1695377272c96dfdd2b542d8a51d7287cd5f49648bb41cc80c diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_field.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_field.out index 7dc859a012..3bfa74749e 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_field.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_field.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3eaa98274698edacf455de40418ea012234a1355d5b50b9063ee0e06d3d26709 - initial_ast: b1647dfd919968219b01ee5ff48ba97b155d8d40702498a69ff712b59c4a908f + initial_ast: 7f0e5dd7120dda510faad4ee0620b8d5195205f48baed233ab5d0d31edb3317e symbol_table: cdc88125facd852bdece13f8d69d58b91ef178c446853d5fdacfff157754a617 diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_group.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_group.out index 3d90f9b6ba..ea88f5ae39 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_group.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_group.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 4efe3ae5f2d6a95663ca302b60d4e430b63bcb7c5a19d638ec7613b7dc099825 - initial_ast: f88e91c98500ea74503f284eb75e2e25857d9092257166716025bc9a95584b9d + initial_ast: 225f5e0beac7bc8407d23f081dfe2dd38f76ceb09d6cdb42f84ead7c443f7548 symbol_table: 55bc8e2b9a06ca5c79234cece0340bb5ce3f83cb7929357e53398adcb279d93c diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multiple.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multiple.out index 8702b09965..f7be8d3397 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multiple.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multiple.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: e7173f6b8aa8aa40bcb167fa4de0b5d5a7f1b6d245a78dcb5ad70a73b53ef7de - initial_ast: 314c2343d15bc5676eb5669e9a7a193936ce32ea4f2c7a1ab10719202314e4ee + initial_ast: e54b6ffa60d6d5c8556f4c93a726034c4a252ae827c804afda31e66205b7baf7 symbol_table: 7b106dad757b786994e20ab7d77ad40365d2425d70977eac8163802fcdcf4806 diff --git a/tests/expectations/compiler/compiler/integers/i128/add.out b/tests/expectations/compiler/compiler/integers/i128/add.out index a390adcc3f..69013b3481 100644 --- a/tests/expectations/compiler/compiler/integers/i128/add.out +++ b/tests/expectations/compiler/compiler/integers/i128/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ca7500628480432228743b9eff2cac69e433bc0a9da6ce007cae38ef9c2b57a6 - initial_ast: 07374055a6d078ecbf9f3c76a3c63cef7b529a583333afc655d1f7b22c8fd054 + initial_ast: 1b614e22a828ca14d569f458ec9a80fd6379587966ece6f9fe43091487c94f55 symbol_table: 75a7b5f068d1a3aa4525940a14a052bd4821c0bd3c0d4a8c097d51fedbc7da70 diff --git a/tests/expectations/compiler/compiler/integers/i128/and.out b/tests/expectations/compiler/compiler/integers/i128/and.out index 4514c8d009..973af518f6 100644 --- a/tests/expectations/compiler/compiler/integers/i128/and.out +++ b/tests/expectations/compiler/compiler/integers/i128/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ca7500628480432228743b9eff2cac69e433bc0a9da6ce007cae38ef9c2b57a6 - initial_ast: 210dcc0f1e9522a7a7ada3b633f1ce0401f8c53ad0acf3e59f60772b51f35899 + initial_ast: 23795ebebd47d67d491b6bceb7971502e01b53092d9712ea8b01b9813de54950 symbol_table: a742e82f32759705a4d3a5c60b8e8301572b7a27ba98cabb65cf62ac928502f0 diff --git a/tests/expectations/compiler/compiler/integers/i128/console_assert.out b/tests/expectations/compiler/compiler/integers/i128/console_assert.out index b3133c40d2..1489bdb104 100644 --- a/tests/expectations/compiler/compiler/integers/i128/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/i128/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 86fc147511a8405918da9d9f5e40b2daccb441e80b793287203d30b21bb5600a - initial_ast: e684deb39dd4d7d41b1d5062f5f025df84d1998d16a59871d53f211dd9d9cce2 + initial_ast: ba53d62fc6008d5f596aa272b4b0d647f81105e9881142a78bb72b2f7b97f345 symbol_table: 7cc5d72ca93dcbdcf6845170e300c67d2ae24453cdec6681d1d76d6734abd52c diff --git a/tests/expectations/compiler/compiler/integers/i128/div.out b/tests/expectations/compiler/compiler/integers/i128/div.out index 3408f39c06..879c1a239c 100644 --- a/tests/expectations/compiler/compiler/integers/i128/div.out +++ b/tests/expectations/compiler/compiler/integers/i128/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 8562aec00f8be8367748af8197e2add488cbae2e0931674b68581744dbaafe61 - initial_ast: ae2ef5614de8c31c25df7bb8cea87eb00ac8c154fb4a0ead71dfc306dc836b66 + initial_ast: 18173c7935b71697d3378aa0efe62a7481dd570dbdcf0bdc391ab07649ad5e55 symbol_table: ba4421a012de91b2502d9fc6e58c7197ad1f98197ae9680e3398b80b57cc8e21 diff --git a/tests/expectations/compiler/compiler/integers/i128/eq.out b/tests/expectations/compiler/compiler/integers/i128/eq.out index c947e43352..c5fa4d6e38 100644 --- a/tests/expectations/compiler/compiler/integers/i128/eq.out +++ b/tests/expectations/compiler/compiler/integers/i128/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a4d1618b78d6f649f06d5f58f5ae0bb45135717abf3feea0541698ddb0212ec6 - initial_ast: 44bd05c77cfb936ae6363fd532803e6939b0893d887d4e85b205ab3517ecfefa + initial_ast: 4ccde5ae5904bb12cc50606a4ab05aa70db4290b15763afb313ec83a52a7e30b symbol_table: 147e5a1e6562c81e3e4c24404b43c292203e1b73d16d8518a98d85e264493c6a diff --git a/tests/expectations/compiler/compiler/integers/i128/ge.out b/tests/expectations/compiler/compiler/integers/i128/ge.out index 12058c13b2..37a57898e1 100644 --- a/tests/expectations/compiler/compiler/integers/i128/ge.out +++ b/tests/expectations/compiler/compiler/integers/i128/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 14e51b70ecee1d7bbdd5c37abf0d03f2c620fc9d31d68135108e241d78f738a6 - initial_input_ast: d5462c67471a54461a3e8bdca815ec0700534c47e89ee9adc34f1243c53d1f11 - initial_ast: 190357900b121a5278ca1cd8174bc13a092dd3babf9727c03fd27ab51066ba29 + initial_ast: 2c55770339cbcd0f2f3e8528aae7a9f948adc4f24f7a84e47b47c41521919bb5 symbol_table: 527f8077d79a806e327a10844c26ad68bcea3092a1e3ca4015b92d8339869dbe diff --git a/tests/expectations/compiler/compiler/integers/i128/gt.out b/tests/expectations/compiler/compiler/integers/i128/gt.out index 5194017de3..af1a24634b 100644 --- a/tests/expectations/compiler/compiler/integers/i128/gt.out +++ b/tests/expectations/compiler/compiler/integers/i128/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: dfdb458d96c001da809b9b656e1f32b1b3936303033136bb8fd8c99d9732dde3 - initial_input_ast: 8687bd99746f218264adc45a810fb6e16cf8ead9f64d63faa7b376e4e3907f84 - initial_ast: 1b01fc5c167c9957c4f631fcf1e494444822f748f3abcc977d13263a0a74cb9f + initial_ast: 285d42a44df4131187f424983c2cad3aeeb4ac6273a8cde470cf2c1909310d43 symbol_table: a11f905fe22b3bda39f07d2c754bf100378792d241ca40bd359dcdd47029842f diff --git a/tests/expectations/compiler/compiler/integers/i128/le.out b/tests/expectations/compiler/compiler/integers/i128/le.out index dfed5a65ac..6179ee3602 100644 --- a/tests/expectations/compiler/compiler/integers/i128/le.out +++ b/tests/expectations/compiler/compiler/integers/i128/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 14e51b70ecee1d7bbdd5c37abf0d03f2c620fc9d31d68135108e241d78f738a6 - initial_input_ast: e34798d157f456fecf7ceed2e406c6b76e0b1bcda3a7110f56de0df10472b3c4 - initial_ast: 3396a4771011467bf2f248f6346e7c2c5dae8dc8b14eddc39a58d180538a506d + initial_ast: 7c4c49947cd85e6b1b3d499a3468d06514e527e0eed7dcec95919e7af1736770 symbol_table: 594c5f431622dbf26c74e172ee0230afc7515bc864de2e8d4c4a8dca77a19faa diff --git a/tests/expectations/compiler/compiler/integers/i128/lt.out b/tests/expectations/compiler/compiler/integers/i128/lt.out index 6d5e6369aa..e5f61bf7ff 100644 --- a/tests/expectations/compiler/compiler/integers/i128/lt.out +++ b/tests/expectations/compiler/compiler/integers/i128/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 8ed1bfd98e5df545f33dfc3b622573a028950b9f44a6038d84d903839ce6b226 - initial_input_ast: bc33c98fd9b5eba7bd68ca76eea533e137e786f4b75b79421de10134b56585df - initial_ast: 66cb035a3d249a394e8dbbe19cbc02f5cddb844a78bc80c838c7cab191fe9701 + initial_ast: d1720975946b23cc3d046fe3ea5749381d7cd83f580d7ca84c1c118e42c02467 symbol_table: e997aaaf93a01bb0b4e30eb468cfe78a5956f9401aca6bacdae452bd4c00760f diff --git a/tests/expectations/compiler/compiler/integers/i128/max.out b/tests/expectations/compiler/compiler/integers/i128/max.out index ac07012600..54b67bfb96 100644 --- a/tests/expectations/compiler/compiler/integers/i128/max.out +++ b/tests/expectations/compiler/compiler/integers/i128/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a2ab6a89c5952a113fbecdeb630917b4699c38dcda5971528ab35cdd5e92c216 - initial_ast: 76fb816766ffe11700b4c2a7ebf8502f09b7a5ca9f616fcfb1fbfc083d70b91e + initial_ast: c2eaf36df608a847fd9e149edf053c5285e8f8fd3d208ca5cf308d03e90bab8e symbol_table: 495dfe6db0ab7c20e48db8c10ffd3da7ef50ec17e4db98f8d9b1ed4aa2fd177c diff --git a/tests/expectations/compiler/compiler/integers/i128/min.out b/tests/expectations/compiler/compiler/integers/i128/min.out index dbcc402510..33f62fe102 100644 --- a/tests/expectations/compiler/compiler/integers/i128/min.out +++ b/tests/expectations/compiler/compiler/integers/i128/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 1480b753150538db3f133e6491506ee264d39be8d1c0dab484cd81a20f24cdd8 - initial_ast: 03f31393c00a98648f946675297b0c1bcefb2660ec10f96a955eec09fcdefecb + initial_ast: aaacdc16389e316762a661fa945ffda66cf1904da3213a2c29a442ea6b2c2d7d symbol_table: 0138140a2caf579059df162c1a92b527056414a2396550814c3c84bd12d7cf21 diff --git a/tests/expectations/compiler/compiler/integers/i128/mul.out b/tests/expectations/compiler/compiler/integers/i128/mul.out index 32b90eb189..6ca3ba2e99 100644 --- a/tests/expectations/compiler/compiler/integers/i128/mul.out +++ b/tests/expectations/compiler/compiler/integers/i128/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 42fddcefe5cf53169d184a40cd71b49276704e081253906c01f79604ade70767 - initial_ast: 275429c58b52b8d80540eeeffe81ea7182132b42bbcbf9314eb6d87cedf769e7 + initial_ast: dc84a6be925795e467362c83f9e930edf3097542454dd0b6441141a10281d7f2 symbol_table: fa9c7261b63b0d768f87a8065354877126ba1738feac8f3e672e5d7965197fb5 diff --git a/tests/expectations/compiler/compiler/integers/i128/ne.out b/tests/expectations/compiler/compiler/integers/i128/ne.out index 6a1b55a5eb..a426f5ed64 100644 --- a/tests/expectations/compiler/compiler/integers/i128/ne.out +++ b/tests/expectations/compiler/compiler/integers/i128/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 63066c216028b02a42d2eac61498268917858ed1821c2ae0e58717b82d7bbf8d - initial_input_ast: 7446cc6978fba2a498bc55383084c51e05a9bdba1eb03ddb311d523be65585ce - initial_ast: c9f475f9bad29101a941423e97e83757441cc28efa410434f9ae27839f07bafa + initial_ast: d143cf7b5bbd4c9d96968777a9c959120eabc1f353a03af591fab4f453d2fc3d symbol_table: 6df84e8c35b17fadf07a0cc4f163b2ff8bbbe55cbba53cd83d65cba2db965ece diff --git a/tests/expectations/compiler/compiler/integers/i128/negate.out b/tests/expectations/compiler/compiler/integers/i128/negate.out index 4478728deb..837987bfdf 100644 --- a/tests/expectations/compiler/compiler/integers/i128/negate.out +++ b/tests/expectations/compiler/compiler/integers/i128/negate.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: b7ef231f7dd6bc63f301a57ffd5da98fae92d14999aaf72c94c85aa28ee66ab1 - initial_input_ast: cfe2ed866172bc2b8ed033f9e5086dc5e518e7305631123537e5e7ce2697ec25 - initial_ast: fbb42eff2dd3ea8ef4e74f998d10ba76ea3dfb4f5789484fc876bc54c8b582f9 + initial_ast: 93be39b26ef0517d0db97a0ab0a26c4ac0aefc491dc79a95bdaebb6cab37e6c4 symbol_table: f43a32ec834f7d09347e6c6b1d625486e7633485be2331a46acb573d79a4cc76 diff --git a/tests/expectations/compiler/compiler/integers/i128/negate_min.out b/tests/expectations/compiler/compiler/integers/i128/negate_min.out index 5bffc5aacc..1cc20d50fd 100644 --- a/tests/expectations/compiler/compiler/integers/i128/negate_min.out +++ b/tests/expectations/compiler/compiler/integers/i128/negate_min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d2117e2d504b1c95edd7f81c2fb111787aba0b797e0f076fbb473971dc0d3639 - initial_ast: 656d8d0ee36bd258a452ad524cf0761e432dc5e39ff990dd8c1aff5246cfd81a + initial_ast: afab5075856790476e7b28fdabc56f437ac4b116d6565e61d8fc46f901577803 symbol_table: d5d7187bc4868636bebb87a40e06a058925bef5401c8f45b7f104c7b6b19f939 diff --git a/tests/expectations/compiler/compiler/integers/i128/negate_zero.out b/tests/expectations/compiler/compiler/integers/i128/negate_zero.out index cb065e405c..769ef4910e 100644 --- a/tests/expectations/compiler/compiler/integers/i128/negate_zero.out +++ b/tests/expectations/compiler/compiler/integers/i128/negate_zero.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 34fcde78f661247ade77dd607c349139ab960d39b6a5e10efb7102e0f52aa9de - initial_ast: 679872f43b04fdcfeb4cc560f3e2f95831adde9a40dea1cdaf28b73ce08aba90 + initial_ast: ae95bf1ba4754b99019cbf21842abfb41baf61e0a758e04262f5acad493671bc symbol_table: 16c331ccf043feb4297a0852c91009c7f8a5c49014909b341e924ae0c5ed0057 diff --git a/tests/expectations/compiler/compiler/integers/i128/operator_methods.out b/tests/expectations/compiler/compiler/integers/i128/operator_methods.out index a1b04e778a..4d7cb31555 100644 --- a/tests/expectations/compiler/compiler/integers/i128/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/i128/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 7a421e06f3d56a5ff35cde69dfc10576b6c08f46a54ba24a666faa06e05d22a6 - initial_ast: e7106189c908d27971e18c74d402859225869a735452ee6546d5c0958e459575 + initial_ast: 272d75229a96f76ed8cfdfa86f41373dd2b2c2931e05237914aeaf262a0781dc symbol_table: f54ceb4e723625968cba981d0b2a60ca4abe7dd0db60aff456a82053d735f396 diff --git a/tests/expectations/compiler/compiler/integers/i128/or.out b/tests/expectations/compiler/compiler/integers/i128/or.out index 02ce6b068b..db3a10de39 100644 --- a/tests/expectations/compiler/compiler/integers/i128/or.out +++ b/tests/expectations/compiler/compiler/integers/i128/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ca7500628480432228743b9eff2cac69e433bc0a9da6ce007cae38ef9c2b57a6 - initial_ast: da3f6e496c8765a7fd3bc91bac882ad9ff142b05b78d437161de77cfa9e93d77 + initial_ast: b6e1da7d4d009d8d22a5f292823b2eca21c2a0116d2725d23d4f464da8f61ea2 symbol_table: fe91fa1a007ec9cd5db787e4678cf1aac51c6ac51b6ca6645534abde9273edb4 diff --git a/tests/expectations/compiler/compiler/integers/i128/pow.out b/tests/expectations/compiler/compiler/integers/i128/pow.out index d8fb65bdba..65ff473fa0 100644 --- a/tests/expectations/compiler/compiler/integers/i128/pow.out +++ b/tests/expectations/compiler/compiler/integers/i128/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a2ddf46a6ab6a9ae23438bad4a04a03e699f74cf478054017008197940e1c816 - initial_ast: 40f8374b33869991660bf29065ce5a7bda015b3860e1d4d122ab47d6c9d8c527 + initial_ast: 9c710593fe5de30d04fad41dfe35dfb298e8d3f27a1148f866e9f283fe73cb19 symbol_table: a9b558f0e2976996dd11291b7b0417e89ca69178d2d8e24986ce85017dcd989b diff --git a/tests/expectations/compiler/compiler/integers/i128/shl.out b/tests/expectations/compiler/compiler/integers/i128/shl.out index db41b5cbf0..e5b9f4af05 100644 --- a/tests/expectations/compiler/compiler/integers/i128/shl.out +++ b/tests/expectations/compiler/compiler/integers/i128/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ee62d8508ac57ff5e421f4524903e8a65375db4e08db14fcaf0cec4f11974ce6 - initial_ast: 48cf3da6026d7c545126575a39d3210415f1fcb1732d668c6d22cdd7c88878cc + initial_ast: e5a598bf7ad1daf0aff1e66c1fc0582f1bc1092ee82408902add1ec7b7a756e3 symbol_table: a0949da0c6778c10242222140af0733f59e494055a5dc9b3aa6178ceae66956c diff --git a/tests/expectations/compiler/compiler/integers/i128/shr.out b/tests/expectations/compiler/compiler/integers/i128/shr.out index d3de2a3fa7..e33eb80594 100644 --- a/tests/expectations/compiler/compiler/integers/i128/shr.out +++ b/tests/expectations/compiler/compiler/integers/i128/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ee62d8508ac57ff5e421f4524903e8a65375db4e08db14fcaf0cec4f11974ce6 - initial_ast: a1995d34c2fc6bec480cef2270472ffed393936d5f6f6f72bf3d720d65336b20 + initial_ast: 17351e6e183381eebc641570aef398b47069b1de4313baf027ab751de8586a0f symbol_table: 0dd642732eec4756c401a3188bf743b6ad84f7591664c93c560e7b3757cb0b11 diff --git a/tests/expectations/compiler/compiler/integers/i128/sub.out b/tests/expectations/compiler/compiler/integers/i128/sub.out index 02d05502d1..0e1f7e533e 100644 --- a/tests/expectations/compiler/compiler/integers/i128/sub.out +++ b/tests/expectations/compiler/compiler/integers/i128/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 4b489f1abc0cef5123b21e23de7a754ec616820ece226c08584e511216a9bda1 - initial_ast: e4c37027d24f38f95598bdc92a184b6ac411eb63addfecc5869b5d241f5732d5 + initial_ast: 0ab419d67d44b154ac4f3dba45598759b416b584231c0ffd55d22a122046f184 symbol_table: bfa588d2110f19026945c27f89b0b0c82c42bb370f253bb769909bf10191e06c diff --git a/tests/expectations/compiler/compiler/integers/i128/ternary.out b/tests/expectations/compiler/compiler/integers/i128/ternary.out index 409b1f8978..2c1c0828d3 100644 --- a/tests/expectations/compiler/compiler/integers/i128/ternary.out +++ b/tests/expectations/compiler/compiler/integers/i128/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 79fd283874b08961452d9a787c30439a1e551a2866a636368f4d17f8e88985de - initial_input_ast: 31e8d186f6c363350a67a31ede99b55c376ffc7a2ae779dcf0aedb43cb94979e - initial_ast: 4de7b18747a3626dc77775180ad482caff806b2a6cf88318956471407bf000a7 + initial_ast: b436d5433c4df5d8e025ff843609408dd591e05ade2868c61c0fcf7e10242d93 symbol_table: 8a9672e411a204d821d48c0052000104cfb79332a41230151c5b2068c43beeba diff --git a/tests/expectations/compiler/compiler/integers/i128/xor.out b/tests/expectations/compiler/compiler/integers/i128/xor.out index 5e594ecaa0..18ea445cc4 100644 --- a/tests/expectations/compiler/compiler/integers/i128/xor.out +++ b/tests/expectations/compiler/compiler/integers/i128/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 24836b073b76f7a0d3248569022711039180676965e828443fa77db4ca49de81 - initial_ast: 67682b0f37d8433be92c854d4a66d7d48b55d50143af3dae7880c3520ae7bde0 + initial_ast: 7565e79f5b0702a13765da3559f1312391f7c81deb1318460c3326f6e78c8c17 symbol_table: b49663ae6742a54b2adce3f351d27741a069818b5de03c406088b81922898595 diff --git a/tests/expectations/compiler/compiler/integers/i16/add.out b/tests/expectations/compiler/compiler/integers/i16/add.out index beb237b89e..51f3aab4ca 100644 --- a/tests/expectations/compiler/compiler/integers/i16/add.out +++ b/tests/expectations/compiler/compiler/integers/i16/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ca6ab55d11bc84ae5e5442cbc17ecf2f2ff6d31041d98a43c9710c2e3a7f7ff9 - initial_ast: b869cd86791b366b69f05ea45ea7d37bf002fbbee22a6b08b319f9be9bf43597 + initial_ast: 46b28dc81a779ef934ff81a3fc7f8af58adfcf3483701b74762eb2ac3c9842f4 symbol_table: a2a5374e27f9e4175bda35feddefc989dbee536a9a9323184d77da8f29c22439 diff --git a/tests/expectations/compiler/compiler/integers/i16/and.out b/tests/expectations/compiler/compiler/integers/i16/and.out index 6df6afaff7..b3403d4c9f 100644 --- a/tests/expectations/compiler/compiler/integers/i16/and.out +++ b/tests/expectations/compiler/compiler/integers/i16/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ca6ab55d11bc84ae5e5442cbc17ecf2f2ff6d31041d98a43c9710c2e3a7f7ff9 - initial_ast: 809452097bde742b77243261863cd9d5b404f9e87f271ff0c3a51d024d7a3277 + initial_ast: 44ec13a9fba63386b456081dddef454e5082c7c0852ac043e3b358ccf5462a83 symbol_table: bdb224fe4c5a6958985b649494b834a44ca9f6dfa500ff68490a0e710beb63ad diff --git a/tests/expectations/compiler/compiler/integers/i16/console_assert.out b/tests/expectations/compiler/compiler/integers/i16/console_assert.out index 5623ef38b1..eff680a7e2 100644 --- a/tests/expectations/compiler/compiler/integers/i16/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/i16/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 71d4c15605c3975991ba51378ef4148d6863656fdb491a93573bfc03dae3dc62 - initial_ast: d24648724406b90c1de2b9361bd80216082a2d7bc08613861cd84718c82f1b5f + initial_ast: 02d3a9bb8f117fb69aed081dcf4258af18c8c81c2933474095d13c6480d0bd30 symbol_table: 18b080b998dff3e057abe7078fb659d100695bd7e39e2252f42d610ffbffbf5a diff --git a/tests/expectations/compiler/compiler/integers/i16/div.out b/tests/expectations/compiler/compiler/integers/i16/div.out index 1544f876c5..5570226558 100644 --- a/tests/expectations/compiler/compiler/integers/i16/div.out +++ b/tests/expectations/compiler/compiler/integers/i16/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 17f36a9515beff0798792f878b29efd08dd2b9b1b34b08592dbf49709f48260c - initial_ast: 22557d30c694c0b0e91c73a967422e8f8ec668125008e1157d49cda1bf5558bd + initial_ast: 4b97cb522d1ed042b2baae78279dafb36c3309a030c060ebf04997bfeeeb607e symbol_table: 251b05bcad187289e88a5e9a91f7bb733190b42e85ea68a27b28a3eef4d911da diff --git a/tests/expectations/compiler/compiler/integers/i16/eq.out b/tests/expectations/compiler/compiler/integers/i16/eq.out index 4b4cc33066..c5d3fad8ae 100644 --- a/tests/expectations/compiler/compiler/integers/i16/eq.out +++ b/tests/expectations/compiler/compiler/integers/i16/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 7c88546226f65808e9be3e925c8272f9583fbde6ae8b308116819664af8d9dd2 - initial_ast: edbc2daca6bb579a2f1b35b86eebd5f9e39768f8e3cc5ee4c92f2a2dd672af3d + initial_ast: fb175ee0b70b0525e55b99e1777f8652d8d716301ca64f2a48a2889c6b2d7a1e symbol_table: a7d6cc1e90bf64c4a27dcbbd7458019771ac4ababc9609b97b5896490fcecb3f diff --git a/tests/expectations/compiler/compiler/integers/i16/ge.out b/tests/expectations/compiler/compiler/integers/i16/ge.out index dd7ec07403..bc82545375 100644 --- a/tests/expectations/compiler/compiler/integers/i16/ge.out +++ b/tests/expectations/compiler/compiler/integers/i16/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 671dbf588ac06c9aaa98a0b93ae310030698c4459bcc8f5007d0b34e7f5a2fe7 - initial_input_ast: 1fae972c153c7e83794ba4f2b497e92499b793ef1a746da5be203b6d31a06d46 - initial_ast: 8e3ffdad6178e550dc0cb3fb8b8591555c16f536b00015ede86e6f0540d3e610 + initial_ast: feeb45c57443fbed0709951ccf89e45e309bd469f41b4ad124f51678d2b9ae87 symbol_table: 16df6021fab1161448d1214e6ec4bacfa9b0f8a5106f084466a050b919507eaa diff --git a/tests/expectations/compiler/compiler/integers/i16/gt.out b/tests/expectations/compiler/compiler/integers/i16/gt.out index 116717c14f..084af376fa 100644 --- a/tests/expectations/compiler/compiler/integers/i16/gt.out +++ b/tests/expectations/compiler/compiler/integers/i16/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 39fc24fd87f4bf15d0567508034c57f4de17a407812a715e62dc635b9b91dd8e - initial_input_ast: c5ffa1915a34f65b23e03c634e1941e89527338cd149ee5e4b9d0b4c0f36ba68 - initial_ast: e050abc2d6e8a404b96d2abea06aab386991334de50f563f48e14ca24f163000 + initial_ast: 66eee6143976a9713e986e67ea10be05b2cbc59135b6c2e01b016730096d1c67 symbol_table: 317fbb7bd126c05485ea4fa9ae0d3ab0712cc7a4a932a3ec373c71b53c2eb1c6 diff --git a/tests/expectations/compiler/compiler/integers/i16/le.out b/tests/expectations/compiler/compiler/integers/i16/le.out index a1936c6d8e..76f8565deb 100644 --- a/tests/expectations/compiler/compiler/integers/i16/le.out +++ b/tests/expectations/compiler/compiler/integers/i16/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 671dbf588ac06c9aaa98a0b93ae310030698c4459bcc8f5007d0b34e7f5a2fe7 - initial_input_ast: 22a419208eeb7a661a55a2b61d7a3a9896af73320d4899320df9c830b3bb814a - initial_ast: e8ac37ec0185965b13ba25b6b43d6a2068cca9af6b2860dcdcf1fdbc462528ce + initial_ast: 21dde9480d1e25318412bb007fb1b6eb80c231c1b8daa5629143612ee08b64b5 symbol_table: 547d8bd9f4f724f7bc1987129c145fa8ab9aa92cb2e58f84116f384dcb51eb6f diff --git a/tests/expectations/compiler/compiler/integers/i16/lt.out b/tests/expectations/compiler/compiler/integers/i16/lt.out index 1113f10435..c8dde936bf 100644 --- a/tests/expectations/compiler/compiler/integers/i16/lt.out +++ b/tests/expectations/compiler/compiler/integers/i16/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: c1eedaa7c6583b87a4e6bfd9d3698ce378f3fbbed0a87419549f5e4124ce9d40 - initial_input_ast: 7b40e77aec02ca9b383339c98fb220828a90859f46c18b24a32ad22fc2884d35 - initial_ast: e6a44b63da2e6d70110b81ffad2b2ee38814f9baae5a19893bbd2bd12a0107c6 + initial_ast: 746131dc0510b654414fd522abf6bce240bdb06e569734032d30007cdc3598d1 symbol_table: 1665ab35fbce1d5c3d83bafe311bd810bc5ac8aae9ea78b7a25ff5618d7f3342 diff --git a/tests/expectations/compiler/compiler/integers/i16/max.out b/tests/expectations/compiler/compiler/integers/i16/max.out index 5d363aa9ec..06a1f9552c 100644 --- a/tests/expectations/compiler/compiler/integers/i16/max.out +++ b/tests/expectations/compiler/compiler/integers/i16/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 940d740ba40284a1d3c3cf8737facd1e98968224dd93999dbcb336cb3f4ce571 - initial_ast: e29f17572c095f5b8d230666be1a5cb70204f6442b238e11e3751779eb9d12ba + initial_ast: 73182061fd4878e8bb9254b3a6cd268011bffa9bd97319227abbfe32e05523e9 symbol_table: 7ddbef5b930cdce68ed97ed630ba0270c0ca53469404d7193ebab7923c171b9d diff --git a/tests/expectations/compiler/compiler/integers/i16/min.out b/tests/expectations/compiler/compiler/integers/i16/min.out index c9a2683407..4e86172903 100644 --- a/tests/expectations/compiler/compiler/integers/i16/min.out +++ b/tests/expectations/compiler/compiler/integers/i16/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 142f86218cc646677bedd5bdf510ff537782d7e60967de7ebe9fb1fb50d7026d - initial_ast: 3a12a3a89691c3f0fac7474e27a76c5b9827ec7eb99eac99787d82208d7a0c82 + initial_ast: a4dcded36f8e41d46553f69dbb41d741d4bbc6e1a51feeec07d984ec3478b288 symbol_table: c055ae68a50138d22ec1203aa51a919ab72b680d836a2344c6aaabc4dcd238cd diff --git a/tests/expectations/compiler/compiler/integers/i16/mul.out b/tests/expectations/compiler/compiler/integers/i16/mul.out index a6a0123f90..d06020e608 100644 --- a/tests/expectations/compiler/compiler/integers/i16/mul.out +++ b/tests/expectations/compiler/compiler/integers/i16/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 745a2b9284f3287f347d81001af05f7aeb8b713cdc357bc5845f1827dcd8fd7f - initial_ast: 3ab1c6f4b724ebd5775fdb29630b9c5b976961d41d215ce31a1a90ca1c949c6d + initial_ast: 99d3831269619452117d397eec686f382be8401b4da8b2ccb11bb208a9f4828a symbol_table: cabf141530ad80c7281474580d8b372b045f2c05d141467755a4073ad1319ec4 diff --git a/tests/expectations/compiler/compiler/integers/i16/ne.out b/tests/expectations/compiler/compiler/integers/i16/ne.out index be2a0e8d13..6bab4df8b8 100644 --- a/tests/expectations/compiler/compiler/integers/i16/ne.out +++ b/tests/expectations/compiler/compiler/integers/i16/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 0f4ec75d633030e364406d8e84674688511acd657b3e40614f54e8af9bc7fa8d - initial_input_ast: f5ba26c4f397d3678ad4296f5149592d1310e4d94bc52a274601ec8454dac549 - initial_ast: e471222556c892e1fe10660f24a793473d5d2975ca0151ab705804b6b360a84c + initial_ast: a7e84d28edeedf8ca6fc030c1770c27327777555c172081f427ac39064863e22 symbol_table: 5a63b6a441ad209c46c963c0b2c8d22f5b0cac06878111ba85a465781bf709a1 diff --git a/tests/expectations/compiler/compiler/integers/i16/negate.out b/tests/expectations/compiler/compiler/integers/i16/negate.out index 1a2a44931f..e4f1613975 100644 --- a/tests/expectations/compiler/compiler/integers/i16/negate.out +++ b/tests/expectations/compiler/compiler/integers/i16/negate.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 664f047973ba9818641a3c6a85834963a8e757af1a449f6a797b9562a8b138de - initial_input_ast: 6efaf882a26d26eb45f16ca255bcb648f018f647dd15ed158e26e543836fb6cd - initial_ast: e6d527f134ba45e580a248e9dae401f7f71eaa5dd3c41548600fd10a8ac830ca + initial_ast: 1dcafa9d7207ebae87aea0cfc6bfaa3436f03323c70367ec2e9cc181f2551e3c symbol_table: 58ebb5880bfd3f03b8e478649debaaea4d0c991797c6ee03736306ebde1911e1 diff --git a/tests/expectations/compiler/compiler/integers/i16/negate_min_fail.out b/tests/expectations/compiler/compiler/integers/i16/negate_min_fail.out index 2b8e149334..190f8db0de 100644 --- a/tests/expectations/compiler/compiler/integers/i16/negate_min_fail.out +++ b/tests/expectations/compiler/compiler/integers/i16/negate_min_fail.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 7643261a1792f68251258ad1b6be18e95528a86816b3772140d130b2784736cb - initial_ast: d36246adcfdf393eecf1ad64aecf858e960e22ba69c87369d53347392cbfb4a4 + initial_ast: 8bae3917d6f3efb7398b83f3b4a2126916f70e84cbc5a96ac0499dc90f42c1dc symbol_table: 3f25d73945c78bfe592ce34d1d25692ac9ef2f78a4de4c1b269a85e0b0c9eb07 diff --git a/tests/expectations/compiler/compiler/integers/i16/negate_zero.out b/tests/expectations/compiler/compiler/integers/i16/negate_zero.out index b4d0998a05..88651b9505 100644 --- a/tests/expectations/compiler/compiler/integers/i16/negate_zero.out +++ b/tests/expectations/compiler/compiler/integers/i16/negate_zero.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 76a0fe2199754831329d9b089d2c02f73d7457aaed6548372169318675b85f48 - initial_ast: b748784d3716f6dd8f82c2d42ea826ec857a3f681756cac9ccd9b8c6e0c0a841 + initial_ast: 989a7f6dec2d131886ef8cfcb7b7f6fdf7a900ca405a855921aee28f5e22c946 symbol_table: e75c57060143b086106291be77bcb92a635af8c16b27f1f862d85d5d573f323d diff --git a/tests/expectations/compiler/compiler/integers/i16/operator_methods.out b/tests/expectations/compiler/compiler/integers/i16/operator_methods.out index 7c8aee34ee..cc83e30684 100644 --- a/tests/expectations/compiler/compiler/integers/i16/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/i16/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 1919858036addddfaeec6f7f5c06b8d4aad4e18f0167d9da1c61a7704dd51fe5 - initial_ast: 8b4dd434c9a8fde0e845bffa9a82369172093a71ce41c32b9fc98da93b1a1db5 + initial_ast: 5e3b5f4aa15418442f82d5a6ba930a980f9a976d362a93f6a475049e696fe02a symbol_table: e1310e7a3242f046a8e4cfd0b882e92572cc96f76b739edf8a3d81fe838e074a diff --git a/tests/expectations/compiler/compiler/integers/i16/or.out b/tests/expectations/compiler/compiler/integers/i16/or.out index 5b3619cfb8..285d28b87b 100644 --- a/tests/expectations/compiler/compiler/integers/i16/or.out +++ b/tests/expectations/compiler/compiler/integers/i16/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ca6ab55d11bc84ae5e5442cbc17ecf2f2ff6d31041d98a43c9710c2e3a7f7ff9 - initial_ast: 50e3321589352a7adf53fee57319185cc20f0acaa43282637b79baab19b4f6a8 + initial_ast: b457b7ceb71955eac78e6ba0d21e09d2a421028918bfaf59c3cb3d907ad4c35e symbol_table: 4c080bfc407c55cf4496518c1d2fb958dc9ffbc0cb7d01b9960444c388715f85 diff --git a/tests/expectations/compiler/compiler/integers/i16/pow.out b/tests/expectations/compiler/compiler/integers/i16/pow.out index 92c62826d8..49b23e2929 100644 --- a/tests/expectations/compiler/compiler/integers/i16/pow.out +++ b/tests/expectations/compiler/compiler/integers/i16/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 1c847e4cf1052419262e993cc6f50a0a8d49a4a219bef07de6916a788e2dbac3 - initial_ast: 716c8440a95e3b5c34f745dba8673afd75414a9e2350eebde49ae661ee42083d + initial_ast: cb9d3519764549f4742af9d0016cbb8d34b0df310fec1c4abeed51921eaae1a1 symbol_table: 5f363580c69b6f35f4460104e76b74cd57f75f5aa514d81cd8235883f790404c diff --git a/tests/expectations/compiler/compiler/integers/i16/shl.out b/tests/expectations/compiler/compiler/integers/i16/shl.out index c3f929bd87..6235150e3d 100644 --- a/tests/expectations/compiler/compiler/integers/i16/shl.out +++ b/tests/expectations/compiler/compiler/integers/i16/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d147db0bf287fc9f96e67ec89e3839ffe5ee498b2d2e1c055df938d64fe9db59 - initial_ast: b08570e62709b72faf734d27cd4569de7b33605716fb4320cc141a02c35c43fc + initial_ast: 45d27b9a65dfe19075566810abc36e87c7b8c8ab201c6522e17baab840c9bfb7 symbol_table: 5574b67bf196f90fb3e7ce012c4320a543e9830f42b13de6f5e145e0e2b936db diff --git a/tests/expectations/compiler/compiler/integers/i16/shr.out b/tests/expectations/compiler/compiler/integers/i16/shr.out index e15b6930d4..fd2f192c94 100644 --- a/tests/expectations/compiler/compiler/integers/i16/shr.out +++ b/tests/expectations/compiler/compiler/integers/i16/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d147db0bf287fc9f96e67ec89e3839ffe5ee498b2d2e1c055df938d64fe9db59 - initial_ast: c8a29025afc34fcb2dc833f9534adbfff15358e4d0f0b392218e8e84e0891705 + initial_ast: eb6b7ecd3ca900933b71ee71471911625af62692bc7cef2866612f55d07d7036 symbol_table: efb3351576d42c09fb29e8c984728fd35ef8984702d7165b0ae3894da819370b diff --git a/tests/expectations/compiler/compiler/integers/i16/sub.out b/tests/expectations/compiler/compiler/integers/i16/sub.out index 869769c78e..a6a63ffc78 100644 --- a/tests/expectations/compiler/compiler/integers/i16/sub.out +++ b/tests/expectations/compiler/compiler/integers/i16/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: b7ad97cd1531c1826eadf4c9c2b96d4d92ca02d158be18f4ebe1746ed99153aa - initial_ast: 3f1690cb0dc84ce45dfa66417c90c9be57369288de1c83ec6bbaf7575feae55b + initial_ast: 84d4776207c597ab70f1b7deedaf954d27490b9e94c22df2696fc5b5b582a3ae symbol_table: 6f46b9c5c3fd51a4e9ba3a28bc768c1b770a471abc353696d6afba246cb81377 diff --git a/tests/expectations/compiler/compiler/integers/i16/ternary.out b/tests/expectations/compiler/compiler/integers/i16/ternary.out index df43e875f5..64ec24c580 100644 --- a/tests/expectations/compiler/compiler/integers/i16/ternary.out +++ b/tests/expectations/compiler/compiler/integers/i16/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 41317d43452e14f1a4cdaefef0a9bb53149a3fde47bca46f2352dbd43c9ab881 - initial_input_ast: 56b6de335469ea51e45abf216b593b72fff3010892504485016a893f0a8ae182 - initial_ast: 36d350451b3be6c9b38f3b095fc7a0f7a4d11e4b3c007a14fd350e6cd032b323 + initial_ast: cbecc720951c22969e179da054ff99c23117c682b13d12e7b8cd08701291bbd0 symbol_table: b9eca2816364b509f8748ffde93edbf654285648e1557ed28380754d8a07d0b8 diff --git a/tests/expectations/compiler/compiler/integers/i16/xor.out b/tests/expectations/compiler/compiler/integers/i16/xor.out index 69517bc894..d8f5e627c6 100644 --- a/tests/expectations/compiler/compiler/integers/i16/xor.out +++ b/tests/expectations/compiler/compiler/integers/i16/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3166a0fdadb4026ed5652f84a4b701b19532a4c19904ad075455ec9a6fb2c724 - initial_ast: 3ea0d125b5c5aac27684dad2c55608ef8372c98964ec5c9c9d04ff4e9b648aeb + initial_ast: 1534a4c26d5849fa67da858cb8fbd3bec8cc0f56fa38ecdd140e0b5cbe3caec7 symbol_table: c2db740a844a64e84fadd06da77a78f0982571524f6840ef904d11c41fe2e4ee diff --git a/tests/expectations/compiler/compiler/integers/i32/add.out b/tests/expectations/compiler/compiler/integers/i32/add.out index de90cf6437..16bdd06219 100644 --- a/tests/expectations/compiler/compiler/integers/i32/add.out +++ b/tests/expectations/compiler/compiler/integers/i32/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c3f745ae09f3550b07ee1d548a4080fa602c77c54c8339d190755e61c041d9d0 - initial_ast: 1b3646ec051ebdd0571a6cc5e54dd88b494c24cd2c197045c413894dadcad587 + initial_ast: 7b36608a1fd0ade72eab6f84e196e9930796441342f8480a1e4c1c0ef482e331 symbol_table: 91d57b027d297a7a36e4b4f28ea920fe85ae43d6560d67615b3306e7a81bdefa diff --git a/tests/expectations/compiler/compiler/integers/i32/and.out b/tests/expectations/compiler/compiler/integers/i32/and.out index 13011e2390..94eb47c4a5 100644 --- a/tests/expectations/compiler/compiler/integers/i32/and.out +++ b/tests/expectations/compiler/compiler/integers/i32/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c3f745ae09f3550b07ee1d548a4080fa602c77c54c8339d190755e61c041d9d0 - initial_ast: 58eae139e14d45468ac3f8aa2de8eebec731aca1649fb9249ac572f0400c9f4b + initial_ast: 886e2311c639636cde2128f6f427f5ab4a9c8283c33f3164ac0e54dc46456a33 symbol_table: 5945590d46e7452c54d441148a22fd5ee8cf29b01a147c0b9483e0c4d5c322fe diff --git a/tests/expectations/compiler/compiler/integers/i32/console_assert.out b/tests/expectations/compiler/compiler/integers/i32/console_assert.out index 5e3c605cc3..63a663e550 100644 --- a/tests/expectations/compiler/compiler/integers/i32/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/i32/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 18e0670d3bdd1b94387381965ed18bb2f52da2fd25ed26303079ddd2ad532ec7 - initial_ast: f10907e6afbcd4f39d9c6397f684fb9e461d9b95863f22a177784121d3f79fdd + initial_ast: 13917e7bcc353f65fcc5d2b105d8508618fbdeaf64753fe29617a00aba3ea7f4 symbol_table: 17f43dfe4ccb14b86cc30382fa7ee7c9fb222d599c657e344165f6deda58719f diff --git a/tests/expectations/compiler/compiler/integers/i32/div.out b/tests/expectations/compiler/compiler/integers/i32/div.out index 6c1a55d595..ce5bc9224e 100644 --- a/tests/expectations/compiler/compiler/integers/i32/div.out +++ b/tests/expectations/compiler/compiler/integers/i32/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f4861b2879e1a7a0787897c313e56f53cf05f4ef416c1db99d650a7f50c0169c - initial_ast: 7cfd4cf2770cc577919934a24a8741844c365c2662852da408fb2b48536cd601 + initial_ast: 2ab4f1609184b8619a2d63b477ae14f5c4ad3879ba53824587b6102badeae5f2 symbol_table: 9e3afbcb5f6e608103adde426ca8d31f26afaf41a96bcf62f11eaf2c35c837a5 diff --git a/tests/expectations/compiler/compiler/integers/i32/eq.out b/tests/expectations/compiler/compiler/integers/i32/eq.out index 76c45f916f..26f94be18f 100644 --- a/tests/expectations/compiler/compiler/integers/i32/eq.out +++ b/tests/expectations/compiler/compiler/integers/i32/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 2310cea3660b80b688fc47915171d9804aea93a8e3a160020df15b78f2c44e92 - initial_ast: 4da18080cbf0f3f41dc8b853c4ee55e8020fbfe248c0c292ba4f8d043118baae + initial_ast: 5d1b65038a2a64f72be3d9e61dcd08227a39c84336ec978930755670fc29a9b1 symbol_table: 538ff52363f252b0e406b83165be287d74649fb3acc59d17d148b57efcbb7ea5 diff --git a/tests/expectations/compiler/compiler/integers/i32/ge.out b/tests/expectations/compiler/compiler/integers/i32/ge.out index 83c47c0559..80a38f4c95 100644 --- a/tests/expectations/compiler/compiler/integers/i32/ge.out +++ b/tests/expectations/compiler/compiler/integers/i32/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: d8b075a0c14b12b53de228108da7cf61ba2e7892b134075063684769996a7e45 - initial_input_ast: c12a655964529a33ba9795df3794474b3f6a9b9f5fe121fe688345d40d65bf00 - initial_ast: 99a0a40dcdc605b5a28d1ad78de6d98d81222b4fa70a50d4b907a7c454fec166 + initial_ast: 65f5eac09cf0e8849658fa971856b2a656ae22c20265935b838291001004a182 symbol_table: 59a9dba2a5e67df024a522643b2cd746cf63640c2f5b27d87fe9c3d24cb43a3c diff --git a/tests/expectations/compiler/compiler/integers/i32/gt.out b/tests/expectations/compiler/compiler/integers/i32/gt.out index 0d83c659d9..9b828a9cf7 100644 --- a/tests/expectations/compiler/compiler/integers/i32/gt.out +++ b/tests/expectations/compiler/compiler/integers/i32/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: a83eaf3c244972c04e15c0c911e9fb46ba56556d3ecfd5ec3561dd7d42341138 - initial_input_ast: fa3b9cb73dc9a270ba1167643daf66562ed80880be98fa7a0e34175792bea230 - initial_ast: 2011bf78585b33d3e4cf6d15c2f5e78cbe560164de5500498ccdb1992057189f + initial_ast: 1c6fe1a02a349d970a8cb3f4c62daea3d59f5c945de9cc6e0371a884ed443f00 symbol_table: 7ac2113c2d402d49671b93a45d60db9ed711845e20d33921825259a424ce7907 diff --git a/tests/expectations/compiler/compiler/integers/i32/le.out b/tests/expectations/compiler/compiler/integers/i32/le.out index e4509840c3..33e4a6c972 100644 --- a/tests/expectations/compiler/compiler/integers/i32/le.out +++ b/tests/expectations/compiler/compiler/integers/i32/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: d8b075a0c14b12b53de228108da7cf61ba2e7892b134075063684769996a7e45 - initial_input_ast: c4310c1bdce965b70f52ba768a13f976e0611adcec05feaffc3530c03dbcd8b5 - initial_ast: e3aecaf6a5adfcd4f82cde7fa2360ae63738141788c8de35eabedecf7da26dde + initial_ast: 9a5f5f44954607e59ed87088b645ddfab3d2aaaa75fb54708cd76be570c61b05 symbol_table: 2ab0e5fe3a9ee52f83ec32398fe641df6d6bfa82b8507f1fd12ab561ddb15239 diff --git a/tests/expectations/compiler/compiler/integers/i32/lt.out b/tests/expectations/compiler/compiler/integers/i32/lt.out index 4107e8587d..2ecb66794d 100644 --- a/tests/expectations/compiler/compiler/integers/i32/lt.out +++ b/tests/expectations/compiler/compiler/integers/i32/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 30d30fdd6bab9733171c511d47c8617b4a54fd50c701260d2b7843635e4c734f - initial_input_ast: d3105d0be6b536c10caeff8d036665f6ca6b7f3fddc25d5fad126a82ba7a7ce9 - initial_ast: baeb8485c3dd4abc78da1a07b1847933d49d68a0628b86e94efb72f41caf77ca + initial_ast: 8bdc43be322a079f6364bd2923a80edb873bef224f38d916be4c826a056545ea symbol_table: 5916d5680354d3a029cc048d2c23b7e574d1ead928b6ead7d761f185174ae3a2 diff --git a/tests/expectations/compiler/compiler/integers/i32/max.out b/tests/expectations/compiler/compiler/integers/i32/max.out index 1b1649f359..7e495a79c2 100644 --- a/tests/expectations/compiler/compiler/integers/i32/max.out +++ b/tests/expectations/compiler/compiler/integers/i32/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 76a0fe2199754831329d9b089d2c02f73d7457aaed6548372169318675b85f48 - initial_ast: 65641e2f97d65daaa4cb8b2ce4e64b36cf5df1d817877e4e4d93da09ae1377a2 + initial_ast: 65f140e78404ef7d81e5e7bb678cd67e6b0db19fb02866d6a2778aec4ef94c7d symbol_table: b01b9d0b6652648f07617710ffec4f95f3739fa9972d8590fb0f525b38208f1e diff --git a/tests/expectations/compiler/compiler/integers/i32/min.out b/tests/expectations/compiler/compiler/integers/i32/min.out index ac24508fe3..d210b6db78 100644 --- a/tests/expectations/compiler/compiler/integers/i32/min.out +++ b/tests/expectations/compiler/compiler/integers/i32/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: e6e80b1d0e3a62b708072dee54289625035fb2a2ad6f2128a4688166e1f2c830 - initial_ast: cc34252c82189a05725700a7ca8b244bc62516cae0e0f36818f2c23e144471a6 + initial_ast: f7e778eff55a6070426291072ded2e902dc38dc3cb283171388a5feecf4c3689 symbol_table: 5108df812b06aa69113b9d7bd3638a3d9eeb587a586857daec49fde6e8926695 diff --git a/tests/expectations/compiler/compiler/integers/i32/mul.out b/tests/expectations/compiler/compiler/integers/i32/mul.out index a6812431ef..40ba03ac87 100644 --- a/tests/expectations/compiler/compiler/integers/i32/mul.out +++ b/tests/expectations/compiler/compiler/integers/i32/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 27614bbc1bce86a65fab168ceb3b6109b70aa5cdcd9d47fbccc665de98a8a8fa - initial_ast: 5e07edbe3d9d0cb4a197c0d3f50728c6749389efae49b82f4a026a8c104a8bc2 + initial_ast: ff1c30a4d80192a25f734f78d5445036b29a03fc89b4c745edfbf13a7f8182b5 symbol_table: 97809796dd33bedd6b3823929aae64b52eead71dd648720a66d33d8d1a49dd93 diff --git a/tests/expectations/compiler/compiler/integers/i32/ne.out b/tests/expectations/compiler/compiler/integers/i32/ne.out index d180ce4dd7..6edad2edf5 100644 --- a/tests/expectations/compiler/compiler/integers/i32/ne.out +++ b/tests/expectations/compiler/compiler/integers/i32/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 713c1cedf6fd5178e71d0fa26662b09e0ade6971c3587f89fc5a8e03a756e981 - initial_input_ast: 95e799eeb1e1cbc6c3f6fcd5c7a361d1c6476ae66a5ff09c0f5ad423129ff0b2 - initial_ast: acbc9b1bc845f51e1fab0706653740f027b1f921d4a2df8eb4ba7025040550a0 + initial_ast: 00799b68af38e59a26c96ff075c17e5ea3c4b3f2a7ec7961d83c5046f0db4848 symbol_table: 08f02d52e567049dffdd1fed04e03a7f205a6c39b456e9ab9ead6a94aaa8d7f5 diff --git a/tests/expectations/compiler/compiler/integers/i32/negate.out b/tests/expectations/compiler/compiler/integers/i32/negate.out index c62c24431b..453e6f041f 100644 --- a/tests/expectations/compiler/compiler/integers/i32/negate.out +++ b/tests/expectations/compiler/compiler/integers/i32/negate.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 8b9feb5e8f0718841d67d61ff8add7ea9b6570873b6c4f404bf58c6da9e23c9c - initial_input_ast: 78e3a8bf17a0abcdc7dedd89d596366b20931da74e85add4ee8478e3086242e5 - initial_ast: 1487e617ff9efe4c253eb92d4157ed1dc0ec05f382ecc1c284f68054b039f3f1 + initial_ast: 644f03b75c31ce3d800d38926f7ac4f9703e0f641c410c8b08dc50be562c68a1 symbol_table: eeb81dc442a9962c4af0650f25ac1b41611c2dddc87c27aa986e6e0179bd5bfa diff --git a/tests/expectations/compiler/compiler/integers/i32/negate_min.out b/tests/expectations/compiler/compiler/integers/i32/negate_min.out index b1af426954..57eacf98f1 100644 --- a/tests/expectations/compiler/compiler/integers/i32/negate_min.out +++ b/tests/expectations/compiler/compiler/integers/i32/negate_min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: bdf7f8a6f92b7acd8c798becc30b2f6a8cf6b0ed714c168c5a9e5559988b2185 - initial_ast: 23557f6f914cfc80fc44061787663ccfda3e5e4a0c2d7d84fab1bf17dbed6bcf + initial_ast: fa6e575688e26f54f08125cb9f1d5b89bc19d52511f8ae0edabfccb371601236 symbol_table: 5b5d6200c702aabe152a2e345837922d1dace86e91ef0878fc3db00a63904229 diff --git a/tests/expectations/compiler/compiler/integers/i32/negate_zero.out b/tests/expectations/compiler/compiler/integers/i32/negate_zero.out index d5572050a6..9b8c2b3017 100644 --- a/tests/expectations/compiler/compiler/integers/i32/negate_zero.out +++ b/tests/expectations/compiler/compiler/integers/i32/negate_zero.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 76a0fe2199754831329d9b089d2c02f73d7457aaed6548372169318675b85f48 - initial_ast: 71719649303efd4e908d722f9b11a29a0839ef0ee607e43c0258077ca8f250ae + initial_ast: 80800155fa6f5042d3b36ad0eb26ff9cfa8e5096ee6f0b1e119badd12f9b9370 symbol_table: e4322091e554934f93e743f47ef99bd0bcae6a70ee214cbc6fb4f7849a95f287 diff --git a/tests/expectations/compiler/compiler/integers/i32/operator_methods.out b/tests/expectations/compiler/compiler/integers/i32/operator_methods.out index f325e04c15..9c32af7934 100644 --- a/tests/expectations/compiler/compiler/integers/i32/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/i32/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: baa9efa368cc52d60f6299586aa61afe1d88ddd2c80a289da7e5599765a9399c - initial_ast: 66b84e1d00a4a3f0d1b5f9d31b87164601ed43d42d53af7af93f2cc46ed7e015 + initial_ast: a530e96ee9e05238c5e5eda85c1795baa9e8a4777690c3faad8eab7b472af06c symbol_table: f62d56a5b6c28a14b90681c800320ea9c0401f0db9fe089d165286bafa670dee diff --git a/tests/expectations/compiler/compiler/integers/i32/or.out b/tests/expectations/compiler/compiler/integers/i32/or.out index f126ea1451..fd612326a0 100644 --- a/tests/expectations/compiler/compiler/integers/i32/or.out +++ b/tests/expectations/compiler/compiler/integers/i32/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c3f745ae09f3550b07ee1d548a4080fa602c77c54c8339d190755e61c041d9d0 - initial_ast: b4cb63dabed4bfc41eef6b18928a7daa040c785a7b492322b71d88262a6277a5 + initial_ast: badaacd9e32e212e705faea5ad68b1d00c8ea199eda46adb82c92e6f3c0d7751 symbol_table: 59b8df1d2b1c065535bb67a608b3b7eceed7a2491a7451bbe1c2177fb71f072b diff --git a/tests/expectations/compiler/compiler/integers/i32/pow.out b/tests/expectations/compiler/compiler/integers/i32/pow.out index ec829c1420..d1ceba2eda 100644 --- a/tests/expectations/compiler/compiler/integers/i32/pow.out +++ b/tests/expectations/compiler/compiler/integers/i32/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: db7a1f929101bb73938127dcaebc78bf1fd13c0b1f29b49c143c652c76513869 - initial_ast: a1201c174a83b160b07adad2ca0f5d454c272d3b3bf3dfbeeb6f46704906fc30 + initial_ast: 6073682a7fe2b0e095c4ba485a0b77caef415071c83637ae87292d19c2336fb8 symbol_table: 83972ea7ed0bfd3b836c5b53798fbc7c6d404e1121bd40a7db08f059a8e7d915 diff --git a/tests/expectations/compiler/compiler/integers/i32/shl.out b/tests/expectations/compiler/compiler/integers/i32/shl.out index 336060ae5e..5fcf69c0e2 100644 --- a/tests/expectations/compiler/compiler/integers/i32/shl.out +++ b/tests/expectations/compiler/compiler/integers/i32/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3bc0aa0df75ae0548bec6bec2193fe1f94319ecb8d99f3d7367cd1ec29ee0519 - initial_ast: f5ff0fbfc9790c0c98e1191d737f01655ca758cdd7aa87be3eede353a9bb6728 + initial_ast: f1869a3fee55353c1884ec75eaa10100f21138f2ac33b3443f84738e9ae9c423 symbol_table: 607cd600389cd0202baa01e0998904f44134d7db10f64bd52ae584a11dddb83d diff --git a/tests/expectations/compiler/compiler/integers/i32/shr.out b/tests/expectations/compiler/compiler/integers/i32/shr.out index 6a70e30a99..1b5bd9244f 100644 --- a/tests/expectations/compiler/compiler/integers/i32/shr.out +++ b/tests/expectations/compiler/compiler/integers/i32/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3bc0aa0df75ae0548bec6bec2193fe1f94319ecb8d99f3d7367cd1ec29ee0519 - initial_ast: 18f423e7006efa104ac7d3ea5b2022c8836829e331de264f52752ee567b5a3ce + initial_ast: 83bc67677621455c8304e0eea9f3a92421b56e97032622c9b1b013b67103a7d0 symbol_table: 62eec7410246d20c43271d5ba0c2031d0b08de9540ea4c3f159c5f26ad96b190 diff --git a/tests/expectations/compiler/compiler/integers/i32/sub.out b/tests/expectations/compiler/compiler/integers/i32/sub.out index 16756800ab..db42e5aefc 100644 --- a/tests/expectations/compiler/compiler/integers/i32/sub.out +++ b/tests/expectations/compiler/compiler/integers/i32/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 65a577110ee76e6af14d3ee0ba6d8b3d43238bf40f0bf17ce5fb0d7db958c468 - initial_ast: ad55d6d9e395b2def76a7e6189ec3a600abbbc12b65878b668f869e44e9ade4a + initial_ast: 9710348226bee346293cbac4dff1817e96d4f2cb04f0a2a60acc338025ae29bf symbol_table: 3cdb40addf49907ad044d01873be938299bcf55d573d843de205ea7198635f94 diff --git a/tests/expectations/compiler/compiler/integers/i32/ternary.out b/tests/expectations/compiler/compiler/integers/i32/ternary.out index a33418f445..e2793d7017 100644 --- a/tests/expectations/compiler/compiler/integers/i32/ternary.out +++ b/tests/expectations/compiler/compiler/integers/i32/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 496933437ac1f680efb3cf8c373ad409750a55f0587f1c9cd5ae89a3ff2fa9d7 - initial_input_ast: 26c16da9f3d023c364aceae392e4772d61d7c6e168b1b69df55ccb937e2f9b8b - initial_ast: 3c335651b8022514466d79e85c6c500f0abacfe9582bd407857789cd11e7bb45 + initial_ast: b125747d2e835b5eba4cbe573ffc45fee31af6dfc35dd79934be80011a711878 symbol_table: a6325dccaa62e33b218094d162d688034d983faf12a56ed0e97d5511e8006cd4 diff --git a/tests/expectations/compiler/compiler/integers/i32/xor.out b/tests/expectations/compiler/compiler/integers/i32/xor.out index dcd594fa2e..30bee192e6 100644 --- a/tests/expectations/compiler/compiler/integers/i32/xor.out +++ b/tests/expectations/compiler/compiler/integers/i32/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 782064ee84e1826a4cf4a19b4c68964e8f901a3fa86ad68f13fbee8b8d79fc5f - initial_ast: ccddbd9586431df0bd57644bdfaa123af18aef55d6257a802d06ee1b63555f10 + initial_ast: 9d4c77a02df0bcd3330a5c3d571cbf5a5da9e2fb90776f7218cbf19c96d62953 symbol_table: 58d9e8a43638ca94e50faef51a13093beefe5de977bf76d703b3e1d8e7e758a2 diff --git a/tests/expectations/compiler/compiler/integers/i64/add.out b/tests/expectations/compiler/compiler/integers/i64/add.out index 2e7656c7b6..a2199b73f4 100644 --- a/tests/expectations/compiler/compiler/integers/i64/add.out +++ b/tests/expectations/compiler/compiler/integers/i64/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 816e4f653059a71bcad0180283b41156a125963a270269574ccc2a89fa4db47d - initial_ast: a4aaa16ad2f02dde089066fe74a78413a372672a563e9cd63503c274e355660a + initial_ast: 05458b439b8e8bf496921241eaee342f40e7008e63b3061a552f8fd7cf54a8d3 symbol_table: a068224c7eec1e805932f5dd588782f88bd2fd9ba4172b756244cfdc5267d881 diff --git a/tests/expectations/compiler/compiler/integers/i64/and.out b/tests/expectations/compiler/compiler/integers/i64/and.out index 76ebecc4cf..cee4994aef 100644 --- a/tests/expectations/compiler/compiler/integers/i64/and.out +++ b/tests/expectations/compiler/compiler/integers/i64/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 816e4f653059a71bcad0180283b41156a125963a270269574ccc2a89fa4db47d - initial_ast: e1fb9bd3be54e70a0856609f8843c639bd83cd4d8abda812d3b2fb229582fb2f + initial_ast: a3d0ec262339b240393bf6204977c2a3f97b533bd37e84ddbda54fe165183915 symbol_table: d423b9dc3ebe537a9188ce0da8d0c596bfb17824230173e9803e7a91948ea613 diff --git a/tests/expectations/compiler/compiler/integers/i64/console_assert.out b/tests/expectations/compiler/compiler/integers/i64/console_assert.out index 15e61e6653..9c602150da 100644 --- a/tests/expectations/compiler/compiler/integers/i64/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/i64/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 00d45fcaa517eaee18db545e00d5b07769a572368255b8300a14998d72601c18 - initial_ast: 09ec608f41abd9d671935f29c1cd7e201f33215833e4183f55a2fe79cf9afc21 + initial_ast: 6cab3109e6f43ec3ea60a3f507d119dfb9d519139775496356c3064eca95b854 symbol_table: 9c3b609e8ceeac0eab0242d4c82170ef38b8d0fcac6fec9c0d832add3a24b8bb diff --git a/tests/expectations/compiler/compiler/integers/i64/div.out b/tests/expectations/compiler/compiler/integers/i64/div.out index 13545659b8..a18ccc5b44 100644 --- a/tests/expectations/compiler/compiler/integers/i64/div.out +++ b/tests/expectations/compiler/compiler/integers/i64/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c2344cdff713dd1a5cdf911aa4586bafdb97a243fd34f3d719410013b47f4b2c - initial_ast: 4b98bdfa2620aaa5b98c134919ed5337914cc9f51855e162270f304c3509dfc8 + initial_ast: 5ec3122bd1219e4cacd9229aae7d8de54703b1ec7e732b0b9151a3fa1489f9dd symbol_table: 3a23086d4f62440c9d0cda4504b5ed5e3f25b3c9e0eee866e1e5fa392e285a48 diff --git a/tests/expectations/compiler/compiler/integers/i64/eq.out b/tests/expectations/compiler/compiler/integers/i64/eq.out index 09b91c7bcd..d61df73f0d 100644 --- a/tests/expectations/compiler/compiler/integers/i64/eq.out +++ b/tests/expectations/compiler/compiler/integers/i64/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c682c45660fd69afe580acd3988f4329d87c63e43d553c36642a4e0ef6b210e3 - initial_ast: 8557928254d8c21c7e2058ae0d413a3565b37ce582ef10bbaee610c5b5c126c2 + initial_ast: e34b664d31cac9ea0ddf73661dc33cbb992248c18bdc79cf1b1d034a58c7cbc7 symbol_table: c7504422b6fa6207defa0f0c39ffb1b474c517bb07955c3320ab6c58d83dbe50 diff --git a/tests/expectations/compiler/compiler/integers/i64/ge.out b/tests/expectations/compiler/compiler/integers/i64/ge.out index d07d7172ac..4d4e6ca981 100644 --- a/tests/expectations/compiler/compiler/integers/i64/ge.out +++ b/tests/expectations/compiler/compiler/integers/i64/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 6857878da12ffbcc4376888a5b0a47e72cc06de198bf8b3581c462f6ac31dc5c - initial_input_ast: 7e434642385a187243e3e5753d8fbdde3fcd867e9243ffc54edc524b41737544 - initial_ast: f7f13ba671fd5c76a7ddaeb88e92b2ad524ab8068a1873d328ec3e118a304175 + initial_ast: cedd4d20735f3be317aba47f5e41a705a7ebb33d40def2ef303fb03543044004 symbol_table: 29b920533fbfa038780e518060d52bd9a5ff6f24c9387091b0929d728064ee59 diff --git a/tests/expectations/compiler/compiler/integers/i64/gt.out b/tests/expectations/compiler/compiler/integers/i64/gt.out index c0b0c78344..70cd9cc46e 100644 --- a/tests/expectations/compiler/compiler/integers/i64/gt.out +++ b/tests/expectations/compiler/compiler/integers/i64/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 2b0b85dc45e03a920d2bfbdbc540abe18b61f4435eea735300bfbbf1f5f3d8ea - initial_input_ast: 3fd4444b24b8e16c62ecf0b00fc49d32c65db6d13ed37bec5fbfe04848c9e6d1 - initial_ast: 3d74f258de200191d6ca014f3ebf770f84eb80733bc5e15297ace778ba7465c4 + initial_ast: b40a17c27a7fca729cd071e5b237724b3c8bca3e31b97bbc80cc13e4e2fa0fac symbol_table: 5f72bb98b06d7990ec3e64d35d898073c5570400b875909ede0989d68927a114 diff --git a/tests/expectations/compiler/compiler/integers/i64/le.out b/tests/expectations/compiler/compiler/integers/i64/le.out index 07ff7ccd65..54de4974b2 100644 --- a/tests/expectations/compiler/compiler/integers/i64/le.out +++ b/tests/expectations/compiler/compiler/integers/i64/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 6857878da12ffbcc4376888a5b0a47e72cc06de198bf8b3581c462f6ac31dc5c - initial_input_ast: 99afc178f7cdcbad22602eb65284213301656250e2210a665de43395fef85784 - initial_ast: c447a346374098a1f6c333904d3b42525fb51b165561996dfa24a2108680096b + initial_ast: 0140c571bcea49e5ff34c4a2769d119f91e61f64a3afa54f13f851ae3a0e1c2c symbol_table: 44112aa704fdcf2927e2f0d398280b4603f226d118e25ff3d90e121a1be04bfa diff --git a/tests/expectations/compiler/compiler/integers/i64/lt.out b/tests/expectations/compiler/compiler/integers/i64/lt.out index ebd0282eef..539fed8c87 100644 --- a/tests/expectations/compiler/compiler/integers/i64/lt.out +++ b/tests/expectations/compiler/compiler/integers/i64/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 6eecc6aa76c05b3cee492e00a5c7411070cfc056d6c96e29d4c87bddf049909b - initial_input_ast: f59d4a5626491f759e85846d2770353b534d95a1d2caed3fe97c029b3dfd848a - initial_ast: 0639333eba431ee73648e8d9a802db5e10cae59258e0bd3c157fe457213a6ca8 + initial_ast: 618d0c57c329a31e5f6e5ebcda323f81ca9711085b200a4a51696105dc932c24 symbol_table: ea55fe93a40dfe155d585f4222db22e8ead527eb2ad652e48d601077fc0ccda6 diff --git a/tests/expectations/compiler/compiler/integers/i64/max.out b/tests/expectations/compiler/compiler/integers/i64/max.out index 5d3800a364..4bc6d8bda3 100644 --- a/tests/expectations/compiler/compiler/integers/i64/max.out +++ b/tests/expectations/compiler/compiler/integers/i64/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 632ec5f14f9e070c225d727c5fb5e6dd16d0f47d3ea0b408acb66142ed5eb233 - initial_ast: 441eb9e20bd64b6826895ad65408bb0bcf3fb9aa3041c5c582b8cb829ee5e3c5 + initial_ast: c96c4692ee525c6c7c57b407c2360f9993bbe7dae003119bf134bbeb873bed49 symbol_table: cb2212564ae3ed70755444f5c57b4ce7c53622e64150f6a15531f97b73dc7f68 diff --git a/tests/expectations/compiler/compiler/integers/i64/min.out b/tests/expectations/compiler/compiler/integers/i64/min.out index c44bfd365d..7fb7a0e7dd 100644 --- a/tests/expectations/compiler/compiler/integers/i64/min.out +++ b/tests/expectations/compiler/compiler/integers/i64/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ad738add6c03b6224ccba9d8d735b6645444f9c16f3b652ec4c0903fa4bb33aa - initial_ast: 1c37a6c11db9dc5ff7c2be6cb87d1900ea2302aecd66eb396cd1f768804a99da + initial_ast: acd812a7eddf5054444ab7a07922c8fa5f4476bbbe80104fb82b3afcdeffe64f symbol_table: 2cdba8ac70dcc9d7f69a8ee1612dceca6b574043a4ebdd1b468786a271136ad6 diff --git a/tests/expectations/compiler/compiler/integers/i64/mul.out b/tests/expectations/compiler/compiler/integers/i64/mul.out index 10bdd1928e..7b9727b72a 100644 --- a/tests/expectations/compiler/compiler/integers/i64/mul.out +++ b/tests/expectations/compiler/compiler/integers/i64/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f84b0604594bcebf725f53c7dae3609f276f916ecc9ada555d6984df08f2b13a - initial_ast: df201d064de97f5159dc972b93ff4b84206047722c9ce25554b7eef548a0a244 + initial_ast: ba14426c236b56b55a1dc00c0b4ff11fde0cf83d370676d40c2dfcc3d0305aeb symbol_table: dd0d83c0bf95fc5db6f10896c03a8f2928cdce655f025bf831bfe831896ed770 diff --git a/tests/expectations/compiler/compiler/integers/i64/ne.out b/tests/expectations/compiler/compiler/integers/i64/ne.out index b6aa1b4588..d9a8efa6c0 100644 --- a/tests/expectations/compiler/compiler/integers/i64/ne.out +++ b/tests/expectations/compiler/compiler/integers/i64/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 53f7088f9b1246b2a5a4888f773a137266abcab7f86139e17ded34d7dfd8bad6 - initial_input_ast: d2e3ace89dca587a3f27a36d6ef8736dd713b541923835f2ac7ea5d4acd68c6d - initial_ast: f115cf62490b73b195fc75ac977786c450be243c2fddab88ef4435631b05a0c1 + initial_ast: bfd8b293a098cbf87412ab8a1828c8d45c330e8ce111ce3b9767c0081613688f symbol_table: 9f12ef2d29fa2b770a4f653b98bddf47532ba5e4db8a2bfcdee4bea9a0a5ca1f diff --git a/tests/expectations/compiler/compiler/integers/i64/negate.out b/tests/expectations/compiler/compiler/integers/i64/negate.out index 615d15c702..859d7b5d45 100644 --- a/tests/expectations/compiler/compiler/integers/i64/negate.out +++ b/tests/expectations/compiler/compiler/integers/i64/negate.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 5ac05e1cc879d60426482c7baa8678d1fb55ef8ac0900a901d6c2b7cddc30308 - initial_input_ast: d3ff584044e6a8a943927df5c394d0c8e776e1c99dcbcb24f15218edab344452 - initial_ast: 7e734992a702686fe2fc22ff9fac91c0b4db8ea4be9b54ac37f7e6ad161152dc + initial_ast: f44c669039a5bcd6d737e6153e8038126d3781ee0fe62d957a521654ff431e8b symbol_table: 2d5608c50a692eb8cf4d5ba824ee8c852553f0149f8f07fbb3b90b9f2edd43ba diff --git a/tests/expectations/compiler/compiler/integers/i64/negate_min.out b/tests/expectations/compiler/compiler/integers/i64/negate_min.out index e1597d3df0..eb385ba062 100644 --- a/tests/expectations/compiler/compiler/integers/i64/negate_min.out +++ b/tests/expectations/compiler/compiler/integers/i64/negate_min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d0a6313f717ff07413b8ba9109b9d055e1b4e12f56422335f82ba410137d2c00 - initial_ast: 13e221038b63fa5bdf940834c4cad59be102a27efa80faf50d9f15d94b580453 + initial_ast: 50a9a46f3d67dd54d8be31b5d9dba6cc386bfcb4819a650aaa6b2766eb072aa3 symbol_table: f906ba4cecba6ab5cfa4a1885c6c9727169eddf8b57c1f2624f4c521b4cf26e2 diff --git a/tests/expectations/compiler/compiler/integers/i64/negate_zero.out b/tests/expectations/compiler/compiler/integers/i64/negate_zero.out index bdb2084d25..f86e10be5d 100644 --- a/tests/expectations/compiler/compiler/integers/i64/negate_zero.out +++ b/tests/expectations/compiler/compiler/integers/i64/negate_zero.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 76a0fe2199754831329d9b089d2c02f73d7457aaed6548372169318675b85f48 - initial_ast: 45f4fc4debc5356e399c0d3a2f6386bd7b6c9a9e656ab85e031e3dfc2a3999f3 + initial_ast: dfba34e9dcbbcf24e33bd558bc309de48850e5230d77a3c2a5dd20cec4d97215 symbol_table: 2cc8ee55234106278ad79440cba5023a1bcab591dce962649005c8c6d575b9fe diff --git a/tests/expectations/compiler/compiler/integers/i64/operator_methods.out b/tests/expectations/compiler/compiler/integers/i64/operator_methods.out index 076c707266..7058b91552 100644 --- a/tests/expectations/compiler/compiler/integers/i64/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/i64/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 5e5277b920b7ba4bcffaa670a86bb6c45998ecc3540fa7392446bc050db795f4 - initial_ast: 6c43a1ad5bc369f5cd506e8609361278b9f07020b098f2d2e040e10b48e5b78e + initial_ast: c5113aa50af404cab30854f5f9c86bf30ddd6de72678898893f6d98d3555875d symbol_table: e7e813778e9c2c0c290229b5a8ad15924880c693fd1a3e15645894ff3b735907 diff --git a/tests/expectations/compiler/compiler/integers/i64/or.out b/tests/expectations/compiler/compiler/integers/i64/or.out index 2741b7ca38..62c45e9797 100644 --- a/tests/expectations/compiler/compiler/integers/i64/or.out +++ b/tests/expectations/compiler/compiler/integers/i64/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 816e4f653059a71bcad0180283b41156a125963a270269574ccc2a89fa4db47d - initial_ast: c64fc87cc51f5307039246c26df461e6cb7e5d0a656f30bfdbce8fb4333dac87 + initial_ast: fedaad1d53eb0762d2d45597ba631002220d9cc2fc0feb5f332e78c78e5a6f5a symbol_table: ec1f05e4e4537931602996337765e494f0d466ac049d4ed7b475c5fa2ad2b978 diff --git a/tests/expectations/compiler/compiler/integers/i64/pow.out b/tests/expectations/compiler/compiler/integers/i64/pow.out index 724c1bbaa6..fb92331f93 100644 --- a/tests/expectations/compiler/compiler/integers/i64/pow.out +++ b/tests/expectations/compiler/compiler/integers/i64/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 45ec89924eb54df73ffff462969863faebc2cae4f8c23fa42fa4a37796212bed - initial_ast: 4bfb62750517d6a76c99ae8101c9823bcbfdffc6fe8a221b152e7b5e47a14dad + initial_ast: 1c75c2839590828da7babc6b2ce9f2e9c246edbaf4099f541e59d9805f79144f symbol_table: 69ea41f99bf6d0d9f5cce394165ac417c9be15e48e398fd8a4d2d096ad517dc8 diff --git a/tests/expectations/compiler/compiler/integers/i64/shl.out b/tests/expectations/compiler/compiler/integers/i64/shl.out index 0f148406ac..5688c39474 100644 --- a/tests/expectations/compiler/compiler/integers/i64/shl.out +++ b/tests/expectations/compiler/compiler/integers/i64/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a6ff55c9144f97d22d9d2565f4f6501bdd12db6393c12af8765415175a8d4369 - initial_ast: e9b1d7e5a0c714dd6c8e4462b6da5226e1852805533f76df6ee8740eecc4f57e + initial_ast: 22db13b18ec57a5c42483dcad52bff9b04863daade91aa2f7dbd085a3ab854b2 symbol_table: 4754d412e2e5773a714d1f940a2ac6d8bf11839dd42841fbd2d5e6d1155e6506 diff --git a/tests/expectations/compiler/compiler/integers/i64/shr.out b/tests/expectations/compiler/compiler/integers/i64/shr.out index f5810cde4c..5e442a4704 100644 --- a/tests/expectations/compiler/compiler/integers/i64/shr.out +++ b/tests/expectations/compiler/compiler/integers/i64/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a6ff55c9144f97d22d9d2565f4f6501bdd12db6393c12af8765415175a8d4369 - initial_ast: 62b4f3dcf7dd80633c305b8f271dcc96c006a533426de9372aabc38e02494b1b + initial_ast: 7746984ff57a1968c738b59eea47f9922ff5d2ff8ac8806d32f84cf1abbe5bd5 symbol_table: 830c2a358e1b256afc5295b5145311b952811103ce18e402b6f171165317ee8a diff --git a/tests/expectations/compiler/compiler/integers/i64/sub.out b/tests/expectations/compiler/compiler/integers/i64/sub.out index 9c7d58e420..a5cdbf24c8 100644 --- a/tests/expectations/compiler/compiler/integers/i64/sub.out +++ b/tests/expectations/compiler/compiler/integers/i64/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 22e2a316ce039bd533d9624c4eeaa3a34ea4ef1fb53943386696048b8ab1411a - initial_ast: 04066970593aa644ae37df5e12ab27f199bf9c49985d74f9cefba65eb87a5b64 + initial_ast: 844b266751cc5f65a15104e2886d9fc0f6e80682c1d9ababcbfabf6c8a3f337f symbol_table: c8bd1266577970427c416d0d3b0e742025e9d57714754f5f754b2c35b86e08c1 diff --git a/tests/expectations/compiler/compiler/integers/i64/ternary.out b/tests/expectations/compiler/compiler/integers/i64/ternary.out index fa3ba3b3ea..ca3caf02e3 100644 --- a/tests/expectations/compiler/compiler/integers/i64/ternary.out +++ b/tests/expectations/compiler/compiler/integers/i64/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 6e699c3a8f606d3dd85482128f5e1e9cdc1358657e9ce54b409966398c1719fa - initial_input_ast: 2a79896e2d6dc7c1c8ebd14ef9e00db1c124810f2c8e3fbbe23aed75ed1c0f44 - initial_ast: 33a63f44654f1d38cc148f07fb7e3d31371e26eefc50fc8b9a8e202ad9f3668a + initial_ast: 01df68650cc645bfcacbb896e33aa562b2338ba40cc94ba609425fa5c9781603 symbol_table: bb5174054ce865f7162a08ad98663e071ce7ce7cddeea62410f63eb174f50180 diff --git a/tests/expectations/compiler/compiler/integers/i64/xor.out b/tests/expectations/compiler/compiler/integers/i64/xor.out index 6a3395c18c..ee0e23ac2e 100644 --- a/tests/expectations/compiler/compiler/integers/i64/xor.out +++ b/tests/expectations/compiler/compiler/integers/i64/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: afccd04ee03ff51a876dc0a22f1b0a330abdc5fc4f8399925121cf295f9ac97a - initial_ast: a96600037f54ccf79db839041ab69bd393839711d1fb238652b15d50df56bf3f + initial_ast: 632e034dce7badfa9740f577a60b852167a0d56c2f91c9371341f526a91e6a38 symbol_table: 313c0f810508fdc05ed5b1a9c75ff06b932a71f64fd7887200b81c3c687afb70 diff --git a/tests/expectations/compiler/compiler/integers/i8/add.out b/tests/expectations/compiler/compiler/integers/i8/add.out index 477bc6e504..f951444ea0 100644 --- a/tests/expectations/compiler/compiler/integers/i8/add.out +++ b/tests/expectations/compiler/compiler/integers/i8/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 418ca183b24a932ac3abf2861e019adc5050583c575b453b43ab155704f425ce - initial_ast: 63e2aafe9fb89024ad67fb1718bb06769c34704d5980f6ef641c895fedc11782 + initial_ast: 9b8ba495d57b7e5e66974c0b736d83359ca5f66216e2f53d08ace8fd39d84e1d symbol_table: 8e0b9ea83bee50df3f311a5b17320cbfd292664cde1ab1b3edf889776a75ec07 diff --git a/tests/expectations/compiler/compiler/integers/i8/and.out b/tests/expectations/compiler/compiler/integers/i8/and.out index 6c87527824..f30c919ecd 100644 --- a/tests/expectations/compiler/compiler/integers/i8/and.out +++ b/tests/expectations/compiler/compiler/integers/i8/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 418ca183b24a932ac3abf2861e019adc5050583c575b453b43ab155704f425ce - initial_ast: 22143f41f383a6b56f36b26ea4bf59a204dd083cd7ba7746ae6089b68b506cbb + initial_ast: 3e0325063d4c324921fb5f95b25730c974b67e7411f9b93a9e6ae57afc1f2d87 symbol_table: b2781521776404f87ded730bffe858f59999b1bb841aef2e67f88a4ff9414ca5 diff --git a/tests/expectations/compiler/compiler/integers/i8/console_assert.out b/tests/expectations/compiler/compiler/integers/i8/console_assert.out index 422fab76e5..8821833225 100644 --- a/tests/expectations/compiler/compiler/integers/i8/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/i8/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: df994f50ec870c32faab82a33e242eb013d207ebd7646a04ebfe21f3f5715cd3 - initial_ast: 6b4636bdff1da74783315f0599c5c0b70f224fe56dd6dc44dfaf498862ea49d2 + initial_ast: b36cea1e45e81ea04534e2620bc95b71dd9ae0ee8d47ead3b41c8dd5df544bd6 symbol_table: ec0d883067d5458d30fab9eaab97dd146ac6e3af22f392cfbec8316dbe11bf44 diff --git a/tests/expectations/compiler/compiler/integers/i8/div.out b/tests/expectations/compiler/compiler/integers/i8/div.out index 84931c1faa..4d25e8107a 100644 --- a/tests/expectations/compiler/compiler/integers/i8/div.out +++ b/tests/expectations/compiler/compiler/integers/i8/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a2921e14c8159b911edd438049c7f2b1d85dfce9b4420abaa60049b687367e65 - initial_ast: a4c4475f9596674ad4ce8103520ed08e9f73d2d7aa8308fca18cae283782de32 + initial_ast: fd4c5657c6cc5579329731c6186d14db6c7a158b465dd0ff4c73707568548ced symbol_table: 4555275e0d2377a7e4d2523e35b3cf3a272ce209027e89f311ebd49ea5b6f129 diff --git a/tests/expectations/compiler/compiler/integers/i8/eq.out b/tests/expectations/compiler/compiler/integers/i8/eq.out index b7ddc15476..ed69318d86 100644 --- a/tests/expectations/compiler/compiler/integers/i8/eq.out +++ b/tests/expectations/compiler/compiler/integers/i8/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 7a7da641486797f409636f344cbe4980b3bc61434b10e9666d5c173385e17373 - initial_ast: 9afabff955660379d53c088500039f578752a8c1871616a2d3992611dae70372 + initial_ast: 37c94b0dfaaa2d2b715e8ffb6c26d4fe86aae89faa487c6c21a35c512540cd49 symbol_table: 5d1547db2068fae457e038ce9262b15bdaa4ee657f9fd5b5f1f917b0193a56b4 diff --git a/tests/expectations/compiler/compiler/integers/i8/ge.out b/tests/expectations/compiler/compiler/integers/i8/ge.out index d958c708a0..590597a78d 100644 --- a/tests/expectations/compiler/compiler/integers/i8/ge.out +++ b/tests/expectations/compiler/compiler/integers/i8/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: e35cd317b5834dad614daf0af362b96312bb2bc34c3ee3e4143530935351a9fc - initial_input_ast: d874a35e98cadeb480fbdbeffb5233394cba9406f9dfde4c638ddd34861ee0da - initial_ast: f61e842aa2128a10eac6eab0893e43e289b3fb32aba206da43668c7e6d04ad58 + initial_ast: 651761fcdec479761f8043e695a2ca57151e9385532e3f841ae6d5e7cf0928c9 symbol_table: f981c9e364b7efd9bcc7de8da1b7ce9c9b8254106fc7c6a3aefcddb54b531ef3 diff --git a/tests/expectations/compiler/compiler/integers/i8/gt.out b/tests/expectations/compiler/compiler/integers/i8/gt.out index fc40cb1f55..e925339afb 100644 --- a/tests/expectations/compiler/compiler/integers/i8/gt.out +++ b/tests/expectations/compiler/compiler/integers/i8/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: e63b31415b8dcf4698a24700cdcc3669d89f860ed11f6c84923cd8f4d6bb527e - initial_input_ast: e0350ec947989025f7b5cd685b0cedcb493a58cd79b3da90553962ac33cefbf4 - initial_ast: 80a5075332b01642b12161eb2e7389d63b4756ab38cf4f1ea184fa58103152a2 + initial_ast: f974570f122729023efdac44f2fca35c07db99e8427ccb1e5c17f7745d16bb1e symbol_table: 64dccb617e1075d0b3d7ff23c23c1a2699339dd91884f944dfee19be7103d08d diff --git a/tests/expectations/compiler/compiler/integers/i8/le.out b/tests/expectations/compiler/compiler/integers/i8/le.out index b74f8c0345..bcc8db8764 100644 --- a/tests/expectations/compiler/compiler/integers/i8/le.out +++ b/tests/expectations/compiler/compiler/integers/i8/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: e35cd317b5834dad614daf0af362b96312bb2bc34c3ee3e4143530935351a9fc - initial_input_ast: 1f482c22510f50d78c14b5d94b21ae05e514dec423caf02561297898b416c109 - initial_ast: 1fda31b30dffff030098220fd53e5e2811a2235aa49d93bb9cc9159b458a7da4 + initial_ast: c26c1e325b108735d938459dbc191b3a693a98c982c01b13ab91652661b6f53a symbol_table: 61b2ad15c5f8d15fdc61b6d98836799356c4a8a9d3415b3b93d16263485f22e7 diff --git a/tests/expectations/compiler/compiler/integers/i8/lt.out b/tests/expectations/compiler/compiler/integers/i8/lt.out index b0b92690db..fce0ab9fdb 100644 --- a/tests/expectations/compiler/compiler/integers/i8/lt.out +++ b/tests/expectations/compiler/compiler/integers/i8/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 19169cbb3c5a59a1e5490bd2bda1fdb09104022b499b31c3645c24ea109e9aa8 - initial_input_ast: 70185fa43618a91a29ca84dfc2d422c69a4a5da2e9055d7de54a13cdb5d4231a - initial_ast: 87fca23168c5112f92f906213d7c04d41da2f9e69f0c9b5f2bd2803e9c511597 + initial_ast: 03b007765c7a7cf6a728387d84ff1f80eff204b082e2da3cef5328c7023c874f symbol_table: e6251d92adc77f2a840325b377f59e2fdb93271b8ed219598b656311a166956c diff --git a/tests/expectations/compiler/compiler/integers/i8/max.out b/tests/expectations/compiler/compiler/integers/i8/max.out index f684779786..e7517f2f12 100644 --- a/tests/expectations/compiler/compiler/integers/i8/max.out +++ b/tests/expectations/compiler/compiler/integers/i8/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c7cfa681865a1c0623cfd356162d0c6750f3e06fb72126585eace0aeb21bae77 - initial_ast: 142c791a86d2da044a635ff809795467c0fe56fddab2da461701b86c962f24ba + initial_ast: e6a3fc15235e0706a85f82641374f0467228c50837e7b846596320d536efd87c symbol_table: 1b3e9d243de52bd4c605c6202a07fc6bceeb01559c6d07fe3c13338c426ac9a2 diff --git a/tests/expectations/compiler/compiler/integers/i8/min.out b/tests/expectations/compiler/compiler/integers/i8/min.out index f2d3247a73..84a9b1054c 100644 --- a/tests/expectations/compiler/compiler/integers/i8/min.out +++ b/tests/expectations/compiler/compiler/integers/i8/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: bdf7f8a6f92b7acd8c798becc30b2f6a8cf6b0ed714c168c5a9e5559988b2185 - initial_ast: 1f4036acfcc74868d883a3a476bb7f0d2aaf54c0ea507f1afaefe03074479965 + initial_ast: cbd2798a107921e8e712cece748a71b5bcc92757c652b3ccf39bb06ea2a6db05 symbol_table: 35926c3af44cca918545acb2ef583e041658e31c4a7731e208fea44feb09cef3 diff --git a/tests/expectations/compiler/compiler/integers/i8/mul.out b/tests/expectations/compiler/compiler/integers/i8/mul.out index 087c22c585..4da05466d6 100644 --- a/tests/expectations/compiler/compiler/integers/i8/mul.out +++ b/tests/expectations/compiler/compiler/integers/i8/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f94c9c57a09035126762720835869947bf4abb61f29f9e6ae15bed04e399338a - initial_ast: 1379ff6afd8de96e5215bd72dbedfd66c70514aa943a792b931e3133cd897416 + initial_ast: da3cb088ebebe03c45e29571b20cd3edf89f071616e5e7a0e86881d705cc4418 symbol_table: e4e5cb710e548721cdc09133278331806efd3ef860c81010e14b6da902c63fd6 diff --git a/tests/expectations/compiler/compiler/integers/i8/ne.out b/tests/expectations/compiler/compiler/integers/i8/ne.out index 90a4893f91..5f952df42d 100644 --- a/tests/expectations/compiler/compiler/integers/i8/ne.out +++ b/tests/expectations/compiler/compiler/integers/i8/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: b1cd26a625c709bb94ee5913524afc6b1b83a8c1515922ba8b14dda385e0ca68 - initial_input_ast: 671b2b3f086c62570bf29a08fe2e5adc48f71725317b0e3803acebe92dc846d8 - initial_ast: a9aa58a0fe6c81df3487e38da263ed454ed0a1ce4dc47a9ba68d7b04c3c96588 + initial_ast: 9f19e8654dacc11a69d9f2fc56cf167d656ff2a0c37c236682f2ae4844a4383e symbol_table: 27e9ff31dfd70c3355a9a0944292bc80f19262479b3e2cf1d66e897f77903e12 diff --git a/tests/expectations/compiler/compiler/integers/i8/negate.out b/tests/expectations/compiler/compiler/integers/i8/negate.out index 5f2361ca8f..53d92d0c71 100644 --- a/tests/expectations/compiler/compiler/integers/i8/negate.out +++ b/tests/expectations/compiler/compiler/integers/i8/negate.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 0e496fab37ba66e63b3906e0fbb11dd2449210b056394c910f90fb02c7c35ec2 - initial_input_ast: cc84f02e75bbc4ff7389b2e60e3fc598ebc32c9eaac36a43f8a4687a1ee5f1be - initial_ast: 5fb5076e1a8680b6c35c60533c57f33c7b05afe5a18cc467c03f26d308e341c7 + initial_ast: 9263cc43456a22284eeb274a610b7d027663512a59d9c258c8ba80c862764cd1 symbol_table: a78bc27e15eca8b0f2aa6a289351955b7c525a4d3617f9d59a5b0989d577ddbb diff --git a/tests/expectations/compiler/compiler/integers/i8/negate_min.out b/tests/expectations/compiler/compiler/integers/i8/negate_min.out index 27f76d6f1e..845d6a4555 100644 --- a/tests/expectations/compiler/compiler/integers/i8/negate_min.out +++ b/tests/expectations/compiler/compiler/integers/i8/negate_min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a1bd925fa2e13279fba1cf269924a81f2dc45c5dff42f62c3d6a4f1e7a368613 - initial_ast: 5bdc65e289dac3fab12e24fe51e16b4a773b805e1034e9180e6b7275ec585a8e + initial_ast: 6f9d33d3d24c97deed44cfca0c697a96d9ff75f26cc0dddde32c397d4c0c742b symbol_table: 41d846fa1adfa0b4eb4ce77bd2691018d3e642516727dd5cee6f3db269528dfb diff --git a/tests/expectations/compiler/compiler/integers/i8/negate_zero.out b/tests/expectations/compiler/compiler/integers/i8/negate_zero.out index 5202a6fb00..1627ff653c 100644 --- a/tests/expectations/compiler/compiler/integers/i8/negate_zero.out +++ b/tests/expectations/compiler/compiler/integers/i8/negate_zero.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 2f8bdfd57bd177ef6ba420992c9b8246f27a332126ed41021cf718db1f89fce2 - initial_ast: 2e23e03a7908ff1bc84c11ddf13945d7fd25fc5084f5c60f1b9d5d95978714f8 + initial_ast: 84dfaa1d77da000ea8bc1d3e8e35e379dbf1ac123b070bb557a6b3c48953d3b9 symbol_table: 2b6a5dd88525428542fb220c4d8e501b41655d4040b29e2ef89c9642f0c4efc8 diff --git a/tests/expectations/compiler/compiler/integers/i8/operator_methods.out b/tests/expectations/compiler/compiler/integers/i8/operator_methods.out index 1de80aad51..62c7784398 100644 --- a/tests/expectations/compiler/compiler/integers/i8/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/i8/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 15ad88e6dd28c72e4202ecef608cf1b1db73eceba4024607a1ece070f7f31942 - initial_ast: 6e44db0cf93401d21372b7dd688b0826efcb01036ff50b54862d12235201446e + initial_ast: 3b8d8d8a958e5b64ebe5fc5f810ae977b229fe0aa853b937a828602d008cfc8f symbol_table: 520c04593aac56a31728b35e24b74e81e884be8bb40a7669ae30772ed3cf87f7 diff --git a/tests/expectations/compiler/compiler/integers/i8/or.out b/tests/expectations/compiler/compiler/integers/i8/or.out index 9014e0e5bd..4471897fd4 100644 --- a/tests/expectations/compiler/compiler/integers/i8/or.out +++ b/tests/expectations/compiler/compiler/integers/i8/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 418ca183b24a932ac3abf2861e019adc5050583c575b453b43ab155704f425ce - initial_ast: 18cfbf8e9f363d7477ee0c7509fd909c7f4929ffa2b4c2f46113d85c0f2b481d + initial_ast: 1fc1622d1639f9ef8978b490eb13e9c50b974fc59c9cbad2eadf6b9d3aa76ee0 symbol_table: 5266cce1cdf8224771fcdd2e36dfadd30d9f3f5bc9722db2316670a5ed83b0b1 diff --git a/tests/expectations/compiler/compiler/integers/i8/pow.out b/tests/expectations/compiler/compiler/integers/i8/pow.out index 1164ccfb97..3ebf0c22c5 100644 --- a/tests/expectations/compiler/compiler/integers/i8/pow.out +++ b/tests/expectations/compiler/compiler/integers/i8/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: fce55063674f3154f8ddb6d64c4fcdb82203cd3e19017c797e5509e75227d226 - initial_ast: b616f39c56d8c281d96a690906c8ba6bbc81831a653a2803cf92477bff148621 + initial_ast: 7121f01141a3f00744a0a8ecde5ad19cd50fd646076b7ea890f547508001080d symbol_table: 9c77abb7b704660e85bd78e304db4d62efb80051fbd4e07c5a8afd72ddec24b4 diff --git a/tests/expectations/compiler/compiler/integers/i8/shl.out b/tests/expectations/compiler/compiler/integers/i8/shl.out index 2b867a3ed6..80fa1a0b01 100644 --- a/tests/expectations/compiler/compiler/integers/i8/shl.out +++ b/tests/expectations/compiler/compiler/integers/i8/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 46761fa9dc62c5871413b18e0da193bb98f1401ebf32e057eb7afe369fddcc1a - initial_ast: 0e3218faca332771d9e3b01ec42562dfa4738b2452a97dbe0eba14c4ac22ca42 + initial_ast: e785516d28304ea36f090a4e0bf3a0613fbaa2b41ca24fb177ee50fb0c329187 symbol_table: 25693a7adb577f7419c27015fb097fc96fe95f71762343d9e8d7053422973a3e diff --git a/tests/expectations/compiler/compiler/integers/i8/shr.out b/tests/expectations/compiler/compiler/integers/i8/shr.out index aa26262d9a..b52ec0dc80 100644 --- a/tests/expectations/compiler/compiler/integers/i8/shr.out +++ b/tests/expectations/compiler/compiler/integers/i8/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 46761fa9dc62c5871413b18e0da193bb98f1401ebf32e057eb7afe369fddcc1a - initial_ast: 6ae8451b1b11dfaa8bcafd29c398c14ce99b3ee4a39f6d9758c9bbca5453c44d + initial_ast: 43e0f566063496aa29433a93d668755fe05b60ea554652ec3f18be6b72325d47 symbol_table: 33aea3edb28878ab9a2a87d0c534e7b8d89492d1f142321fa1b6d3aa089e075f diff --git a/tests/expectations/compiler/compiler/integers/i8/sub.out b/tests/expectations/compiler/compiler/integers/i8/sub.out index 53780673c1..2eef10fcd8 100644 --- a/tests/expectations/compiler/compiler/integers/i8/sub.out +++ b/tests/expectations/compiler/compiler/integers/i8/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d6ff175d17561f3b4a70c3b7b2dc6232593c77a2614e2161eeebe72d96cf9843 - initial_ast: f8bcaa0b34d642cb37c8be5ab7eb226dc565a5802d69795eb197e8b1e5b45d0c + initial_ast: 29a4ac5d0f91e74f8bb730798ed1d61936a39ac408298df0a13f5b86df2e747f symbol_table: 3d953695db053c4d923905b7ba2cf4a07258eab1073ec32350a42b1ff21e062c diff --git a/tests/expectations/compiler/compiler/integers/i8/ternary.out b/tests/expectations/compiler/compiler/integers/i8/ternary.out index b023686a1c..0ecc39416c 100644 --- a/tests/expectations/compiler/compiler/integers/i8/ternary.out +++ b/tests/expectations/compiler/compiler/integers/i8/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: d9c9f985b366f3218f7a382946e2e661652a62c6cbd1c210e4bf283e9e45a0e4 - initial_input_ast: 9dddec9d0f1cac8c804a46cded65f8902bf28e181149c73bf6c4d5be8fe6e21f - initial_ast: fbeeedb9bf32f4014d27172da623e262db55ae27ad367d09e31cb71bc4b974cc + initial_ast: 4ae6a7c17784482c06a7d426b8be8cdfacf52c141ff42cae950a8054d9d628f7 symbol_table: b21d2e90eac903afce4b0b3d2b7683d7861017f4debf75b7f772dfef57912a99 diff --git a/tests/expectations/compiler/compiler/integers/i8/xor.out b/tests/expectations/compiler/compiler/integers/i8/xor.out index dfaacc1a30..0a6ce0727c 100644 --- a/tests/expectations/compiler/compiler/integers/i8/xor.out +++ b/tests/expectations/compiler/compiler/integers/i8/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 049a158cda473ea574f3a1a41b7b12044d952feaffcd7fe391507fbb542a51a9 - initial_ast: 8a8881ec1d45699722c00fb217887df56d7c5f6ba997c126829e9e2047592a60 + initial_ast: f9707c8221f87750e35dba0c0db3a0cce3e705058ddd0282df9072166daf362d symbol_table: 76e82cf351d3ca832c6a4feee4df18b1c01d445d5fd727f317199ea7e2cd172f diff --git a/tests/expectations/compiler/compiler/integers/u128/add.out b/tests/expectations/compiler/compiler/integers/u128/add.out index f592d5d993..8550fa355c 100644 --- a/tests/expectations/compiler/compiler/integers/u128/add.out +++ b/tests/expectations/compiler/compiler/integers/u128/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 0b4b4bf798b6f2dfcf78b0d4f72c37c8c8c240ba2668fcbbcaa29fff825a4cee - initial_ast: c09bcbdf96f73f93cdf12a30fcb17f317f484279ef95a405ac024b497d89e2ff + initial_ast: eb2d9bd724ce3b7ae6ccbfaec8b24d974fa95e0c7864abf766bf9865a44e72ce symbol_table: 85b962b65942577bd29569717e56d2d69e66f7bcba0179cf8d2baec07f7e8af6 diff --git a/tests/expectations/compiler/compiler/integers/u128/and.out b/tests/expectations/compiler/compiler/integers/u128/and.out index e36a5b0597..a5c6ffb07a 100644 --- a/tests/expectations/compiler/compiler/integers/u128/and.out +++ b/tests/expectations/compiler/compiler/integers/u128/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 0b4b4bf798b6f2dfcf78b0d4f72c37c8c8c240ba2668fcbbcaa29fff825a4cee - initial_ast: d09e17e06ecf81563bcf4cd91f0b1ff31683f7e76717aa9dbae3a38b6b0093cc + initial_ast: f6d5d7bf6e71c8831f1c77ac19c52b69729f714f1e28b2f712b3dd1e0dbc6272 symbol_table: 8633b857bc63a9594822c85c3059ef6a3549c714292105afab1fd5bacc037704 diff --git a/tests/expectations/compiler/compiler/integers/u128/console_assert.out b/tests/expectations/compiler/compiler/integers/u128/console_assert.out index 946b9446f0..0a9da161ea 100644 --- a/tests/expectations/compiler/compiler/integers/u128/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/u128/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d33717e99abedf3d3ad1ca7e18212fafc940639a0005c934ee43b7ec10131e94 - initial_ast: c7ec9e92e0ac15c17db0c5d40b53c394d4da748f7f37ff2fee74baaa956165ad + initial_ast: bdebc852781b9449ec04b8682c875732f3ecd26c24ae271f517e0393b88dac6d symbol_table: d4076bbf2b0c5f3d746fc83776930936a1652df9937f5010ce7984f53c670018 diff --git a/tests/expectations/compiler/compiler/integers/u128/div.out b/tests/expectations/compiler/compiler/integers/u128/div.out index 8398ef7883..4d1a367d6e 100644 --- a/tests/expectations/compiler/compiler/integers/u128/div.out +++ b/tests/expectations/compiler/compiler/integers/u128/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 312caa259bb60c26c8e61169dcfa1dc94174d1a50c35a6d889ef1eed7880532e - initial_ast: 470aa930cedf15168fea1fcddd49d7cedd5410599ae372c5bea9948aef2bd7f0 + initial_ast: 60bc2b4feddb64c20588dff6a1b7b8aca851b258dbdc0ca167e86429c14684b4 symbol_table: b860f0736b19cbc0a9e9bc36c631aa8950663669440f273a1def28dc9d3ffaf7 diff --git a/tests/expectations/compiler/compiler/integers/u128/eq.out b/tests/expectations/compiler/compiler/integers/u128/eq.out index 3789cfa99a..b75f39e1da 100644 --- a/tests/expectations/compiler/compiler/integers/u128/eq.out +++ b/tests/expectations/compiler/compiler/integers/u128/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ed076eaaf99eeab4483cbe3f371ca5bead0ebb316e7b9e02708bf35dfdcc15e0 - initial_ast: fa1d49c14840d8af2266f95e90b0c7534afb43af6c8365a96796b88a1069f9f8 + initial_ast: 42a0cdfbd13873ba208fb1fe9b243a034b8d8ce3fadc49cc5f3538bf420aaef3 symbol_table: 810f788ffb3a6bcb04d8ca7b2ad3ea01877ea76777e34e4625418328a1093073 diff --git a/tests/expectations/compiler/compiler/integers/u128/ge.out b/tests/expectations/compiler/compiler/integers/u128/ge.out index a95735d91d..198821dc1b 100644 --- a/tests/expectations/compiler/compiler/integers/u128/ge.out +++ b/tests/expectations/compiler/compiler/integers/u128/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 114a06e1bb4a0c3728adc7668365d8deea159ccffc14b1977ba2bba2b05f3987 - initial_input_ast: c8fc11e4265deb71385cf129d8cac917eecdc35c993f569bc339e49fc26e0dab - initial_ast: 22866aca009cd492205eb33e5de776e410d245afad2b944536236fc5ffc7becc + initial_ast: aab61bb86b46f6fed437ec9fd515403ec9a06e43e5c6266c1b68be399ec5c0ee symbol_table: 19da08d5871f5527b71d95b2915abfded4f83f044ade9473911e8ae3ae1f8d07 diff --git a/tests/expectations/compiler/compiler/integers/u128/gt.out b/tests/expectations/compiler/compiler/integers/u128/gt.out index 169b15d8df..eace31f96b 100644 --- a/tests/expectations/compiler/compiler/integers/u128/gt.out +++ b/tests/expectations/compiler/compiler/integers/u128/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 490a83da761d8daffa5b10e1d9785fe301129b18eaa8b4be8550a1037c92e037 - initial_input_ast: a9fbdd31d60c3b135c46eb07ffc291d906e61283f66b5ddda81080adb1b72c4d - initial_ast: 97e1caf8274c2e27e34f2218ab5aadd7a14ce8e518e7adc021c5763b7ea3de42 + initial_ast: 70e05592a11a1f98430e4f37ae4814eceec2cd402f6e4af63e4e511dd54f5b3a symbol_table: 89707a7895e99e75f57702b9b6ec1c6b2f3c47ed08cc9dc574e444b3659d18e4 diff --git a/tests/expectations/compiler/compiler/integers/u128/le.out b/tests/expectations/compiler/compiler/integers/u128/le.out index 5c2567a1f0..369de4b24e 100644 --- a/tests/expectations/compiler/compiler/integers/u128/le.out +++ b/tests/expectations/compiler/compiler/integers/u128/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 114a06e1bb4a0c3728adc7668365d8deea159ccffc14b1977ba2bba2b05f3987 - initial_input_ast: d86e46eff4d53385160f9e227d120be02cff1d0bd25359f7dcd99cd98a7b6689 - initial_ast: aac1210ac91250cf116e6b8c4af27d042526704975d394f694b875ee7c7bdca4 + initial_ast: 157f05d319366f899a98d2eae455a9f9f07f7e820f0466e34f822c1a012d8b2a symbol_table: a9272e3c4642bf4d1729d1ede11f4116b76f22a07b245197e8bb8d49a97bcd52 diff --git a/tests/expectations/compiler/compiler/integers/u128/lt.out b/tests/expectations/compiler/compiler/integers/u128/lt.out index 74e3a2a251..bf6f5623c0 100644 --- a/tests/expectations/compiler/compiler/integers/u128/lt.out +++ b/tests/expectations/compiler/compiler/integers/u128/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 81a226fee5bd7855328403195937bf7dbad374f94e29afa8b750b5b1a3aa47dd - initial_input_ast: d68bda01a4ba78c58809ac0c8286b56fafeb17702abf7a6cb9a7195a3aef8317 - initial_ast: 6e319b6448230333f01fcbc23928f2d07a7d52ecf356c42ba5a9f17f85030c6d + initial_ast: b78be2228271135bf04bbe7608da53041afffdffa05e0c7a5237907ad9695670 symbol_table: 9fb210efb68e147ee91dda83bbc74fe51067b5fecd0260dd75f8e3e9e368ced3 diff --git a/tests/expectations/compiler/compiler/integers/u128/max.out b/tests/expectations/compiler/compiler/integers/u128/max.out index 3eae7977b9..7254ccc8f3 100644 --- a/tests/expectations/compiler/compiler/integers/u128/max.out +++ b/tests/expectations/compiler/compiler/integers/u128/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a2ab6a89c5952a113fbecdeb630917b4699c38dcda5971528ab35cdd5e92c216 - initial_ast: f74810c683ca376b62ab74f8c03d59de896c3463a348a2e7c83c2891fe11d235 + initial_ast: cbfda49216a1ae47be2b829806e29ac0721bc4b399c372d45eaef11119605037 symbol_table: 9c203cd288a2f3577f640688fee03a294455dca3bfd408450b9ed4cd8a66ee3e diff --git a/tests/expectations/compiler/compiler/integers/u128/min.out b/tests/expectations/compiler/compiler/integers/u128/min.out index c2be5ad1ce..b661847505 100644 --- a/tests/expectations/compiler/compiler/integers/u128/min.out +++ b/tests/expectations/compiler/compiler/integers/u128/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 886b77241861e32ee76414a8f86e04b86943325113b6b28e9d6805ee61c936ef - initial_ast: c4ed389c216c8febadfda804cdfd5f84de0ed16592ad293434304819fcde32c2 + initial_ast: 77a81134f78c3391f5cff0be4bfb0b83d86375b013bbf16b21bbdd2fbab69722 symbol_table: a65fd445b64a716c9bc40bb14096fbbb96f8a48dd0150107719dad4df3f711b7 diff --git a/tests/expectations/compiler/compiler/integers/u128/mul.out b/tests/expectations/compiler/compiler/integers/u128/mul.out index 3b0168a571..6f7a455dac 100644 --- a/tests/expectations/compiler/compiler/integers/u128/mul.out +++ b/tests/expectations/compiler/compiler/integers/u128/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 55275f9363fdc61c58cf22cc7fea6f1c5314bf2d1c31866a9609b83b050983a3 - initial_ast: 5d6b4ef63ae8e4fe01ee2d19ca2de4f3183af25a84b9d9aa47c4759f9119e3a8 + initial_ast: bd69ac3aac0ec96b5d373a3bd10392c7ccae2b7a0b6ac9a24b58e1ce5012d95c symbol_table: 492476caf2b1e39802f7f2020a5fc5e7d2324d2b1e20ac2ac76143999021bd10 diff --git a/tests/expectations/compiler/compiler/integers/u128/ne.out b/tests/expectations/compiler/compiler/integers/u128/ne.out index 7e19272616..a5a267cc12 100644 --- a/tests/expectations/compiler/compiler/integers/u128/ne.out +++ b/tests/expectations/compiler/compiler/integers/u128/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 6092164adf1cbb62c9bc7b5c9615deb73f2d4ca73eca6ae6fa732f7e8a2d6fae - initial_input_ast: 0a73021a07d37a00e70a521b9271d9849c871e4df9395fd866009d3770fc8b9e - initial_ast: 401daa77a0b0589d3eb44f7de5efd367afa3c2626463363aab1fde57eb5d90d2 + initial_ast: f51d951601832d28c761369f53f963d92826b112f6a90d51ea8c04b66c85f6b5 symbol_table: d7ae64f36f0070a56e827f3364bfd08d912442a7b8edcb06e02aab28bc27eb95 diff --git a/tests/expectations/compiler/compiler/integers/u128/operator_methods.out b/tests/expectations/compiler/compiler/integers/u128/operator_methods.out index 346faf57f0..5342a4d7b9 100644 --- a/tests/expectations/compiler/compiler/integers/u128/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/u128/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 90091db06f755dc2e8c920d26390f0dd6a9f7f5401148ab01e46dc77a3900582 - initial_ast: eb4bcc4d57f7f83b382b706f040d3a032a956cb9b262491d42ddfa39caada74b + initial_ast: 804c0b3e2eb907802332d6768cb3df70a4d25711e57467d8a41fef59a22b3ec6 symbol_table: 35232e953001caf05436ab868a14c8961f168f069fbdd2d3e80b3081154e2fe8 diff --git a/tests/expectations/compiler/compiler/integers/u128/or.out b/tests/expectations/compiler/compiler/integers/u128/or.out index 8734e67983..6a95ee4559 100644 --- a/tests/expectations/compiler/compiler/integers/u128/or.out +++ b/tests/expectations/compiler/compiler/integers/u128/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 0b4b4bf798b6f2dfcf78b0d4f72c37c8c8c240ba2668fcbbcaa29fff825a4cee - initial_ast: 6532d8f436c711698a26f08331718f5cb61dfe1e3d41120d91b4039a5b7db683 + initial_ast: bca72d953da4d4583ffed27bf5d4942ea5cd85bb9a89e84ec78adcf9fca3400f symbol_table: c8842d9700fabf587fd28f5019bae7e5abf4e75bebeb57cdde89c43cb795da4a diff --git a/tests/expectations/compiler/compiler/integers/u128/pow.out b/tests/expectations/compiler/compiler/integers/u128/pow.out index f73cd73cb2..cc359db0dd 100644 --- a/tests/expectations/compiler/compiler/integers/u128/pow.out +++ b/tests/expectations/compiler/compiler/integers/u128/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 736df282a3b5ffff601dd67e443891125ca67486745f642c1a629df51f139651 + initial_ast: cc62ad97c13fbb4e272c794e2055e18d7451909c8d827912d0c14f430f8f8812 symbol_table: 3369bb224fc76977901bd0c162932d08760213d30a0f1ccdf06fd25c45610ade diff --git a/tests/expectations/compiler/compiler/integers/u128/shl.out b/tests/expectations/compiler/compiler/integers/u128/shl.out index 56b2598e2d..ec50b38b13 100644 --- a/tests/expectations/compiler/compiler/integers/u128/shl.out +++ b/tests/expectations/compiler/compiler/integers/u128/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 7c048b2df7402d5ae82869bf59ed5e8e37dc37b297e6da315414cdf92f3fe47e - initial_ast: 8c4b9d867aa5af79625cf321b0fa23ba73d6903c50dcb0ef8a9793a30fdb6948 + initial_ast: 9555f12bbdb146b54010ebd80f701da7632754148ec5a7e443e71d95b3c80a2d symbol_table: 08a662c9b3bb0ca82bc79e01a43ac513e20b86c32051d8b14af5a715602f91d0 diff --git a/tests/expectations/compiler/compiler/integers/u128/shr.out b/tests/expectations/compiler/compiler/integers/u128/shr.out index cacf428fcc..08bc513b59 100644 --- a/tests/expectations/compiler/compiler/integers/u128/shr.out +++ b/tests/expectations/compiler/compiler/integers/u128/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 7c048b2df7402d5ae82869bf59ed5e8e37dc37b297e6da315414cdf92f3fe47e - initial_ast: 7a81a139806e719f879fe3f93c6e2af93128c2fc36dda6650ae435ad18b36d99 + initial_ast: 04be5cafae764ccd8c02a5bf2123e955bf0587b2d6d710de07a792cf5d7cc4fe symbol_table: 2e776b56f9f9d121e5a78ae302c8990b1862c59a893d2302559673ca2f9a1abd diff --git a/tests/expectations/compiler/compiler/integers/u128/sub.out b/tests/expectations/compiler/compiler/integers/u128/sub.out index a0dece37e5..4175294900 100644 --- a/tests/expectations/compiler/compiler/integers/u128/sub.out +++ b/tests/expectations/compiler/compiler/integers/u128/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 423b332f76b482591a7a7c3003662aea94e81ac3341e384e6ab510287a33fcd8 - initial_ast: f18ff230b4a7482f58667af30686b4010d20b119db1e3875d912efd8ffd83b4b + initial_ast: 345a7f0fed19b6a03810ae851a981fdbbd9d5f8ab0f981583fbc9c22173be2af symbol_table: e912494e08433871177197dc0704564f9b2153f8310c337f2942910a4322727a diff --git a/tests/expectations/compiler/compiler/integers/u128/ternary.out b/tests/expectations/compiler/compiler/integers/u128/ternary.out index f30cbb4fa3..f7de7042dc 100644 --- a/tests/expectations/compiler/compiler/integers/u128/ternary.out +++ b/tests/expectations/compiler/compiler/integers/u128/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: f8a5839bc3ebd5a43da88b4956a763ab9ab3bc2a08cce1e63b4bed90a372cc29 - initial_input_ast: 7791bee70cecfb5adf16a8d4e309a9cde2802bb110f038ded316b751d904e37d - initial_ast: 73d43529cae30694437cb5762150833c654639587f2e24df0a93312afc1e5b1a + initial_ast: 796497d252092c6265cf527e748c71fedd8aa3001033d51460889b3683b7e0d6 symbol_table: 861b84e4240b96a0f87b9b401b1ad2b9142fb257fb3bbaa2c5971657be173c76 diff --git a/tests/expectations/compiler/compiler/integers/u128/xor.out b/tests/expectations/compiler/compiler/integers/u128/xor.out index 51c208bc21..4d29dffe26 100644 --- a/tests/expectations/compiler/compiler/integers/u128/xor.out +++ b/tests/expectations/compiler/compiler/integers/u128/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 9994d676560e6f9ddec4a1b225e6fd50646f1b236db21dcf7dc04771bd2cafaa - initial_ast: f4d4a7bd9cdc74592091682ae635a0c6e34ce98fec41dc193f4353dca9840974 + initial_ast: a33afdf46485631730da32a1692fd2a11dfcf20f4b40d9991a63b25e597d9d98 symbol_table: 7b8962271b265ff5b02b7fe8b0dbd12f483911779de605258ad1f31b56c56810 diff --git a/tests/expectations/compiler/compiler/integers/u16/add.out b/tests/expectations/compiler/compiler/integers/u16/add.out index 677e2eac04..297180ea8f 100644 --- a/tests/expectations/compiler/compiler/integers/u16/add.out +++ b/tests/expectations/compiler/compiler/integers/u16/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 645d8b76a8e35f3c5c40b8a8d7edaf61869ba567db8856ff407c6c6ca93e15ab - initial_ast: 0efce2048d443bc625ffe58dbc7af9d7cfcba635825a8dd3480708cc660ab57a + initial_ast: 881f78393ecbe323eb2239d8ebc19e1a3147bbe77b002a7c2aa5d6f10d6c3b9b symbol_table: fc9af6255d47fab1a9381ef8b213992b64318d93d06aff86fe311d922219d2e5 diff --git a/tests/expectations/compiler/compiler/integers/u16/and.out b/tests/expectations/compiler/compiler/integers/u16/and.out index 1f4cc36839..1c01918e3a 100644 --- a/tests/expectations/compiler/compiler/integers/u16/and.out +++ b/tests/expectations/compiler/compiler/integers/u16/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 645d8b76a8e35f3c5c40b8a8d7edaf61869ba567db8856ff407c6c6ca93e15ab - initial_ast: 520b6831317851ecf843501a2d1424b63829404ea50b0318b96045fda54bef1c + initial_ast: 8db9f41fbbf8c1abee010372dc35922f91c49aeb20460ed3cfbb6729543e79d0 symbol_table: 26a3b1e6e09b0ddd05be6ce9c92593f6721faaced757eb395fd0923516c652c4 diff --git a/tests/expectations/compiler/compiler/integers/u16/console_assert.out b/tests/expectations/compiler/compiler/integers/u16/console_assert.out index abb184d303..890b621329 100644 --- a/tests/expectations/compiler/compiler/integers/u16/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/u16/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 93f0939fa8d2a71a8de2232636f6fbed581078acf2d6350b551a85b68d3a35f3 - initial_ast: 68df919b5fb7b992c5e900b16a3c02ef9e2fe737d0ec61d67859c5b22a3630c9 + initial_ast: 4f8b671fca80355648b2018e17d8801237424c6969f53e3a31fc8f0fea3351d5 symbol_table: f853476b0d85194a0854b75ac10f909fb99f9113c51052cd1a5f0bf85bc08c33 diff --git a/tests/expectations/compiler/compiler/integers/u16/div.out b/tests/expectations/compiler/compiler/integers/u16/div.out index 7462bd46f7..f8134b0e87 100644 --- a/tests/expectations/compiler/compiler/integers/u16/div.out +++ b/tests/expectations/compiler/compiler/integers/u16/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c5d860d9e16d54ba0e74b3d163c409c5ed8228f0716d439faca960550b23941c - initial_ast: f72e0c7991f49f2d668f6693a50615eec8a2ddf54f1a92e51f84c34be6b4b240 + initial_ast: c1ba9f99db6095d423df58e571b9528e0294029a486e13062bfde9c16a4becc6 symbol_table: d503fb2e671a7551cd4a748b105340c9bf66410fd12b3dab6b25dd1b695ba11a diff --git a/tests/expectations/compiler/compiler/integers/u16/eq.out b/tests/expectations/compiler/compiler/integers/u16/eq.out index 98dfce558f..b6d613f95d 100644 --- a/tests/expectations/compiler/compiler/integers/u16/eq.out +++ b/tests/expectations/compiler/compiler/integers/u16/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: aacc264ea8f875d044fe9d32dc074877f55b566fe3f5a95a1bbf7193797aa520 - initial_ast: d8ec08bd1f7422819148f21816252bb209fe01589464ac91d6129d459b27ddd7 + initial_ast: ae109686fa41c074b883fad7e7bb5e4cd4e96badaac5628d77ca559eee924d17 symbol_table: c29e55549b8d692f7280790b7f7f199f76936be35d38900c16fef826d466f7f0 diff --git a/tests/expectations/compiler/compiler/integers/u16/ge.out b/tests/expectations/compiler/compiler/integers/u16/ge.out index 784c4ac329..e34a60bdbe 100644 --- a/tests/expectations/compiler/compiler/integers/u16/ge.out +++ b/tests/expectations/compiler/compiler/integers/u16/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: a0711a6ed49dec13228ba659a9b314d9ce6676d662813bd195dad9137ff9bc5b - initial_input_ast: c44e22bafbeb5729fbdbbfdce638ff6bccbcebb1ef4958a578915665a9251de9 - initial_ast: aaa4dc4173cb9fb0c05876f6fdee19e4a81d0c5afc82f7a8b488b0cdfc1e69ae + initial_ast: f83ad320d9b921f08828e003c01138dffce369d173424e658be3d85908e5da40 symbol_table: bc6049481a826874d2972746387c9a1a47a457ef22c3ed177fd71ea4b013e479 diff --git a/tests/expectations/compiler/compiler/integers/u16/gt.out b/tests/expectations/compiler/compiler/integers/u16/gt.out index 64fd3743a8..566e8fb4fe 100644 --- a/tests/expectations/compiler/compiler/integers/u16/gt.out +++ b/tests/expectations/compiler/compiler/integers/u16/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: bbcfb719bb3775418cdc7eacc87fea6bb4b463a8ee5baf1ca448115098de0442 - initial_input_ast: baaf3113b1461d0808023e5bcc59d482aa451aa5bff5815bdca2249c1a75515e - initial_ast: a142b4368f83dc792a96dfa115f4d8527acb2f87530b5693e26a40efcc9f1c8e + initial_ast: 5bbf9200e77520a0ec04cd4365c4e4a867cdaa285d2033a6d2876dff8946ac1e symbol_table: 8a398f6aebf358c24e9dd587ce92952ec81b01091b8083fee417004729239fb1 diff --git a/tests/expectations/compiler/compiler/integers/u16/le.out b/tests/expectations/compiler/compiler/integers/u16/le.out index a539edba0d..0dacdf0fda 100644 --- a/tests/expectations/compiler/compiler/integers/u16/le.out +++ b/tests/expectations/compiler/compiler/integers/u16/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: a0711a6ed49dec13228ba659a9b314d9ce6676d662813bd195dad9137ff9bc5b - initial_input_ast: da98deac955107d3b01e18edeaa906c66b216e029e09959f12a02c64c8b64259 - initial_ast: cccd56dfff8508f810dc3acae53bac2d3e03afaec697f83bf45cd922ad5a3a63 + initial_ast: 33d33351a257f8289d5a9e369255a2355b2fd019164f2a63dd654cb3781b2b89 symbol_table: 2a51ae115af0bdbf3cb60638f584a49945eaa4d44fbeed603042e4849d22b611 diff --git a/tests/expectations/compiler/compiler/integers/u16/lt.out b/tests/expectations/compiler/compiler/integers/u16/lt.out index ef4557c157..6fd4b9ec11 100644 --- a/tests/expectations/compiler/compiler/integers/u16/lt.out +++ b/tests/expectations/compiler/compiler/integers/u16/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 9383a4837a0adb9b494229de1f4fd4cb519a0afcf273d83dbd78c25c568fada5 - initial_input_ast: 7bb6ab59dd3331f3e0121a736939323f73be4053f91859d186c620fd0e14244c - initial_ast: 811b1d04a4474b7f3b943caebe9e5fcca1f9fe7e77cc84e6fb85d40d0d66cb55 + initial_ast: b3e000b954840afa50b9876a3a8d674eeb253ff7fd8a77c1859975e623923fd0 symbol_table: fbf494506c1a385c0c7fe2a129526511d24000d2d384dcab652c5d945cded4dc diff --git a/tests/expectations/compiler/compiler/integers/u16/max.out b/tests/expectations/compiler/compiler/integers/u16/max.out index fcf2021a8c..9a53dc6bfd 100644 --- a/tests/expectations/compiler/compiler/integers/u16/max.out +++ b/tests/expectations/compiler/compiler/integers/u16/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 940d740ba40284a1d3c3cf8737facd1e98968224dd93999dbcb336cb3f4ce571 - initial_ast: 09d4426d341f39c8164181d9793ffc37acc5a43f2148d5f0d646f146c24d00fb + initial_ast: 5b36844ba31d95877c4569448b5116569e20fefbb15cb57126138a095fdf9d76 symbol_table: bec7306bb310d7e07b27c36388823bb20beb01af214bb0f1fa99408146b6ef28 diff --git a/tests/expectations/compiler/compiler/integers/u16/min.out b/tests/expectations/compiler/compiler/integers/u16/min.out index 48632676a9..08b80915ff 100644 --- a/tests/expectations/compiler/compiler/integers/u16/min.out +++ b/tests/expectations/compiler/compiler/integers/u16/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c7cfa681865a1c0623cfd356162d0c6750f3e06fb72126585eace0aeb21bae77 - initial_ast: 4dcfa3acfc7cf76ebcdb36fcb337052b62b0f5855559845cd1ed70942a89dc64 + initial_ast: 20b52f80d03bfbbb1638e841512e651a6601e2e59b7a92dac92b29e3ed4c7018 symbol_table: 5deb78bbe52d2923543b4ea4f5646b9236d4b1c5142d80e8cf78b365f825dd54 diff --git a/tests/expectations/compiler/compiler/integers/u16/mul.out b/tests/expectations/compiler/compiler/integers/u16/mul.out index 2e9f36913a..4433afe982 100644 --- a/tests/expectations/compiler/compiler/integers/u16/mul.out +++ b/tests/expectations/compiler/compiler/integers/u16/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 2189415cb99cd7a07d28f5b9fd1f3d5e0da2150942d12da98fe8109c4988b6a3 - initial_ast: 56f9a8d2c0275f7dfd5894d5a5511a528bef0c016fc5569030c8f83d31fb76a6 + initial_ast: 0841372512786ef9115b51258e55c966f4395b51869122304761c8de470f600e symbol_table: 67524bfa6b96b5b199531ea90427d4cd70f525e265de92d04cca02f3d45e6b5e diff --git a/tests/expectations/compiler/compiler/integers/u16/ne.out b/tests/expectations/compiler/compiler/integers/u16/ne.out index 48fb76798e..a36eddd096 100644 --- a/tests/expectations/compiler/compiler/integers/u16/ne.out +++ b/tests/expectations/compiler/compiler/integers/u16/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: c044ccf036223e8e8de1b69ffc11755c88021eb7d6fe33f1f51afafeb8b88999 - initial_input_ast: 1927266ff190c94fb9739e2a59c73f17d4ad9cd9b47ef4022c9905087dbe8eac - initial_ast: 142411669f9231a6caf241a77f9b0382d071adb97f38057cef33152035bd8d57 + initial_ast: 2028bb126c0bfc76f63011335a1c377315e096275f84d5636b46889dc7b98630 symbol_table: 8b86b6d82c6c27d86bd474a3beb85a2f3dbc994e06bc108c4c52d0cb5949279a diff --git a/tests/expectations/compiler/compiler/integers/u16/operator_methods.out b/tests/expectations/compiler/compiler/integers/u16/operator_methods.out index 5f033df56a..4294c79349 100644 --- a/tests/expectations/compiler/compiler/integers/u16/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/u16/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: fd9e082741dbeb3963fd5ef3d4fd4c242176c66b4e502b71e92a0832ec5afb43 - initial_ast: f600a9703875417713535777834d9185aa0423dc52202d8509a47c24a3ff0845 + initial_ast: a3ddddeacc5d4a6ec5de818cef4527ed68a753ff52b88227b714c5f46b6ede91 symbol_table: 176a11c6b691769a75d9832a8a39cda404f9793519cab4f2c69b2f74e8b232fc diff --git a/tests/expectations/compiler/compiler/integers/u16/or.out b/tests/expectations/compiler/compiler/integers/u16/or.out index d0cdc35499..24d814fc26 100644 --- a/tests/expectations/compiler/compiler/integers/u16/or.out +++ b/tests/expectations/compiler/compiler/integers/u16/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 645d8b76a8e35f3c5c40b8a8d7edaf61869ba567db8856ff407c6c6ca93e15ab - initial_ast: b4885ba3ede33a33d77dd109dadd3eeedb830964f2c2be6342e1181b7a91642c + initial_ast: 588f4a0bb05f32ede3a81eff0f0aecb48c816652e430779e7251ab04cd5eba01 symbol_table: 5c0ca24cef788d1986846c082bb05fe137660e3d0886fa56a6bbcef6f9c5adbe diff --git a/tests/expectations/compiler/compiler/integers/u16/pow.out b/tests/expectations/compiler/compiler/integers/u16/pow.out index e5221bc4c2..5a6ff712d0 100644 --- a/tests/expectations/compiler/compiler/integers/u16/pow.out +++ b/tests/expectations/compiler/compiler/integers/u16/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 2c0abac302ea0ac78650b87145d06eef89469d5fa6234bddc566bc5e918863d3 - initial_ast: 70419a837c7fe4db7f045518fa2ae6be9f4dd22a2db46d3385f91c2ac22f9952 + initial_ast: 8f10ab14e52d4487a5732e10b939ebda4f2845f688f3a1d0adb52350cd4e4ea6 symbol_table: 768253f26147ac3a4f966c3264e1ce2c82170f332d5933f479a3fbbaace09ccf diff --git a/tests/expectations/compiler/compiler/integers/u16/shl.out b/tests/expectations/compiler/compiler/integers/u16/shl.out index ff65823971..f7230216b4 100644 --- a/tests/expectations/compiler/compiler/integers/u16/shl.out +++ b/tests/expectations/compiler/compiler/integers/u16/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a84132ffbda80301c620b10a61957c60ff0cf52c846824353d74deb4b8fb95aa - initial_ast: 4c9bdb19e63c3defb3b2217d2aecf610702dc309860a3a28af4fc26ea2b32e95 + initial_ast: ae5f43a4821634c5e7afb32f4c188c7174bb5dc176d1bc18d503a4e7f7d44202 symbol_table: e1d220cecf6e52f6d651bd26f9894a629d820aec555cf867610da5d80da9525c diff --git a/tests/expectations/compiler/compiler/integers/u16/shr.out b/tests/expectations/compiler/compiler/integers/u16/shr.out index dcd3bad615..4fc6133bb1 100644 --- a/tests/expectations/compiler/compiler/integers/u16/shr.out +++ b/tests/expectations/compiler/compiler/integers/u16/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a84132ffbda80301c620b10a61957c60ff0cf52c846824353d74deb4b8fb95aa - initial_ast: 6397eb7568ea82b82d5a91f7ea15e15d393418d756ae018d855bf09246261986 + initial_ast: bd66ff650b6bdf7eff9ec3fae6366dd92dde2331709572ca7fdbaf43c9870778 symbol_table: ddc0f90ff6ea32630dd3916ad8169767379c75677a54210c48efae577e59490e diff --git a/tests/expectations/compiler/compiler/integers/u16/sub.out b/tests/expectations/compiler/compiler/integers/u16/sub.out index f9f386a99b..d9a52b4d93 100644 --- a/tests/expectations/compiler/compiler/integers/u16/sub.out +++ b/tests/expectations/compiler/compiler/integers/u16/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 6fb34b6b6c6597f200d98d39d7ec66d5026257323f6e11cea02a2c07d3a482bd - initial_ast: ec2e2b4718488d2d07cbe5758260ae2d9d68c827177bd76cc1e5457f65017566 + initial_ast: 26c3d0f074620792f291d3f04b79aa2e07ae05744833e003740885b20671536c symbol_table: 110177e4f38eec1ce7a4cfc3394abd48fbf0abc8c026aa80f6740854ddf0c601 diff --git a/tests/expectations/compiler/compiler/integers/u16/ternary.out b/tests/expectations/compiler/compiler/integers/u16/ternary.out index cd3a7a3357..4082db2355 100644 --- a/tests/expectations/compiler/compiler/integers/u16/ternary.out +++ b/tests/expectations/compiler/compiler/integers/u16/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: d61da749e968cb3fb5ff715944606a2fbfe0e9e82a5505eb6de502b12061612d - initial_input_ast: 6058927814d865491ab33221eebd68e6b860e154845faf69e17ccca306817367 - initial_ast: 80358eaf5d798403150ea7b58b5b45cf3d3a42f1f37152450d359afe309f2b31 + initial_ast: ffea65584b5cee8eb86cad4a12daa591260088a13c0d668fa2f3e88708bbca99 symbol_table: a7928661efb06f2c8ba228d5874a051d7f1a89b8ac43a86a6f696c71cafe8c99 diff --git a/tests/expectations/compiler/compiler/integers/u16/xor.out b/tests/expectations/compiler/compiler/integers/u16/xor.out index 397b6eeb55..3eb2507e24 100644 --- a/tests/expectations/compiler/compiler/integers/u16/xor.out +++ b/tests/expectations/compiler/compiler/integers/u16/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c3ec83ed5d2dac98587cbb57952a6dec4a77fe4079c02d69813b75e4c7688dd9 - initial_ast: 8fa7fafe1a99b406cc460d5ef0e6c50ea4397c25e7c36997db4cc23810ef4465 + initial_ast: 248b51993df093a4b5225e584ed128f5e493c6a5b02fba05d0c2e0a48f2abb5d symbol_table: 709b12a2dedc742eb14c7e6b612970af873982c55e0bd4e840932f662ca1b120 diff --git a/tests/expectations/compiler/compiler/integers/u32/add.out b/tests/expectations/compiler/compiler/integers/u32/add.out index d52e656829..de6895f40e 100644 --- a/tests/expectations/compiler/compiler/integers/u32/add.out +++ b/tests/expectations/compiler/compiler/integers/u32/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 24ab39bf0500a015a0573619c40908da20bfbd3bfd4546bb65b6332033c44ac5 - initial_ast: fc9b2c59dcc3901aa963eb618fc50a6d32f778010863b35e1b06a63d15fb695d + initial_ast: 6ffca452376371665daff7c2b3f88ed18e4b2eb74b675db1adefb82bf65313c3 symbol_table: 6ff06ce993f0b5ec8c66ba9e75c5928183dbb6850903db4be5113f04af0ed76c diff --git a/tests/expectations/compiler/compiler/integers/u32/and.out b/tests/expectations/compiler/compiler/integers/u32/and.out index 1cbb23e202..5eefbd0650 100644 --- a/tests/expectations/compiler/compiler/integers/u32/and.out +++ b/tests/expectations/compiler/compiler/integers/u32/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 24ab39bf0500a015a0573619c40908da20bfbd3bfd4546bb65b6332033c44ac5 - initial_ast: daa2a43799f16cb796d6b97c170c600e42b550ac37a9494edc30b52612843358 + initial_ast: 7420f606a7cc0472f37bad469c11d6eab94aee5d4eb31ee5b38e6544aa20c021 symbol_table: 3342cc5fa728477225d5c52b0c8279b13aac977506fbfddb8bb16536f0114751 diff --git a/tests/expectations/compiler/compiler/integers/u32/console_assert.out b/tests/expectations/compiler/compiler/integers/u32/console_assert.out index 50120a66dc..f6a41f48f3 100644 --- a/tests/expectations/compiler/compiler/integers/u32/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/u32/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 03bbcc62085e4dd3fea97b5ab55d5a69ee2195c016c5142a591e2c560e531cf7 - initial_ast: 09903ab2024e24699030dd6f922b1cc87885a491ebe86bb1d59d157380233f9a + initial_ast: 60a5e8e52446d26cae8db7fcb3466bc742a03caeb192e50a7e12f2bd9571fea8 symbol_table: 91a6e056fd1be16164f5ce3584ddd1379dd57804d8f86600a2539d5cbf69d9d3 diff --git a/tests/expectations/compiler/compiler/integers/u32/div.out b/tests/expectations/compiler/compiler/integers/u32/div.out index 79dcbf332b..455bacb18a 100644 --- a/tests/expectations/compiler/compiler/integers/u32/div.out +++ b/tests/expectations/compiler/compiler/integers/u32/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 6087c103d4a36793c6956bbc15e83d950a3dfd699a67af67371b24b5eb4f54ca - initial_ast: e6a1184fcf21d1fb2539eeacaabeebfbb8c99e8b588f0c09ae95b6fa60ba77fa + initial_ast: aa6a56d48a3f63d99ff03f655c24b3a631116f22ce0b8d532f11bd92e7313669 symbol_table: 8d74342a843483c6b40c01a16837fd88bad7dc23ced778274c122d544b80c16f diff --git a/tests/expectations/compiler/compiler/integers/u32/eq.out b/tests/expectations/compiler/compiler/integers/u32/eq.out index df044808aa..5ae608d25e 100644 --- a/tests/expectations/compiler/compiler/integers/u32/eq.out +++ b/tests/expectations/compiler/compiler/integers/u32/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d1acfd7d802258ef14c025fc36ff6a50cd2d47b9ebca5a6bfb6c9050a343ca5b - initial_ast: 3930060cab3cda894f9b46576de10b68e7413c6a1779df7f89d4a825d8c33dfa + initial_ast: 16d3074ca15a0998338ed6092a67e1b337cfb4f0d2d1963b11c204d74783435c symbol_table: bf9f7466ca3f1f251a1020c27f1bd2da1e9df41aa9ec0ebbe9566ca15ca6d187 diff --git a/tests/expectations/compiler/compiler/integers/u32/ge.out b/tests/expectations/compiler/compiler/integers/u32/ge.out index b0913e1ae2..765cb60318 100644 --- a/tests/expectations/compiler/compiler/integers/u32/ge.out +++ b/tests/expectations/compiler/compiler/integers/u32/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: d153359c184e6f986eca5f61efb1e108490d7cdc3243494aa38c099ccdfe9a23 - initial_input_ast: a256bf07a585892d533066903adb8ad5052c091f8075646f85301faac29269bd - initial_ast: e061368c428c10ca120d110797fa08fd3b1a5e38a272ee6d5c1da7e9da39cb4d + initial_ast: 75f324581c6ed763fafe7851c15dcb0681ada358417f900d918b4b9216f59e1c symbol_table: 33289cb1ae2c24c67eb595c1e7ba2d3e5781e7636a58bbb18470e85ddaf6a097 diff --git a/tests/expectations/compiler/compiler/integers/u32/gt.out b/tests/expectations/compiler/compiler/integers/u32/gt.out index 60603d1fde..56ccf8b772 100644 --- a/tests/expectations/compiler/compiler/integers/u32/gt.out +++ b/tests/expectations/compiler/compiler/integers/u32/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: c23e9a8097d2aef46d355bb51082c0160068704c7116cc887e28293d14ea69b8 - initial_input_ast: 2ac67c7a3a56989674505fd4862927415cbc16cdefb72d7d3eb3e6ac1d7ad43f - initial_ast: a9de078a8c6ea3a6ad5543eb56b15f866207d25faddbd8b0240aa37da2d45749 + initial_ast: f3dcbce0ec3b117484bbd781db6a02586adcb892a978b09dd0d44dc602520824 symbol_table: 87020d2ad022a8b9be61375c39d7ac099e86f1e35b6e55fb8fdb19688ff7dbf2 diff --git a/tests/expectations/compiler/compiler/integers/u32/le.out b/tests/expectations/compiler/compiler/integers/u32/le.out index a2546a953a..57f5d2bd24 100644 --- a/tests/expectations/compiler/compiler/integers/u32/le.out +++ b/tests/expectations/compiler/compiler/integers/u32/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: d153359c184e6f986eca5f61efb1e108490d7cdc3243494aa38c099ccdfe9a23 - initial_input_ast: f51ca874221687df1657767748ac98387250608d7f0e5c8102d944dbafbbee34 - initial_ast: 3d9967a1c55dfea678430b673ef71f117719a2d239f170843a6ead8d5c6a61db + initial_ast: bd78135ad83490569fe1ba55bfc6c3f17ccdcf3cfd084bdae846cc4427087c97 symbol_table: 62d131a439325ccf29958918b8ff9531431efe4c3f9f256502c9e71272fde925 diff --git a/tests/expectations/compiler/compiler/integers/u32/lt.out b/tests/expectations/compiler/compiler/integers/u32/lt.out index ce0d709541..1ba75127be 100644 --- a/tests/expectations/compiler/compiler/integers/u32/lt.out +++ b/tests/expectations/compiler/compiler/integers/u32/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 6af82ba7cfaa60ee0dfa8db6a145d2459bb5255acb4e175329a31d16723b58eb - initial_input_ast: 7d3520f07675ac488044c92eec0b2ee1dc38cfe2f9ec850fe020aea60eeb7a3b - initial_ast: 7111e358e69cfc0bf425c821b892ed379ddeb7e704053f660a7149b633f09f18 + initial_ast: 6e386b1d2340ed0997cd6d766b40f228710c240b9c2f64c01744da884c8d7b73 symbol_table: 4ee1d6b6a6b122bade0b7b39b761bfa9bb440c8f89508b577ed67cf152714625 diff --git a/tests/expectations/compiler/compiler/integers/u32/max.out b/tests/expectations/compiler/compiler/integers/u32/max.out index b4e82b2295..5d3de7d996 100644 --- a/tests/expectations/compiler/compiler/integers/u32/max.out +++ b/tests/expectations/compiler/compiler/integers/u32/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 76a0fe2199754831329d9b089d2c02f73d7457aaed6548372169318675b85f48 - initial_ast: c05447aab11b1d797ac4b137dd2a62b15cf2473d296c70c3bf4b0e39ad943cff + initial_ast: f251582e32c11d39bb67fb32888cea285a9f731ad199a9197f9231b986797654 symbol_table: cc35eba61d9056f2a1c49d88f7b1ce915dcddc22a35d4426590f3e1c084292f7 diff --git a/tests/expectations/compiler/compiler/integers/u32/min.out b/tests/expectations/compiler/compiler/integers/u32/min.out index 63f1c5bae1..eaf68fd4e8 100644 --- a/tests/expectations/compiler/compiler/integers/u32/min.out +++ b/tests/expectations/compiler/compiler/integers/u32/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c7cfa681865a1c0623cfd356162d0c6750f3e06fb72126585eace0aeb21bae77 - initial_ast: 84a1b63182db76d7e1ecf8bf85011f71337b4c756abc57f4eed16d6ccd7404f7 + initial_ast: c47cf2966939b28e33be53ed416b759fda0d7e285ccfaa935aabaee39f53f348 symbol_table: f4928deaa7f57c4f89bb8a9bfcd445dd5ea2334b24bf597394cd02f7596ee859 diff --git a/tests/expectations/compiler/compiler/integers/u32/mul.out b/tests/expectations/compiler/compiler/integers/u32/mul.out index bf09dc18a9..5fca7805da 100644 --- a/tests/expectations/compiler/compiler/integers/u32/mul.out +++ b/tests/expectations/compiler/compiler/integers/u32/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f8b5b2b0523a7b105beca036d64e7faafd2f3565269eed4ab47b57a4552f803b - initial_ast: 445a52143c5561473e614674752bbfc1f0ab670b799713d2006989dece28d8d5 + initial_ast: 1b77431e2b5be60169b105e72791131c70cb940af3e934fdb0a3713083448006 symbol_table: c8d574a07d984011594cd03bdab453577a66de7aa485e17849b8d30839ab6f04 diff --git a/tests/expectations/compiler/compiler/integers/u32/ne.out b/tests/expectations/compiler/compiler/integers/u32/ne.out index 421633f2d7..a5c47dd09e 100644 --- a/tests/expectations/compiler/compiler/integers/u32/ne.out +++ b/tests/expectations/compiler/compiler/integers/u32/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: c36a3ceeb3e7d90b2bf76e7cbce130286c71a0cb86e6671f64bffa99f48e6491 - initial_input_ast: 8c66de958fbaa62572701b17e8fee53c7c5a51473c5deabd7d3279a73b271f21 - initial_ast: a2fce2693c1000822f5e3841994646404df0ffa0f343354362ab19d1da92ce22 + initial_ast: 09b1cfd5a3f610406d8f4fddb1c74576aa5efe6a20b5cebb9e4d874123ca9ff9 symbol_table: 2ffeb5b590edb28b43fcfb4bdcc6912a500861b1483244d38a9bde2b809888af diff --git a/tests/expectations/compiler/compiler/integers/u32/operator_methods.out b/tests/expectations/compiler/compiler/integers/u32/operator_methods.out index 6a39733361..3a32c69117 100644 --- a/tests/expectations/compiler/compiler/integers/u32/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/u32/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ea9df7ef3cc00db98b36855cf13c1091b7d8270ac2b9fe72b36bb7001e93e807 - initial_ast: 21b59fe60396056673a2f23d87a7544ec9be134f4a5ec02a922a6a0c3ee120ff + initial_ast: 77104ae3151cbd27b4d1848bdd8dd4eec481fc179274e028eeeaec213965c353 symbol_table: 306a3645bfedc3b416b80c6b3774129bf53323c953d99d7c43832416478e168f diff --git a/tests/expectations/compiler/compiler/integers/u32/or.out b/tests/expectations/compiler/compiler/integers/u32/or.out index 1818eb9fdb..90bf21365a 100644 --- a/tests/expectations/compiler/compiler/integers/u32/or.out +++ b/tests/expectations/compiler/compiler/integers/u32/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 24ab39bf0500a015a0573619c40908da20bfbd3bfd4546bb65b6332033c44ac5 - initial_ast: 135d3a6df58371792424ff8dc87d24b7938aef33f4e13cb016a39de0c9aba20f + initial_ast: b999fb68844e62a16b2065399e38bca201ae4360cd703fb9f89a6b353b6d5730 symbol_table: 7316cf87c3e4cd5d44d718539c5157363ad2660b240f622e7822d46b9914f408 diff --git a/tests/expectations/compiler/compiler/integers/u32/pow.out b/tests/expectations/compiler/compiler/integers/u32/pow.out index 5911daa834..29eddf6e3e 100644 --- a/tests/expectations/compiler/compiler/integers/u32/pow.out +++ b/tests/expectations/compiler/compiler/integers/u32/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 1b21a26a6e63949b68f60b4d8d5aceddd14582b1e7a97b8170c0575ec9b8c62d - initial_ast: 2daddd8a1b6d1fc3bd84b9b72a59f711fe6e2afaed0bf248796ad4f967f8a6bf + initial_ast: 83948e3b306ccdd74b74d341409f213908f1349a7d06eba737c05a0485303b1f symbol_table: de3c502b4c82d434663028637ad0351867b493e3e7e956dba308cc190ba0611a diff --git a/tests/expectations/compiler/compiler/integers/u32/shl.out b/tests/expectations/compiler/compiler/integers/u32/shl.out index 323e527e43..f729c62447 100644 --- a/tests/expectations/compiler/compiler/integers/u32/shl.out +++ b/tests/expectations/compiler/compiler/integers/u32/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 0942fc3a0aaa64dd019acd4dcd23a548b11ad692ed1af1703201286bf3474552 - initial_ast: fe46e8d2f3a5f44c9e0298175ee1a9afdea56eb55cc7d959be20dba5cabf5c04 + initial_ast: 127bb0832ac7584e195d6b51411f73839ff9d845a11a0ee9968718901440e063 symbol_table: fb3d46fc3d95e6bce11f9a9d750413003af5be754309e7815c09c812daa84041 diff --git a/tests/expectations/compiler/compiler/integers/u32/shr.out b/tests/expectations/compiler/compiler/integers/u32/shr.out index 4cb9450b04..8da779bee3 100644 --- a/tests/expectations/compiler/compiler/integers/u32/shr.out +++ b/tests/expectations/compiler/compiler/integers/u32/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 0942fc3a0aaa64dd019acd4dcd23a548b11ad692ed1af1703201286bf3474552 - initial_ast: 9289596bee932cb6a10e55ecf4f8fae109c4ee8f1b450c212546d9887014e618 + initial_ast: 4009bea65283b5f83cd412fdbdf8661c5a7b347cc96bcf8dce5608b3f242d7f6 symbol_table: 4314d90f85efdfdd0a99a45b775f6b032a4872bd2f02501a1a71f5f531c827e9 diff --git a/tests/expectations/compiler/compiler/integers/u32/sub.out b/tests/expectations/compiler/compiler/integers/u32/sub.out index 9173d802ee..3e779fd671 100644 --- a/tests/expectations/compiler/compiler/integers/u32/sub.out +++ b/tests/expectations/compiler/compiler/integers/u32/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 8bea12e1a0f364a123045ecb496654c9448a99278cc875dae01f17b2d9fb3485 - initial_ast: dbd7ac04b429e55feb60410fa01f02152ca2b763ee1a6d7d3324314991838072 + initial_ast: 58d887c6a06d8d7cafce9ba275a2a65c3b8380e1b928bccc00e1d8e7c6df095b symbol_table: d4310691d3e4ebd32d0daf09959bb283958cbc21e380f4b0dbc2acdaa8ec2814 diff --git a/tests/expectations/compiler/compiler/integers/u32/ternary.out b/tests/expectations/compiler/compiler/integers/u32/ternary.out index 7ad2d14eb1..659d7d3680 100644 --- a/tests/expectations/compiler/compiler/integers/u32/ternary.out +++ b/tests/expectations/compiler/compiler/integers/u32/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 27f7025a824f61583d50487c11fc97bd272d7dd79c002f0123252457885d7aef - initial_input_ast: ee9d28f19ee516c2adbca501a7e239df0a8c55189994a7480fabfa1baa79cb54 - initial_ast: a501d6b24248229cc476db3c38556aacb27ad8a2aa6398569a13c2fc87cb122b + initial_ast: ebade8a35daf27ffe41b95f92ac358b6dfd9014428442a4ac05f58b2da3db5f9 symbol_table: 8284d3b33f9ced79baf054d55f75b359035654b6ad1f1cfd84a51e2ee6e7ff2b diff --git a/tests/expectations/compiler/compiler/integers/u32/xor.out b/tests/expectations/compiler/compiler/integers/u32/xor.out index 5e1b7baf18..565feae2bc 100644 --- a/tests/expectations/compiler/compiler/integers/u32/xor.out +++ b/tests/expectations/compiler/compiler/integers/u32/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 7c48dc804dbb838ac85e31f9d913f494e82e941e19a7d0488f8017aa5b421d43 - initial_ast: 1a2b553b70b259e98ab8a4ec91d4b9561894f243239b881cc05a5b25243d6363 + initial_ast: e2e9b8f8db418b2ad09704a0b3e3f851dd95ff6e66968ee6d9f99cb96365bebf symbol_table: c835424abfefaf8edb53c1b6f7d136300eb8b931a185655cb218cdacf8ff5e0b diff --git a/tests/expectations/compiler/compiler/integers/u64/add.out b/tests/expectations/compiler/compiler/integers/u64/add.out index 2f4ffd9a27..37020760fb 100644 --- a/tests/expectations/compiler/compiler/integers/u64/add.out +++ b/tests/expectations/compiler/compiler/integers/u64/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: b50fe7e5fcca4c73fff46b376e3eedec9ae02e15ca9f2d4f33f3a1b77b3f9168 - initial_ast: 340164d2eb54080cf67f584148ece7d5873c20a570a6bb0173d2d7fe8512e97b + initial_ast: 181895f1470625ce559396cbec1fef2f099932ffc3d6e5383ea4e9e66f74b30e symbol_table: feb2633a6e533889f6d0727d747943f113c06939c9c7f642799efc17ae7fa3e5 diff --git a/tests/expectations/compiler/compiler/integers/u64/and.out b/tests/expectations/compiler/compiler/integers/u64/and.out index daf06b62ef..35e2fd51d9 100644 --- a/tests/expectations/compiler/compiler/integers/u64/and.out +++ b/tests/expectations/compiler/compiler/integers/u64/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: b50fe7e5fcca4c73fff46b376e3eedec9ae02e15ca9f2d4f33f3a1b77b3f9168 - initial_ast: 17d5fbf0845373e1b8b4dad54571cfc95015715414cb1b11e89ec0b3e2e2116d + initial_ast: 8ac42059f2ab5edd89e14ea2b1546af4fa76663f38a9378de3964e8cd6b96074 symbol_table: 32c1bbb7840d0c5c96608bc6dd048086efce8887e9461e17c0ffc98fde7c9e55 diff --git a/tests/expectations/compiler/compiler/integers/u64/console_assert.out b/tests/expectations/compiler/compiler/integers/u64/console_assert.out index 436804c186..9e622a33eb 100644 --- a/tests/expectations/compiler/compiler/integers/u64/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/u64/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3d51bf3df58d2d1681a5d016d678cc89b339975bd257812cd4cd60160fb433ee - initial_ast: 5b3f45f81f96fd2606f09a1936b302b896a610c3f72f4d1549648cf506fe65b4 + initial_ast: 3a214f5157f48a2684b0a5dacae5b846a591c3e18385ab8cdf550ad38fa7f020 symbol_table: ac9e61a4c28bf284f0fe18e8ccafa7c34c469039bd7cf2d9771750362f586d35 diff --git a/tests/expectations/compiler/compiler/integers/u64/div.out b/tests/expectations/compiler/compiler/integers/u64/div.out index b2eaae9307..7c80994b5f 100644 --- a/tests/expectations/compiler/compiler/integers/u64/div.out +++ b/tests/expectations/compiler/compiler/integers/u64/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: beeb0a9eacf523f7e10c566f746ffb272b789646ba1a471cea54faeeeb535464 - initial_ast: a79fed9ce5b7424f09ebfab59dc874c2b43cc71955d4c8d0d8c1f9277288d5be + initial_ast: 44cb0ce3ebf54619235f41075a9684dd67bcdd1119f8ea74cc7501dd7fad0c33 symbol_table: f7a687b45c1bc3c1c90675e1507417c240e2655ae5b6554fbca6a66a42c1f7b5 diff --git a/tests/expectations/compiler/compiler/integers/u64/eq.out b/tests/expectations/compiler/compiler/integers/u64/eq.out index 08c9553d16..403bf6fa65 100644 --- a/tests/expectations/compiler/compiler/integers/u64/eq.out +++ b/tests/expectations/compiler/compiler/integers/u64/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 1e05ac8daa4ebb9edbb2929a2a30db4a0f38a0bce1498d8b3a2983566ba73f2a - initial_ast: 0b87059e5a0ea16416c02be3dbf974dadaa25fcb273aa5095300bb86eb9c9a14 + initial_ast: fd903ff4e36bc6d6d6764f69e5c3d7a40927756b449932a1f197cd6d95c5228c symbol_table: 1e113dd2c8ea40abe537b2ccd1245d7e171e443dfc24307f45c3877751a334c3 diff --git a/tests/expectations/compiler/compiler/integers/u64/ge.out b/tests/expectations/compiler/compiler/integers/u64/ge.out index f10106da83..e8d8e7289e 100644 --- a/tests/expectations/compiler/compiler/integers/u64/ge.out +++ b/tests/expectations/compiler/compiler/integers/u64/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: c93814cf63d02ad8a937f8b60f81eae00e522352861e2fd10a2188a0384646d4 - initial_input_ast: 2d62b4fb5f26898f99626d4ed69d0b4a24ee08262caf04bcbb1867b462f451f9 - initial_ast: c7c41443c2274ec7eab0282ab90404692aabe60fb959d9797f5ed93295740ac8 + initial_ast: 161635cce1ebc26bbdadadb026d46e168959f6506b99f3be843f4e0191c497bb symbol_table: d66fb561d2d98ab7efa2fcd0dee9555ee60cf250f0b485d044265d9566d09f8d diff --git a/tests/expectations/compiler/compiler/integers/u64/gt.out b/tests/expectations/compiler/compiler/integers/u64/gt.out index 148ab006a4..ef58d65adb 100644 --- a/tests/expectations/compiler/compiler/integers/u64/gt.out +++ b/tests/expectations/compiler/compiler/integers/u64/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 9ee8856bfaf5e7fc4d635092b4f7ea9501e3ce319694acebe8cbcaa3783e866c - initial_input_ast: 2430f4c73831f48ad743c32463ad9a84e3e9039bec5ff8332dcc98932363fd66 - initial_ast: 2fddc57755bd974f2e5a7e605edbcca484741fdd7e04b9eb4c661e848c1f728d + initial_ast: b726132d80ce8907a642c77091cbffe206ec13adb48d94fd1794f5e56498c1c0 symbol_table: bb3128535cb5aa89dccbcab7c81053adaa75b6aeb8b125efc722cc232f84cd48 diff --git a/tests/expectations/compiler/compiler/integers/u64/le.out b/tests/expectations/compiler/compiler/integers/u64/le.out index cfb7b37cf7..808e8d1186 100644 --- a/tests/expectations/compiler/compiler/integers/u64/le.out +++ b/tests/expectations/compiler/compiler/integers/u64/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: c93814cf63d02ad8a937f8b60f81eae00e522352861e2fd10a2188a0384646d4 - initial_input_ast: 9fdfa77c361e0f36264bdc79549782e5c4accc35538700d984cd89863f9e2683 - initial_ast: 8324cc493c146c4b8265d86573e0c5d6ca185040fc0dd24398f43711d43839cd + initial_ast: d3567f802994e58ff892c7f64ac8edd3e6705e806cb70fc3bfff47232d198d3d symbol_table: 7b4fe8955520299e53db34512524630abdf61238f236e6c269366713f8be4137 diff --git a/tests/expectations/compiler/compiler/integers/u64/lt.out b/tests/expectations/compiler/compiler/integers/u64/lt.out index 3d0faeb008..d45d520bcd 100644 --- a/tests/expectations/compiler/compiler/integers/u64/lt.out +++ b/tests/expectations/compiler/compiler/integers/u64/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 7f5c6e459e8b00635226d3719b7d729913c93525e47053278a015fd24079c37d - initial_input_ast: 35ef77a451dbc9df83934e68b1407ab2f8fe9014a8a59704475ec3c3942ef89f - initial_ast: fa31b24abd921d4af729dc4d00df07a76b4eba1b58c83d68287c1dc4fd3effce + initial_ast: 97c7536f4182d31e536e1bfd219e82e57b2520de6f26d38821949b52e663e745 symbol_table: 5801dd7f2f2deb0029f255db69f5b2945c48e6872e55b2cdacf0d0fb115eec22 diff --git a/tests/expectations/compiler/compiler/integers/u64/max.out b/tests/expectations/compiler/compiler/integers/u64/max.out index 2cd0f0aa02..5a9c44e642 100644 --- a/tests/expectations/compiler/compiler/integers/u64/max.out +++ b/tests/expectations/compiler/compiler/integers/u64/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ad738add6c03b6224ccba9d8d735b6645444f9c16f3b652ec4c0903fa4bb33aa - initial_ast: ed6f4f209a48619099bbc178763027c1cb6de50f7e4eb7db9ec359e917b67322 + initial_ast: b398514373bab7593f8a987a48530c99a3359979179719bbdade73d2df8543ce symbol_table: e75cd52b66d30ce5e0fe81b53d86b4fb478b34eab8f4e15d6a46aac6dd8ade56 diff --git a/tests/expectations/compiler/compiler/integers/u64/min.out b/tests/expectations/compiler/compiler/integers/u64/min.out index b63a35e483..ea1bad26d6 100644 --- a/tests/expectations/compiler/compiler/integers/u64/min.out +++ b/tests/expectations/compiler/compiler/integers/u64/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c7cfa681865a1c0623cfd356162d0c6750f3e06fb72126585eace0aeb21bae77 - initial_ast: 12ba9963cb5250d4d1d98a9fee0b7dd116e5065f8a83f5e79cdd623bf24307aa + initial_ast: 38e79c2d229f30e9c602fca2349b0d70fa703deaff445768df04bedc6788566b symbol_table: bcd92751d52d81b13a02ea9e394bc7f6876911e0cdb45836c418e453bc29158d diff --git a/tests/expectations/compiler/compiler/integers/u64/mul.out b/tests/expectations/compiler/compiler/integers/u64/mul.out index 8c921bbfc7..3f9fb97cb3 100644 --- a/tests/expectations/compiler/compiler/integers/u64/mul.out +++ b/tests/expectations/compiler/compiler/integers/u64/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 0758dc997baa1ce2e35b7680289f58b145801d64671f55b98a163d84b76982a2 - initial_ast: 7d318ef8d005392a4bc79f3316f5847ead2d452787a5ad0c057b0b48e150baa3 + initial_ast: 54873ed5ce413b71de10d9faafc95abe80f92fcd894dca026414766d0332f9e0 symbol_table: 4e39bb0ad10823bf2e21b857f2130e706ecc2d75753d968ef9d864f60b0d9ef7 diff --git a/tests/expectations/compiler/compiler/integers/u64/ne.out b/tests/expectations/compiler/compiler/integers/u64/ne.out index 745fc7338d..717c3f63cd 100644 --- a/tests/expectations/compiler/compiler/integers/u64/ne.out +++ b/tests/expectations/compiler/compiler/integers/u64/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 2c6f07fb52fcadfd42be53ab06838ce4ddc609995c7f4cbc3799f6daf92cc32b - initial_input_ast: a090b0a76971eb5a83b3460b0e9ad051e293b1adc169b8a59eece9a7bcda4e56 - initial_ast: 824860fcd0efb5e8f59935166bd2c810068f6bffa23e5e0c02d6d95b6d88ec21 + initial_ast: 6a7608fbb9bc6934334f04bb4b3b368abe1f5567bf0ad02bf50fe095d09b85ba symbol_table: cdf8b67bc50de4d083d5697da3f6c2dfd8375e4ad94ad722d391bef9a7bfd433 diff --git a/tests/expectations/compiler/compiler/integers/u64/operator_methods.out b/tests/expectations/compiler/compiler/integers/u64/operator_methods.out index 9fa4d7b4d1..2e39dab6e5 100644 --- a/tests/expectations/compiler/compiler/integers/u64/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/u64/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: e5791e3381c49b3897104d9715a9e452f7009eb7fe621d5a63280dbbe50b3c54 - initial_ast: 25d05cdcdbaf148b060a54daa3de4b7d87a1b7189d667b0831bdb12cd0a28af3 + initial_ast: 78a33538d986a60a4a6488280c2eca28a3c9fe6652e36594198af424ea430613 symbol_table: 6eee5d786a56c0ac2c255aaddd2251e9b9c277bbd419071feee75dd5bfb221b1 diff --git a/tests/expectations/compiler/compiler/integers/u64/or.out b/tests/expectations/compiler/compiler/integers/u64/or.out index d5d542d250..4e71c9c2e1 100644 --- a/tests/expectations/compiler/compiler/integers/u64/or.out +++ b/tests/expectations/compiler/compiler/integers/u64/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: b50fe7e5fcca4c73fff46b376e3eedec9ae02e15ca9f2d4f33f3a1b77b3f9168 - initial_ast: f9763d0d8b774b35e807316ae6dd33dbe858881d7e4c45f80d05639c4c0c46bb + initial_ast: abe887f97f1f8d0369617925576f2a8e259b7a1356c427446772ebd9b8c2a7db symbol_table: 3d9bd800d0eeb02a21244f25c48d2e02c67853888ddb7bc13e7c47b368026375 diff --git a/tests/expectations/compiler/compiler/integers/u64/pow.out b/tests/expectations/compiler/compiler/integers/u64/pow.out index 915ca8c74f..fb13a45362 100644 --- a/tests/expectations/compiler/compiler/integers/u64/pow.out +++ b/tests/expectations/compiler/compiler/integers/u64/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 21f494ba0942bd81a0971d1c7d591585cb72d198a89963e561baf0a1b007ac87 - initial_ast: 8fb5e2247aeac433dd36ae4239d96120b5720ab6d95670531b020b5c0d5ca1dc + initial_ast: 38289e6d2c892d42b300ceb6c5f9f18744dd0f59bc880f88e292d1a8bd583ada symbol_table: 9840b73b2785a5a0d6322b8d207d8f3d4880513273154bfe32889e4a3768e959 diff --git a/tests/expectations/compiler/compiler/integers/u64/shl.out b/tests/expectations/compiler/compiler/integers/u64/shl.out index ead0e44fed..c953ebd13e 100644 --- a/tests/expectations/compiler/compiler/integers/u64/shl.out +++ b/tests/expectations/compiler/compiler/integers/u64/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 429335969b6c3ba968362b30d24c4aac270bc21f7675ac64235e979c324549b3 - initial_ast: 6886e667f1d6755f4de7173442beb567647c923e341a8d2be04557b6c6c951ef + initial_ast: c6472854aa8a0b7d2e6a7f0aeab92883c3bd0e8410cca6d6c4b8653f4ec720ce symbol_table: f4fc8f466567de01cd926560fdd1a26ec1ddf5d280126336bf029d999966ff7b diff --git a/tests/expectations/compiler/compiler/integers/u64/shr.out b/tests/expectations/compiler/compiler/integers/u64/shr.out index 2bb0d0c8fc..2da22eae3e 100644 --- a/tests/expectations/compiler/compiler/integers/u64/shr.out +++ b/tests/expectations/compiler/compiler/integers/u64/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 429335969b6c3ba968362b30d24c4aac270bc21f7675ac64235e979c324549b3 - initial_ast: bf9740eebdc55fe0c35c7ec027c0ef328ab92e2a5228489a20911bbbe7deab37 + initial_ast: 7fb6156e741a9b99b15bbba294026265814b4ea4561aa60811b70587808e83d6 symbol_table: 9efa7be40daba50719633d0ec23d04b63afa10f24b0bbd864309396a5d86a9bd diff --git a/tests/expectations/compiler/compiler/integers/u64/sub.out b/tests/expectations/compiler/compiler/integers/u64/sub.out index 8af32d80fd..2d013a39f5 100644 --- a/tests/expectations/compiler/compiler/integers/u64/sub.out +++ b/tests/expectations/compiler/compiler/integers/u64/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 083ead671da49260e9309556752e7e3bed665ae954c744b8d067a9919fb01222 - initial_ast: d5e74554cc310acf5a55a5d5a1bdd53eb03af925ea01be634ee8afe84639a505 + initial_ast: cff5a84ecb44a1e8813acaf6ccceb6dde9bf0ce9aec362a006450d966a320aec symbol_table: b45aa8f96336f1482ee8b975da10370d344bbd6a8a3cfcdca782bd2aa01a246e diff --git a/tests/expectations/compiler/compiler/integers/u64/ternary.out b/tests/expectations/compiler/compiler/integers/u64/ternary.out index cc9fe5f09c..8b97854ded 100644 --- a/tests/expectations/compiler/compiler/integers/u64/ternary.out +++ b/tests/expectations/compiler/compiler/integers/u64/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: c016901c75fdf8a1f458788af0598e582030b2957dd8c630b74148e2f3c908f6 - initial_input_ast: 1d4cb77c5bba30e598cca54089f1530603af93a6feebc53229a968978036eb1c - initial_ast: ece173da72d8938a75fc6b467b37c3e2345ebe5fb679292bc256067c06011a34 + initial_ast: cefa9b12bdbc2157749c61cfb65d32eb60d02b43f0ff43f821d5152dd246fad5 symbol_table: b431f276e44e02c8988562746946b084b48669bf5f89de9bd0d080ecdb6fe928 diff --git a/tests/expectations/compiler/compiler/integers/u64/xor.out b/tests/expectations/compiler/compiler/integers/u64/xor.out index af05d2fda9..5ae89f7b0a 100644 --- a/tests/expectations/compiler/compiler/integers/u64/xor.out +++ b/tests/expectations/compiler/compiler/integers/u64/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f76d83befbe9326bc314867d02931b7ad78ca30ffcb9031997dfda28bfd5133e - initial_ast: 9a85f40d0e502c8e4cb423ba9ae2806a015ae0c46f1fce4f888898029707b461 + initial_ast: 89148a07a55178518ce9b5c48467923060f1d42f72e115cdfae7701fbeff4072 symbol_table: 73c4f0bf85a47b6bcef8d0c21de8614fc5099721e37af3a4b2f671b60076b9a5 diff --git a/tests/expectations/compiler/compiler/integers/u8/add.out b/tests/expectations/compiler/compiler/integers/u8/add.out index f451ea81a8..4f3193fa65 100644 --- a/tests/expectations/compiler/compiler/integers/u8/add.out +++ b/tests/expectations/compiler/compiler/integers/u8/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: b568f017162b4870af580492723986dac02d17b61cec3cec52cc8651e7d4dec8 - initial_ast: 754c6fc632d72724bb2447829ea6470d444fda41b7f4677635839184bd39e658 + initial_ast: 44f27127810c1a0fc829aad9b09af344d70e07039829a0cd016a4ee83766cda7 symbol_table: 5cc6f9d20990f754082a936f92fad2de074bb8d758559a91e144f51f213c3ff9 diff --git a/tests/expectations/compiler/compiler/integers/u8/and.out b/tests/expectations/compiler/compiler/integers/u8/and.out index d62523cf92..cfe32970fc 100644 --- a/tests/expectations/compiler/compiler/integers/u8/and.out +++ b/tests/expectations/compiler/compiler/integers/u8/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: b568f017162b4870af580492723986dac02d17b61cec3cec52cc8651e7d4dec8 - initial_ast: 988ae827a3cfcadeb7c89bf40a4c2c37f78ed97fe9e76dfb3aa74270f056b8ea + initial_ast: ca5290c9042f2b3be188fa4f991d41aa5fc307ec263628d211ee2139252c65f8 symbol_table: e5594ea4ca289b1917552239e0d1525a22397275f07add8f2aa838af53605360 diff --git a/tests/expectations/compiler/compiler/integers/u8/console_assert.out b/tests/expectations/compiler/compiler/integers/u8/console_assert.out index 560d422066..4947ff2031 100644 --- a/tests/expectations/compiler/compiler/integers/u8/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/u8/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 8dd4987c574614c5154b47c61e6eafec80b878d6c4949bc95d8ee2eb96170add - initial_ast: b3a25f9933cbba508f01723126eba657c8317c2bc235d659c30fc9d9ec66f58f + initial_ast: 0e9bc287727d72fa8fb1138355095707a730d2b21ff44acc7512e0fac3f46e3a symbol_table: b9d0a3e39dfea06fcbe3f93f08e2e2dfd0e18aeccc310350d49a1d3261877f35 diff --git a/tests/expectations/compiler/compiler/integers/u8/div.out b/tests/expectations/compiler/compiler/integers/u8/div.out index aaaf065c48..40e27ff33e 100644 --- a/tests/expectations/compiler/compiler/integers/u8/div.out +++ b/tests/expectations/compiler/compiler/integers/u8/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 09d9e73603d60f95eb727839ce98545e429b63ca34293d14ffaac126d6dd381e - initial_ast: 0d9ff3ac45a9e6fd5e03221953a7e07500f93d3245e90b94145bcf2970e24070 + initial_ast: e3417524c5e03721e510da8f0a4bc9b8bc60a4763be4dc3f32836c4c57ab46bf symbol_table: 7263b3df842331e26fe9930a9cfec02f12e9ed19da976b3e81ef14925c127d27 diff --git a/tests/expectations/compiler/compiler/integers/u8/eq.out b/tests/expectations/compiler/compiler/integers/u8/eq.out index 3f5bced31d..fda1b4baae 100644 --- a/tests/expectations/compiler/compiler/integers/u8/eq.out +++ b/tests/expectations/compiler/compiler/integers/u8/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a4cd0750e35f81754a218922dd8a55d208009d236296668eaafa6aa8d60fdcb4 - initial_ast: afcc42569de04d0b1672a244a675e13b9ad998991488da9fa986860fb0468dc1 + initial_ast: 818fcc2e714e54192b7d68e4b5de04d99c2f0edc72700c6c47461da61abf12b6 symbol_table: ca53a439df806ecf998b2d16e806e6670fcf18351aff0a5e1ff32be76e01de36 diff --git a/tests/expectations/compiler/compiler/integers/u8/ge.out b/tests/expectations/compiler/compiler/integers/u8/ge.out index 4910b22870..61efe899c2 100644 --- a/tests/expectations/compiler/compiler/integers/u8/ge.out +++ b/tests/expectations/compiler/compiler/integers/u8/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: d0e7d4b75881411834839b3822bf80914e6018ba2729ff717c851ce34aa7eead - initial_input_ast: 8eedbf6e59fef91aeee2f91f13799ccb1d990cc041268bdf7f7be526fd4c0b87 - initial_ast: 0387eb47ffc2188fee255556743ac7030b4a61ef5afc2b9bc4d13818d8d08740 + initial_ast: 04a91eefd6368cd7be82f5f2196ddd188b912d965365fe5dc32305f0a8ac366d symbol_table: f149038b3c2f772dcb01cadbfc774944a599cb5013b8eb0de5ae92e36fc2c4fb diff --git a/tests/expectations/compiler/compiler/integers/u8/gt.out b/tests/expectations/compiler/compiler/integers/u8/gt.out index 2e6aed45da..4665931fe7 100644 --- a/tests/expectations/compiler/compiler/integers/u8/gt.out +++ b/tests/expectations/compiler/compiler/integers/u8/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: be7952b3d9074f7a048ca1e95dc8749bb9fe03c3c1f4d1666cc81e16eaaed3dd - initial_input_ast: e2a63d49a7e6c95f5f8eb00440e098d690e4223244b80b8790b5593be295e612 - initial_ast: 246b63815a2edb7ad0e09567170205f09ed8b805924efc8665d427ad575ae1d4 + initial_ast: 36fd838168775e91efa30dd86047f9bf7328c04f60a16018a761f5b9b6cb5f94 symbol_table: 9e657fcd4ffde7c7a17e3b45b6f1ae485ad4b0553878a09ae51970d1a3d61de4 diff --git a/tests/expectations/compiler/compiler/integers/u8/le.out b/tests/expectations/compiler/compiler/integers/u8/le.out index 45f7b2a357..1aadb2a756 100644 --- a/tests/expectations/compiler/compiler/integers/u8/le.out +++ b/tests/expectations/compiler/compiler/integers/u8/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: d0e7d4b75881411834839b3822bf80914e6018ba2729ff717c851ce34aa7eead - initial_input_ast: e83f3d1b68e9e42f5f4ef9ac8fa11c9f048661148dffd1f2337ec7a4fe7c7b70 - initial_ast: c77395e7a7c11b5e29249ff2e0458d8e0a3ddb160510522ec37c9679433587f7 + initial_ast: 71e795b44957de2d8c8948058f83d8ad23db0f73d59118f2a8c8374eb6dce9de symbol_table: cf951ab2f2cd08497238935a5c68f1d4c0b33fb8e348b5355b28cc950a3c146d diff --git a/tests/expectations/compiler/compiler/integers/u8/lt.out b/tests/expectations/compiler/compiler/integers/u8/lt.out index cdbe4add54..4476addca0 100644 --- a/tests/expectations/compiler/compiler/integers/u8/lt.out +++ b/tests/expectations/compiler/compiler/integers/u8/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 1b0305de2d2ddda28ff605bd26a4f6dd8edaaa1dd3db97f00ad53a4cd3cceb23 - initial_input_ast: 9033a0de0826b7e572951e2dcf8e83f4f6515205058b7432ccff29a065cc2a49 - initial_ast: e80f2965d7b6bc3f51e6115f53f20968b14276fc1920428f458ff998032676bc + initial_ast: f325deba18aff468f559748cee4baf0df5ae137ec2beac57605bb4eee192e8ae symbol_table: 546f00235e023a075ed4b47aeeb5cc922387a04b1195e16e7c4326cdf6e1fbc2 diff --git a/tests/expectations/compiler/compiler/integers/u8/max.out b/tests/expectations/compiler/compiler/integers/u8/max.out index 4650f16e01..db73e938cc 100644 --- a/tests/expectations/compiler/compiler/integers/u8/max.out +++ b/tests/expectations/compiler/compiler/integers/u8/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c7cfa681865a1c0623cfd356162d0c6750f3e06fb72126585eace0aeb21bae77 - initial_ast: 76d2cd4e27f5746d6ab065808ae83a73e60b4798d30181e8a12ff9ae20194c94 + initial_ast: 350489d4f24c0a52d7c2d64c05540399ac8e9ff887492ca9ea05f2e218d6ae80 symbol_table: 56bb71ef04cb5892671ab985991a6a11d728a9bc49849b9cf63512fd6edabc49 diff --git a/tests/expectations/compiler/compiler/integers/u8/min.out b/tests/expectations/compiler/compiler/integers/u8/min.out index 9a54fc0401..31f901ee50 100644 --- a/tests/expectations/compiler/compiler/integers/u8/min.out +++ b/tests/expectations/compiler/compiler/integers/u8/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 13720f61f86be3462e6829a230cb85abd2ea7a3e406c03bad349c0580839fd1b - initial_ast: 8c02652cea84f945daccc6578e4cb7ac701ab8c80ede22f74a441d04cb8be1a0 + initial_ast: 10cb8c7ac086d9badf5bc4c71aaef78d07f9269a5ef741c5afc7506f9c49b69c symbol_table: a1422b3b2dd889c0b8070197fb3e48e5c9aeea4fdc326702b4678973ca95e354 diff --git a/tests/expectations/compiler/compiler/integers/u8/mul.out b/tests/expectations/compiler/compiler/integers/u8/mul.out index b6f83e82c0..79636c4636 100644 --- a/tests/expectations/compiler/compiler/integers/u8/mul.out +++ b/tests/expectations/compiler/compiler/integers/u8/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 1a47105e4a0a77e18f9e0109084a0c0b81cbf04bf4e449a86d0f9a214bbe297b - initial_ast: e70485ca8bf749103e8706c3d5df55005794f1fcb49ccd81487e7f8796c20290 + initial_ast: 01d23ed3dfd3744ed435963d38685dc60a01af06b3f2bde0789d847bc4583bc4 symbol_table: 34083d440d5992077db30e67f9e10d56276f9c909b149dda355668aea41678ee diff --git a/tests/expectations/compiler/compiler/integers/u8/ne.out b/tests/expectations/compiler/compiler/integers/u8/ne.out index 6e010993a6..4bc4c47716 100644 --- a/tests/expectations/compiler/compiler/integers/u8/ne.out +++ b/tests/expectations/compiler/compiler/integers/u8/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: c40e8d5ce21623a727dc9b6404c0d7f6f251d36f82d30b9ba4f1f2804531a2a7 - initial_input_ast: 699f3079ce1ae41896a7817fc10cba7d28e3ad1445c47f7a892a4867cd597be0 - initial_ast: af6fd0946705136e76fff48bc531292c128bf3d6f534b85129da2fceb2f153cc + initial_ast: 1b317349481235287f6c69f3a564ce6b643fd0ba0c648c1baef592b67f4bf98b symbol_table: 843ef901659df8cf7fb4dffb62d3355fc973d8b650198fdd368cf75d75509dd1 diff --git a/tests/expectations/compiler/compiler/integers/u8/operator_methods.out b/tests/expectations/compiler/compiler/integers/u8/operator_methods.out index f81919ee74..e2268f68a0 100644 --- a/tests/expectations/compiler/compiler/integers/u8/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/u8/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 746d49d0a4fc6fd3bf0b001693187c5a4986b06b5e257fdb30778862abdd51fa - initial_ast: d498ddf01de9af370a6db1d6bc5f981e558d51ad6cab51ebb6cf50d2ccaef3d2 + initial_ast: 3f0102d67a89ffbecbb41d4d1821ee3ae082cebb00990a6851c8c09323bca074 symbol_table: 0a8e316856c9b59a75bc5c33532e0cfc8cdaf57476dae6df0b9e4e84b238ca2c diff --git a/tests/expectations/compiler/compiler/integers/u8/or.out b/tests/expectations/compiler/compiler/integers/u8/or.out index 0b99209f38..1be00f9e82 100644 --- a/tests/expectations/compiler/compiler/integers/u8/or.out +++ b/tests/expectations/compiler/compiler/integers/u8/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: b568f017162b4870af580492723986dac02d17b61cec3cec52cc8651e7d4dec8 - initial_ast: a45e30bb089e822608fa0c82be0139e781161e182dfe0e526b5d3aa4f74fb3e6 + initial_ast: 1803ac07bb069ed9a0fa9ab0bee03c3fa56bfcf43da5e525015f75d265d84bc2 symbol_table: fb02db931f2fd4691a2266919cd4c8d7be076334ce1fe8feefd160d6754b4c48 diff --git a/tests/expectations/compiler/compiler/integers/u8/pow.out b/tests/expectations/compiler/compiler/integers/u8/pow.out index 43d57d0697..7958c3ca13 100644 --- a/tests/expectations/compiler/compiler/integers/u8/pow.out +++ b/tests/expectations/compiler/compiler/integers/u8/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 9b6010040efa42a21face2e7a08f92bb764fc497738c0211887c06d195a41d16 - initial_ast: a397579f1ed7d54e9d6a2be47a517abaef1e751598c3c0d975f2e1811c8db72e + initial_ast: eef065228269d1689383d0e78aa3e537d769672026c225281140fc3c935c60db symbol_table: df935d0411cd3e398557aa7dbb0adbbef2cf13619f1a240a508822186c731bbc diff --git a/tests/expectations/compiler/compiler/integers/u8/shl.out b/tests/expectations/compiler/compiler/integers/u8/shl.out index ac22b362d3..f4165bda4d 100644 --- a/tests/expectations/compiler/compiler/integers/u8/shl.out +++ b/tests/expectations/compiler/compiler/integers/u8/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 122462c0f087ef8b63c453544666f10f38e2cce33fbd6f4d84b9585177077077 - initial_ast: 0bfbbd577c1680dc314a933dd553c5b8f923a6500b993641aa289d09e6fa7b2d + initial_ast: d2c1fb24dedc94256ffad68bdae2d310f7fab2118489f96a6182176e03f133f6 symbol_table: 0dcb0e6a28f02796446718e8f14671a57393c5bf183d41f13e793df6cd75a259 diff --git a/tests/expectations/compiler/compiler/integers/u8/shr.out b/tests/expectations/compiler/compiler/integers/u8/shr.out index 0ebbef74b1..8dc34cdcc4 100644 --- a/tests/expectations/compiler/compiler/integers/u8/shr.out +++ b/tests/expectations/compiler/compiler/integers/u8/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 122462c0f087ef8b63c453544666f10f38e2cce33fbd6f4d84b9585177077077 - initial_ast: b310c8d522c70768838543087c884a8785081de31ef2302a20176dd697d57914 + initial_ast: 2ad456741b19d3af0e60447643e62de8766125f56dedf8387728a737bb6d25c6 symbol_table: 4ddf03d578dbc3f96c1b265bbce3b76f5ca3f34c86715ee73ca998cfc0ec3c50 diff --git a/tests/expectations/compiler/compiler/integers/u8/sub.out b/tests/expectations/compiler/compiler/integers/u8/sub.out index 2f67bcaf16..8b25e6b71e 100644 --- a/tests/expectations/compiler/compiler/integers/u8/sub.out +++ b/tests/expectations/compiler/compiler/integers/u8/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: e0a14c313387c27690fe95a691990d9a82c0d189ebe6510a209984a817907fb0 - initial_ast: 9b629c94d7ea45e415591d9dda63fbff07a93ec777b9b99be437ba2aff883bd1 + initial_ast: e298950675efc871fa75910b711e966dd829b0b9f201aa3c557e42f242afbac9 symbol_table: 01d7107fd6a67975c4952fc58274bf1f55fc8d96d1dfe13a7ff99962944bd997 diff --git a/tests/expectations/compiler/compiler/integers/u8/ternary.out b/tests/expectations/compiler/compiler/integers/u8/ternary.out index a30da8af13..77bb32b8ce 100644 --- a/tests/expectations/compiler/compiler/integers/u8/ternary.out +++ b/tests/expectations/compiler/compiler/integers/u8/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 92a421ad9700284ef509658bad78166f5931b333e9f838bb141501a617e49cc7 - initial_input_ast: c6e61d82e8081ec02c9363b22a0b5496a417885254c4e178d21597c39de6d95a - initial_ast: 9ed0471710e7c1109adac89e209ea157c5c0cb642661bb24bfd109537159b2e6 + initial_ast: c532aebeb8d72e83d290957cbae65e31c7a2d88101ea1c7d20aef526b8325568 symbol_table: b67bb45269a8520e0eaa95710e418120baea294247708f137a21df4e2be97c55 diff --git a/tests/expectations/compiler/compiler/integers/u8/xor.out b/tests/expectations/compiler/compiler/integers/u8/xor.out index a338082fed..b9f26ad2a0 100644 --- a/tests/expectations/compiler/compiler/integers/u8/xor.out +++ b/tests/expectations/compiler/compiler/integers/u8/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f3f4106ac9259a15289bec28ed917f5781227eb13d1e0eafb3e9f8644727e119 - initial_ast: 79255bfd6845fac131d7d3ea97624ef9a0076305ddeb40447e531c38044357d9 + initial_ast: 38b413fdb7fb014ce509c057f03e2e58124b42a4c8eb404e6442f647f11a3a87 symbol_table: ebb277c7719a564957a2e1942a6e9880e5b0c5a04dedd6ac58c14cb30d3fefd2 diff --git a/tests/expectations/compiler/compiler/mutability/cond_mut.out b/tests/expectations/compiler/compiler/mutability/cond_mut.out index a650d42829..370386fd8b 100644 --- a/tests/expectations/compiler/compiler/mutability/cond_mut.out +++ b/tests/expectations/compiler/compiler/mutability/cond_mut.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 4450d380390e4b22d69c9b44ee782266384b84ba991347c0f96e8f624d6512e7 - initial_ast: 2d05e70558b1a34ac0778929dc306c177ae344de02feca3f1ed7be554f3da944 + initial_ast: fd3e422df0fc202154f2e1c19919431d636736c3d13f56824ae7432b71d4a492 symbol_table: 955902f6a157a4830f6d69bc63ccd54bc6fdc8fee6b4f481926fa4a695688b69 diff --git a/tests/expectations/compiler/compiler/mutability/function_input_mut.out b/tests/expectations/compiler/compiler/mutability/function_input_mut.out index 90bba3f7f7..c8c6290919 100644 --- a/tests/expectations/compiler/compiler/mutability/function_input_mut.out +++ b/tests/expectations/compiler/compiler/mutability/function_input_mut.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f8e3ad3747d61bdfd59afdc58ad9f7bfb6ffba275f9c5f22e12e1607bb06af85 - initial_ast: 5647851e72bb49bf865c8025c525333f4ea4751e1b8f9e68b72660aa91e8c435 + initial_ast: 8ea8fd6cdfe07845b2d01c5b80bb10ab6c9c40bde1f09fe1ff9d69fcd8cbb7ce symbol_table: 03c28801d27a251ba77271104022e75a4d405bd4c96334c37033fdea7b0e8258 diff --git a/tests/expectations/compiler/compiler/mutability/let_mut_nested.out b/tests/expectations/compiler/compiler/mutability/let_mut_nested.out index f3f00f2627..a171b8eb1a 100644 --- a/tests/expectations/compiler/compiler/mutability/let_mut_nested.out +++ b/tests/expectations/compiler/compiler/mutability/let_mut_nested.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 0ef14a72e85eff8a241f34061899762d2fee7906cc3505475f0dac47b9458f8a - initial_ast: e25b363c3583b46fa1a8e10eef94717ca4b87128c8578a4b44ad344ff113eef8 + initial_ast: 7e644c346e2aaafd099d8a47ff5e7f975801d4319489a514580cca404630edbc symbol_table: 1b47c953d0bbbf8ea32689c606dffbfe56d3b7c43866887680305b8f86070bfb diff --git a/tests/expectations/compiler/compiler/scalar/add.out b/tests/expectations/compiler/compiler/scalar/add.out index 18e76e6e67..3e3b6e6bb5 100644 --- a/tests/expectations/compiler/compiler/scalar/add.out +++ b/tests/expectations/compiler/compiler/scalar/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c528268c53f01e78fbbc8af3ed5e0dc1d4e9b9f28644c597167971edef764cf0 - initial_ast: 5b3ef7dce7c2ffe2777c5b2a9545daead2f38e2b8707477db03e87faec6da7d2 + initial_ast: 4923e90a5af7f7022458c82babd33fff5575da582d95b8a412a6be9c35dc3da9 symbol_table: 1876eba4e5ee94cf8982367a238c5019f0bdc66e334694d26f2932f392025f44 diff --git a/tests/expectations/compiler/compiler/scalar/cmp.out b/tests/expectations/compiler/compiler/scalar/cmp.out index fb17c681b6..96b8c51de1 100644 --- a/tests/expectations/compiler/compiler/scalar/cmp.out +++ b/tests/expectations/compiler/compiler/scalar/cmp.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 8b51ce00d3448cda6f763ac1fbc6d14a2588dc0bc0d24eb423b5f417029b28c5 - initial_ast: 95590d79b6c281e99c71474d30c610d1f455254ad478a8c12f83e76bb624424e + initial_ast: 436af3d626c0916efeba38bac04eabefb86b031d094eb3287765e4536a73c9cd symbol_table: d81861360e0f528089da457597536cfa42c23c67ab245a07e635dbe2fbb32fb5 diff --git a/tests/expectations/compiler/compiler/scalar/div.out b/tests/expectations/compiler/compiler/scalar/div.out index b2ef8f47a6..58437bc048 100644 --- a/tests/expectations/compiler/compiler/scalar/div.out +++ b/tests/expectations/compiler/compiler/scalar/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3a7c59d773f33e6827986b770fb0a3434917ccb094cab158d5ae8dead74fa8c2 - initial_ast: 8cc7803f72770ff9c129a32350e365aa18958bf0ef991cb2a7793075b90da062 + initial_ast: 6115015eff2a0ead18df71fba5f1782df24fd6a81342cc86a3bc7fa7a5dbe529 symbol_table: 7834fa96812db8e93f4a3bd59164bc7733d0a69926cf52d5948e05bdce3455d0 diff --git a/tests/expectations/compiler/compiler/scalar/eq.out b/tests/expectations/compiler/compiler/scalar/eq.out index 775e3df29c..85a19255a7 100644 --- a/tests/expectations/compiler/compiler/scalar/eq.out +++ b/tests/expectations/compiler/compiler/scalar/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: fbb9f33bc5cf7fd11341e6dc1d12d4899274f3bee34dd64590ffd3c9438a61a5 - initial_ast: 110f00451cdf3af4c1befda6c1a97f4b09fa1d1656ac037f225249e3a3e6000e + initial_ast: b0607131efa1483a653664e52ef099247d34dd496a854b0c5a1b3a2332886f13 symbol_table: 8ae4e9f2d81c8c887808b3a71b3e28c70e8844676c3ee600ff265415d1a8dbfd diff --git a/tests/expectations/compiler/compiler/scalar/group_mul.out b/tests/expectations/compiler/compiler/scalar/group_mul.out index 73423dc278..1f563e9829 100644 --- a/tests/expectations/compiler/compiler/scalar/group_mul.out +++ b/tests/expectations/compiler/compiler/scalar/group_mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: cb1157ee8277e48e0316befc327c4f0504659c2fd64e6efeedb7dcd9722c7a7e - initial_ast: e1964446af946d772d62558a03503a43f8ddc7a1c6e517ee30e7305a140c09db + initial_ast: 8b51b5388b1758d5aa1ab3e0ce74039668a8593b1d451ebaa3929aa0f5e4e484 symbol_table: 1a72d572ccecc576314191109763bf06c105e97c32c0c3457d9a5350b89423bb diff --git a/tests/expectations/compiler/compiler/scalar/mul.out b/tests/expectations/compiler/compiler/scalar/mul.out index 75cb561176..e8f4808eec 100644 --- a/tests/expectations/compiler/compiler/scalar/mul.out +++ b/tests/expectations/compiler/compiler/scalar/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c528268c53f01e78fbbc8af3ed5e0dc1d4e9b9f28644c597167971edef764cf0 - initial_ast: 9ebc007363e99914d5b5ab3519ee40d49fabb61db7ae8a68395a5ff25afc3a1a + initial_ast: 1f873000946436cef7a07f8d15b4e81053cf3e8ece4e94d9db87e6ad3aa6f75b symbol_table: 3739f707bdec6d0f3c75770646d9fc801a437e96ea8f5b1020abfc44ef475333 diff --git a/tests/expectations/compiler/compiler/scalar/operator_methods.out b/tests/expectations/compiler/compiler/scalar/operator_methods.out index 38fe62c969..57a6573696 100644 --- a/tests/expectations/compiler/compiler/scalar/operator_methods.out +++ b/tests/expectations/compiler/compiler/scalar/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 351e1f9f8fc577b89a037d3e52eddc9c932782274c1b19b090efb266439d7ab5 - initial_ast: ad1ba77e3c854d91bfa578b068a35036f3043e8312ebf9c86db6104c4d25e0c9 + initial_ast: c44bc7f857bef52470da6f363d46e2a96b6f43b2cc957974c3caf621441dff3f symbol_table: 525e19b7412a21fd007ac610fa883f89c141a9a30e7d88f0a644197dfee1d84d diff --git a/tests/expectations/compiler/compiler/scalar/scalar.out b/tests/expectations/compiler/compiler/scalar/scalar.out index 7b05e6724f..5b053f13ba 100644 --- a/tests/expectations/compiler/compiler/scalar/scalar.out +++ b/tests/expectations/compiler/compiler/scalar/scalar.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 28228b87fcb43040ca2c4a6c9e6539642323a9f64d837a6de7f579b17ceb1da4 - initial_ast: 501cd588698e4c37e5e5f2ed272903f6e2277ec865c059df1a2a4526a35ccfcd + initial_ast: ea1fd57c1c354a1a0c30c7f2227888cd0f80aa6aef0f8ae99858126b7db1ff64 symbol_table: d28e37161537c8e13b9c0fdce8d3663f3e4d8e3bae9fc5cf53732131dca4510b diff --git a/tests/expectations/compiler/compiler/scalar/ternary.out b/tests/expectations/compiler/compiler/scalar/ternary.out index 5bfeb3648e..1cd750a5fc 100644 --- a/tests/expectations/compiler/compiler/scalar/ternary.out +++ b/tests/expectations/compiler/compiler/scalar/ternary.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: fbb9f33bc5cf7fd11341e6dc1d12d4899274f3bee34dd64590ffd3c9438a61a5 - initial_ast: 6b5149b93e9b42a66dabf3a1e041f6fa506c41d7c37eb14d7699c33abdac247b + initial_ast: 0321ed5df7122eb40a16f0ce4f3c3bd4a655c44ecb35bfae684e63abfeace29a symbol_table: 6f4fe29a04532a1b259ea75706d26a7836034bd531f558425fa3baa193fe3915 diff --git a/tests/expectations/compiler/compiler/statements/all_loops.out b/tests/expectations/compiler/compiler/statements/all_loops.out index fe160d35d9..b26ff049b9 100644 --- a/tests/expectations/compiler/compiler/statements/all_loops.out +++ b/tests/expectations/compiler/compiler/statements/all_loops.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 2f21b4d5dc1058106889da0975de69c33e29bb184dace42559ad3e4da5140d21 - initial_ast: 72d72a8e2719419f4fde8b2ef6b4600d9056efe736df419c8c426e9279dfe807 + initial_ast: b3fe13d0165b011bf3c5c2c5b23e266af85f0f52a214d16a41fc1e39c1c2dd3e symbol_table: 17062ffd3a4c9628e2c6cd3af6c60b8d8117186a3f34be948bfe951ee96d702d diff --git a/tests/expectations/compiler/compiler/statements/block.out b/tests/expectations/compiler/compiler/statements/block.out index fe04207fe4..1d2211af81 100644 --- a/tests/expectations/compiler/compiler/statements/block.out +++ b/tests/expectations/compiler/compiler/statements/block.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 198eb7d80bc19a6592fb460e0cebcbe3f5078d54990fffc59c7df12b184b7f45 - initial_ast: cf7ed47dfec89e9218f8ccb717a749c9477392dbfc53de8f32627490312ff7cb + initial_ast: 2e79db1c23328fc08858eb76af379ad7e35148e87c935a24ec68564535b6d0ce symbol_table: 58ff7182ef3f54b16388adf1a5ed1048ea66b9f44e1bdc8dddec83333fe9c14d diff --git a/tests/expectations/compiler/compiler/statements/chain.out b/tests/expectations/compiler/compiler/statements/chain.out index 1ae847169c..e1da88ab16 100644 --- a/tests/expectations/compiler/compiler/statements/chain.out +++ b/tests/expectations/compiler/compiler/statements/chain.out @@ -6,5 +6,5 @@ outputs: - initial_input_ast: fe5796b8d715bb6171a2512556ac35483e41e87c7ea0245d879d4af6a2cc5a53 - initial_input_ast: 96ab541d4a0830d109dd74d3f3bff3b1e50a1ecea05334bb6042b71a6f15cf94 - initial_input_ast: f2d89f71957ad254e7693b39d829d0728443e2fe3a2664295fa83fe97bda12ca - initial_ast: 932158cc78956ff54049a8372c266737c8eb0ea98268a818691877412739d59a + initial_ast: d557f42a9b2768225df7c7a7d1d405dc52709d7226192ca3bb756f6a51f693d3 symbol_table: 057339b96e949644b9100ca88f160f6322d3d20f49b29c64e346f932c126bf74 diff --git a/tests/expectations/compiler/compiler/statements/compare_diff_types_fail.out b/tests/expectations/compiler/compiler/statements/compare_diff_types_fail.out index 3906369043..67e238045b 100644 --- a/tests/expectations/compiler/compiler/statements/compare_diff_types_fail.out +++ b/tests/expectations/compiler/compiler/statements/compare_diff_types_fail.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: fb915314d9b78be969b79981f55977bf7ef662c72c93184cf0e60788575f763a - initial_ast: 0a313845582b4929789b314c5b8ac3f516b1aa01e34f1ec6009c0dc144f92616 + initial_ast: 0bce8e3ee977c37947ff698cd2d66d01d24520c7ad141dc87e2e9c11bf9250dc symbol_table: d00a24d47934e8e043bdc1af4a6c0de4d05d10059a435982c942831864c1cbeb diff --git a/tests/expectations/compiler/compiler/statements/duplicate_variable.out b/tests/expectations/compiler/compiler/statements/duplicate_variable.out index a41efa1fdc..a53e9f3568 100644 --- a/tests/expectations/compiler/compiler/statements/duplicate_variable.out +++ b/tests/expectations/compiler/compiler/statements/duplicate_variable.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Error [EAST0372016]: variable `x` shadowed by\n --> compiler-test:5:4\n |\n 5 | \tlet x: bool = true;\n | ^^^^^^^^^^^^^^^^^^\n" + - "Error [EAST0372017]: variable `x` shadowed by\n --> compiler-test:5:4\n |\n 5 | \tlet x: bool = true;\n | ^^^^^^^^^^^^^^^^^^\n" diff --git a/tests/expectations/compiler/compiler/statements/for_loop.out b/tests/expectations/compiler/compiler/statements/for_loop.out index d4eb461261..4a06a13490 100644 --- a/tests/expectations/compiler/compiler/statements/for_loop.out +++ b/tests/expectations/compiler/compiler/statements/for_loop.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 9fe934b08244cf726123179e290ddfd645bb8b283579741664055ea576b4800f - initial_ast: 59e060022eb735e5e9c9391f9da56dd48c463ed1b2c0b14ec89d6db80859d2ac + initial_ast: ba5afe553c67ccb44b64459d3b5aeb1e90bb40f976aaed41d7c80ad38f3bc0b5 symbol_table: e4bca60f5387ea06162a5ccd040b49966cbf2c5b52ed35a48d71b08e14e0fee1 diff --git a/tests/expectations/compiler/compiler/statements/iteration_basic.out b/tests/expectations/compiler/compiler/statements/iteration_basic.out index b539417ed2..fb4bcee327 100644 --- a/tests/expectations/compiler/compiler/statements/iteration_basic.out +++ b/tests/expectations/compiler/compiler/statements/iteration_basic.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a07781bcb6b37246cd6b048878a0951cc90bb0f2a4fc05e2fb36b0e16928f37f - initial_ast: c7a14971408cb0fff82d8c45417c93dfa2d36254b21c1b55610a3527a49f6afe + initial_ast: 37bc93ccec4462309aa686e9141fd80acd26f1e60cefbdc376c67b8dc0453acc symbol_table: 43e0cef3208b26d9005ce71e3b20057f7fab524b6969cd7323f9a7a7eaa29ae9 diff --git a/tests/expectations/compiler/compiler/statements/iteration_variable.out b/tests/expectations/compiler/compiler/statements/iteration_variable.out index 6b45944078..d4e172f0b2 100644 --- a/tests/expectations/compiler/compiler/statements/iteration_variable.out +++ b/tests/expectations/compiler/compiler/statements/iteration_variable.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c918ce1ffc15cd823113a571123910dde670829e3fd04a22ca6f3fed8fd16eb4 - initial_ast: 3ff81ead4edb3474008c23b7c146d12138cd4c19d3bb6479fe2e45965ea12eb7 + initial_ast: cf95bfb7061bb36b6cc2ca04639f7487362533f6b26f64306447a3032b40551e symbol_table: 013ec5f72040ecfe9f45884659a7b674f37c5a2a98906c2f42ec7e07f727f0df diff --git a/tests/expectations/compiler/compiler/statements/multiple_returns.out b/tests/expectations/compiler/compiler/statements/multiple_returns.out index ab0a7ab796..a8eeeb8c51 100644 --- a/tests/expectations/compiler/compiler/statements/multiple_returns.out +++ b/tests/expectations/compiler/compiler/statements/multiple_returns.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 198eb7d80bc19a6592fb460e0cebcbe3f5078d54990fffc59c7df12b184b7f45 - initial_input_ast: e8c168b68e9259dd1cbe1810a54c0523005878e57bbeaa9d4493191347d62fe2 - initial_ast: 00624c4b4091d0e5812c3682e44b6973f327a74df02482434edbda0b10f71371 + initial_ast: 27fc20adbefee290e2a753a927c154bcda698198556d1878e1934ca599200298 symbol_table: 91af5c376605301bd7c934ad6ad829de5c8b92f7cfe45aff8543e1a77b24d8ac diff --git a/tests/expectations/compiler/compiler/statements/mutate.out b/tests/expectations/compiler/compiler/statements/mutate.out index 86eda29315..484c455bd7 100644 --- a/tests/expectations/compiler/compiler/statements/mutate.out +++ b/tests/expectations/compiler/compiler/statements/mutate.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 1616955974a4cb7c759158043772f241d043e67ed0063818c456aa1fae054b0c - initial_input_ast: 9ebf6d54b77d669ce67d3574d054a2bab06b159b077cb1b30e9014575badbc3b - initial_ast: 62081a8f0aba9dae78c9baae1b8333743581880f37eb051147b48789d929551b + initial_ast: 864da177acbb50bb5d5ff07f607c185cd00af007b505d2ce1eee81c675da974f symbol_table: 92816f4a99866162f44d9eaa22bea95c002ef73e9ba5e1ed74f2de1e4d8fa1d3 diff --git a/tests/expectations/compiler/compiler/statements/ternary_explicit_and_implicit.out b/tests/expectations/compiler/compiler/statements/ternary_explicit_and_implicit.out index ab4d2e1ddf..bd16635812 100644 --- a/tests/expectations/compiler/compiler/statements/ternary_explicit_and_implicit.out +++ b/tests/expectations/compiler/compiler/statements/ternary_explicit_and_implicit.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ecc54967dfe1b2c067baa1fe6d2dfababe2a728338906c482b6582c25dd5cb0f - initial_ast: 2810ef0ebe18a03a525672e448d6ed0d949fd9f3b2ddaea971f1785537d7ca4b + initial_ast: 10a1313671214035c776acf6e9d47d7ba1c77682def406322b70b26384fb8db0 symbol_table: ea61603fdb0d2d3f9ed43f0b8fd044438c4f662ae0cfb97e95505b741a82ce0b diff --git a/tests/expectations/parser/parser/expression/literal/comment.out b/tests/expectations/parser/parser/expression/literal/comment.out index 21d676cd77..800239ba7f 100644 --- a/tests/expectations/parser/parser/expression/literal/comment.out +++ b/tests/expectations/parser/parser/expression/literal/comment.out @@ -6,3 +6,4 @@ outputs: expected_input: [] functions: {} circuits: {} + records: {} diff --git a/tests/expectations/parser/parser/functions/const_input.out b/tests/expectations/parser/parser/functions/const_input.out index 03dfda29f0..ca5304e59e 100644 --- a/tests/expectations/parser/parser/functions/const_input.out +++ b/tests/expectations/parser/parser/functions/const_input.out @@ -50,3 +50,4 @@ outputs: lo: 36 hi: 72 circuits: {} + records: {} diff --git a/tests/expectations/parser/parser/functions/const_param.out b/tests/expectations/parser/parser/functions/const_param.out index aee1679873..53aea0a567 100644 --- a/tests/expectations/parser/parser/functions/const_param.out +++ b/tests/expectations/parser/parser/functions/const_param.out @@ -90,3 +90,4 @@ outputs: lo: 65 hi: 126 circuits: {} + records: {} diff --git a/tests/expectations/parser/parser/functions/empty2.out b/tests/expectations/parser/parser/functions/empty2.out index e44e4c6b66..6a3fde490d 100644 --- a/tests/expectations/parser/parser/functions/empty2.out +++ b/tests/expectations/parser/parser/functions/empty2.out @@ -20,3 +20,4 @@ outputs: lo: 2 hi: 23 circuits: {} + records: {} diff --git a/tests/expectations/parser/parser/functions/params.out b/tests/expectations/parser/parser/functions/params.out index 4e0e4b6ff3..175b947a5a 100644 --- a/tests/expectations/parser/parser/functions/params.out +++ b/tests/expectations/parser/parser/functions/params.out @@ -48,3 +48,4 @@ outputs: lo: 2 hi: 54 circuits: {} + records: {} diff --git a/tests/expectations/parser/parser/functions/params_return.out b/tests/expectations/parser/parser/functions/params_return.out index 36c9a9f248..2e3b334bdc 100644 --- a/tests/expectations/parser/parser/functions/params_return.out +++ b/tests/expectations/parser/parser/functions/params_return.out @@ -48,3 +48,4 @@ outputs: lo: 2 hi: 55 circuits: {} + records: {} diff --git a/tests/expectations/parser/parser/functions/public_param.out b/tests/expectations/parser/parser/functions/public_param.out index 7db82ec75c..6789fe17d4 100644 --- a/tests/expectations/parser/parser/functions/public_param.out +++ b/tests/expectations/parser/parser/functions/public_param.out @@ -90,3 +90,4 @@ outputs: lo: 63 hi: 122 circuits: {} + records: {} diff --git a/tests/expectations/parser/parser/functions/return.out b/tests/expectations/parser/parser/functions/return.out index 2a7224c915..e5710fe5f7 100644 --- a/tests/expectations/parser/parser/functions/return.out +++ b/tests/expectations/parser/parser/functions/return.out @@ -32,3 +32,4 @@ outputs: lo: 2 hi: 41 circuits: {} + records: {} diff --git a/tests/expectations/parser/parser/serialize/one_plus_one.out b/tests/expectations/parser/parser/serialize/one_plus_one.out index 68f2c1f0a1..704de56ff1 100644 --- a/tests/expectations/parser/parser/serialize/one_plus_one.out +++ b/tests/expectations/parser/parser/serialize/one_plus_one.out @@ -28,3 +28,4 @@ outputs: - "1" op: Add circuits: {} + records: {} From 3a5d7720c8c17699fdb65bb12f09fe7ff24c66ee Mon Sep 17 00:00:00 2001 From: collin <16715212+collinc97@users.noreply.github.com> Date: Mon, 27 Jun 2022 13:33:10 -1000 Subject: [PATCH 10/17] clippy --- leo/errors/src/errors/parser/parser_errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leo/errors/src/errors/parser/parser_errors.rs b/leo/errors/src/errors/parser/parser_errors.rs index 56c8b47ad6..eef87cd0fb 100644 --- a/leo/errors/src/errors/parser/parser_errors.rs +++ b/leo/errors/src/errors/parser/parser_errors.rs @@ -400,7 +400,7 @@ create_messages!( @formatted expected_ending_comma_or_semicolon { args: (), - msg: format!("Expected an ending comma or semicolon for the record variable"), + msg: "Expected an ending comma or semicolon for the record variable.", help: None, } ); From 1cb4afe5f9f86868a6364c02d65d213b0ad16492 Mon Sep 17 00:00:00 2001 From: collin <16715212+collinc97@users.noreply.github.com> Date: Mon, 27 Jun 2022 16:59:06 -1000 Subject: [PATCH 11/17] impl record type tests --- examples/hello-world/src/main.leo | 24 ++++++++++++++-- tests/compiler/records/declaration.leo | 17 +++++++++++ .../records/duplicate_circuit_name_fail.leo | 21 ++++++++++++++ tests/compiler/records/duplicate_var_fail.leo | 19 +++++++++++++ tests/compiler/records/init_expression.leo | 28 +++++++++++++++++++ .../records/init_expression_shorthand.leo | 28 +++++++++++++++++++ .../records/init_expression_type_fail.leo | 28 +++++++++++++++++++ .../records/init_expression_var_fail.leo | 28 +++++++++++++++++++ tests/compiler/records/inputs/address.in | 0 tests/compiler/records/no_owner_fail.leo | 16 +++++++++++ .../compiler/compiler/records/declaration.out | 8 ++++++ .../records/duplicate_circuit_name_fail.out | 5 ++++ .../compiler/records/duplicate_var_fail.out | 5 ++++ .../compiler/records/init_expression.out | 8 ++++++ .../records/init_expression_shorthand.out | 8 ++++++ .../records/init_expression_type_fail.out | 5 ++++ .../records/init_expression_var_fail.out | 5 ++++ .../compiler/records/no_owner_fail.out | 5 ++++ 18 files changed, 256 insertions(+), 2 deletions(-) create mode 100644 tests/compiler/records/declaration.leo create mode 100644 tests/compiler/records/duplicate_circuit_name_fail.leo create mode 100644 tests/compiler/records/duplicate_var_fail.leo create mode 100644 tests/compiler/records/init_expression.leo create mode 100644 tests/compiler/records/init_expression_shorthand.leo create mode 100644 tests/compiler/records/init_expression_type_fail.leo create mode 100644 tests/compiler/records/init_expression_var_fail.leo create mode 100644 tests/compiler/records/inputs/address.in create mode 100644 tests/compiler/records/no_owner_fail.leo create mode 100644 tests/expectations/compiler/compiler/records/declaration.out create mode 100644 tests/expectations/compiler/compiler/records/duplicate_circuit_name_fail.out create mode 100644 tests/expectations/compiler/compiler/records/duplicate_var_fail.out create mode 100644 tests/expectations/compiler/compiler/records/init_expression.out create mode 100644 tests/expectations/compiler/compiler/records/init_expression_shorthand.out create mode 100644 tests/expectations/compiler/compiler/records/init_expression_type_fail.out create mode 100644 tests/expectations/compiler/compiler/records/init_expression_var_fail.out create mode 100644 tests/expectations/compiler/compiler/records/no_owner_fail.out diff --git a/examples/hello-world/src/main.leo b/examples/hello-world/src/main.leo index 71fb309009..6bf610a57d 100644 --- a/examples/hello-world/src/main.leo +++ b/examples/hello-world/src/main.leo @@ -1,3 +1,23 @@ -function main(a: u8) -> group { - return Pedersen64::hash(a); +record Token { + // The token owner. + owner: address, + // The Aleo balance (in gates). + balance: u64, + // The token amount. + amount: u64, +} + +function mint(owner: address, amount: u64) -> Token { + return Token { + owner, + balance: 0u64, + amount, + }; +} + +function main(x: address) -> u64 { + const c: u64 = 1u64; + let t: Token = mint(x, c); + + return t.balance; } \ No newline at end of file diff --git a/tests/compiler/records/declaration.leo b/tests/compiler/records/declaration.leo new file mode 100644 index 0000000000..11e0beb640 --- /dev/null +++ b/tests/compiler/records/declaration.leo @@ -0,0 +1,17 @@ +/* +namespace: Compile +expectation: Pass +*/ + +record Token { + // The token owner. + owner: address, + // The Aleo balance (in gates). + balance: u64, + // The token amount. + amount: u64, +} + +function main() -> bool { + return true; +} \ No newline at end of file diff --git a/tests/compiler/records/duplicate_circuit_name_fail.leo b/tests/compiler/records/duplicate_circuit_name_fail.leo new file mode 100644 index 0000000000..e483ba217c --- /dev/null +++ b/tests/compiler/records/duplicate_circuit_name_fail.leo @@ -0,0 +1,21 @@ +/* +namespace: Compile +expectation: Fail +*/ + +record Token { + // The token owner. + owner: address, + // The Aleo balance (in gates). + balance: u64, + // The token amount. + amount: u64, +} + +circuit Token { // This circuit cannot have the same name as the record defined above it. + x: u32, +} + +function main() -> bool { + return true; +} \ No newline at end of file diff --git a/tests/compiler/records/duplicate_var_fail.leo b/tests/compiler/records/duplicate_var_fail.leo new file mode 100644 index 0000000000..6cb37d6dd9 --- /dev/null +++ b/tests/compiler/records/duplicate_var_fail.leo @@ -0,0 +1,19 @@ +/* +namespace: Compile +expectation: Fail +*/ + +record Token { + // The token owner. + owner: address, + // The token owner. + owner: address, // Cannot define two record variables with the same name. + // The Aleo balance (in gates). + balance: u64, + // The token amount. + amount: u64, +} + +function main() -> bool { + return true; +} \ No newline at end of file diff --git a/tests/compiler/records/init_expression.leo b/tests/compiler/records/init_expression.leo new file mode 100644 index 0000000000..2ad10e0e29 --- /dev/null +++ b/tests/compiler/records/init_expression.leo @@ -0,0 +1,28 @@ +/* +namespace: Compile +expectation: Pass +*/ + +record Token { + // The token owner. + owner: address, + // The Aleo balance (in gates). + balance: u64, + // The token amount. + amount: u64, +} + +function mint(r0: address, r1: u64) -> Token { + return Token { + owner: r0, + balance: 0u64, + amount: r1, + }; +} + +function main(x: address) -> u64 { + const c: u64 = 1u64; + let t: Token = mint(x, c); + + return t.balance; +} \ No newline at end of file diff --git a/tests/compiler/records/init_expression_shorthand.leo b/tests/compiler/records/init_expression_shorthand.leo new file mode 100644 index 0000000000..74c7610b83 --- /dev/null +++ b/tests/compiler/records/init_expression_shorthand.leo @@ -0,0 +1,28 @@ +/* +namespace: Compile +expectation: Pass +*/ + +record Token { + // The token owner. + owner: address, + // The Aleo balance (in gates). + balance: u64, + // The token amount. + amount: u64, +} + +function mint(owner: address, amount: u64) -> Token { + return Token { + owner, + balance: 0u64, + amount, + }; +} + +function main(x: address) -> u64 { + const c: u64 = 1u64; + let t: Token = mint(x, c); + + return t.balance; +} \ No newline at end of file diff --git a/tests/compiler/records/init_expression_type_fail.leo b/tests/compiler/records/init_expression_type_fail.leo new file mode 100644 index 0000000000..0d10fe285a --- /dev/null +++ b/tests/compiler/records/init_expression_type_fail.leo @@ -0,0 +1,28 @@ +/* +namespace: Compile +expectation: Fail +*/ + +record Token { + // The token owner. + owner: address, + // The Aleo balance (in gates). + balance: u64, + // The token amount. + amount: u64, +} + +function mint(r0: address, r1: u64) -> Token { + return Token { + owner: r1, // This variable should be type address. + balance: 0u64, + amount: r0, // This variable should be type u64. + }; +} + +function main(x: address) -> u64 { + const c: u64 = 1u64; + let t: Token = mint(x, c); + + return t.balance; +} \ No newline at end of file diff --git a/tests/compiler/records/init_expression_var_fail.leo b/tests/compiler/records/init_expression_var_fail.leo new file mode 100644 index 0000000000..349807d856 --- /dev/null +++ b/tests/compiler/records/init_expression_var_fail.leo @@ -0,0 +1,28 @@ +/* +namespace: Compile +expectation: Fail +*/ + +record Token { + // The token owner. + owner: address, + // The Aleo balance (in gates). + balance: u64, + // The token amount. + amount: u64, +} + +function mint(r0: address, r1: u64) -> Token { + return Token { + sender: r0, // This variable should be named `owner`. + balance: 0u64, + amount: r1, + }; +} + +function main(x: address) -> u64 { + const c: u64 = 1u64; + let t: Token = mint(x, c); + + return t.balance; +} \ No newline at end of file diff --git a/tests/compiler/records/inputs/address.in b/tests/compiler/records/inputs/address.in new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/compiler/records/no_owner_fail.leo b/tests/compiler/records/no_owner_fail.leo new file mode 100644 index 0000000000..c2945d5554 --- /dev/null +++ b/tests/compiler/records/no_owner_fail.leo @@ -0,0 +1,16 @@ +/* +namespace: Compile +expectation: Fail +*/ + +// This record does not define the `owner` variable required for a record type. +record Token { + // The Aleo balance (in gates). + balance: u64, + // The token amount. + amount: u64, +} + +function main() -> bool { + return true; +} \ No newline at end of file diff --git a/tests/expectations/compiler/compiler/records/declaration.out b/tests/expectations/compiler/compiler/records/declaration.out new file mode 100644 index 0000000000..8f8b0957ee --- /dev/null +++ b/tests/expectations/compiler/compiler/records/declaration.out @@ -0,0 +1,8 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - output: + - initial_input_ast: no input + initial_ast: b2600a36152f9e343c88ceb57304cbdef218cddbb34903fb206fe5a353862a72 + symbol_table: c49906bcded430e36886bfabc35c5740e4657ac82761b80b871f6d19ec6d9dda diff --git a/tests/expectations/compiler/compiler/records/duplicate_circuit_name_fail.out b/tests/expectations/compiler/compiler/records/duplicate_circuit_name_fail.out new file mode 100644 index 0000000000..7fd7794f38 --- /dev/null +++ b/tests/expectations/compiler/compiler/records/duplicate_circuit_name_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [EAST0372015]: circuit `Token` shadowed by\n --> compiler-test:3:1\n |\n 3 | record Token {\n 4 | // The token owner.\n 5 | owner: address,\n 6 | // The Aleo balance (in gates).\n 7 | balance: u64,\n 8 | // The token amount.\n 9 | amount: u64,\n 10 | }\n | ^\n" diff --git a/tests/expectations/compiler/compiler/records/duplicate_var_fail.out b/tests/expectations/compiler/compiler/records/duplicate_var_fail.out new file mode 100644 index 0000000000..cb6a9d6ef7 --- /dev/null +++ b/tests/expectations/compiler/compiler/records/duplicate_var_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [EPAR0370045]: The `record` type requires the variable `balance: u64` and enforces ordering.\n --> compiler-test:7:5\n |\n 7 | owner: address, // Cannot define two record variables with the same name.\n | ^^^^^" diff --git a/tests/expectations/compiler/compiler/records/init_expression.out b/tests/expectations/compiler/compiler/records/init_expression.out new file mode 100644 index 0000000000..e489fcd43c --- /dev/null +++ b/tests/expectations/compiler/compiler/records/init_expression.out @@ -0,0 +1,8 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - output: + - initial_input_ast: no input + initial_ast: d056f3b9b387a76349e8eb7e5e685bbcd60b4dbe72157449303e022d934496fe + symbol_table: 926c2f494fbb7914574e7b95bedd8992eaf028143e19bebcdcdf474fcb5eb1c5 diff --git a/tests/expectations/compiler/compiler/records/init_expression_shorthand.out b/tests/expectations/compiler/compiler/records/init_expression_shorthand.out new file mode 100644 index 0000000000..ea4878f46f --- /dev/null +++ b/tests/expectations/compiler/compiler/records/init_expression_shorthand.out @@ -0,0 +1,8 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - output: + - initial_input_ast: no input + initial_ast: 49dacc0f90849a18fc1e19d0c4b3e6661e1c9027210498ceda7b88f8586692d3 + symbol_table: de1844db50840db6655f51a2903da4287d51c03a6e693843bdd6be95c6d627f8 diff --git a/tests/expectations/compiler/compiler/records/init_expression_type_fail.out b/tests/expectations/compiler/compiler/records/init_expression_type_fail.out new file mode 100644 index 0000000000..3554e1935f --- /dev/null +++ b/tests/expectations/compiler/compiler/records/init_expression_type_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [ETYC0372003]: Found type `u64` but type `address` was expected\n --> compiler-test:12:28\n |\n 12 | function mint(r0: address, r1: u64) -> Token {\n | ^^\nError [ETYC0372003]: Found type `address` but type `u64` was expected\n --> compiler-test:12:15\n |\n 12 | function mint(r0: address, r1: u64) -> Token {\n | ^^\n" diff --git a/tests/expectations/compiler/compiler/records/init_expression_var_fail.out b/tests/expectations/compiler/compiler/records/init_expression_var_fail.out new file mode 100644 index 0000000000..60248d5c7f --- /dev/null +++ b/tests/expectations/compiler/compiler/records/init_expression_var_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [ETYC0372005]: Unknown record variable `sender`\n --> compiler-test:14:9\n |\n 14 | sender: r0, // This variable should be named `owner`.\n | ^^^^^^\n" diff --git a/tests/expectations/compiler/compiler/records/no_owner_fail.out b/tests/expectations/compiler/compiler/records/no_owner_fail.out new file mode 100644 index 0000000000..47c6d448b2 --- /dev/null +++ b/tests/expectations/compiler/compiler/records/no_owner_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [EPAR0370045]: The `record` type requires the variable `owner: address` and enforces ordering.\n --> compiler-test:6:5\n |\n 6 | balance: u64,\n | ^^^^^^^\nError [EPAR0370045]: The `record` type requires the variable `balance: u64` and enforces ordering.\n --> compiler-test:8:5\n |\n 8 | amount: u64,\n | ^^^^^^" From 952d7f4e36da35e20a69ab407ea9ab768079757f Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Thu, 30 Jun 2022 15:37:18 +0200 Subject: [PATCH 12/17] records: base them atop circuits instead --- compiler/ast/src/circuits/circuit.rs | 28 +-- compiler/ast/src/lib.rs | 3 - compiler/ast/src/passes/visitor.rs | 4 - compiler/ast/src/passes/visitor_director.rs | 9 - compiler/ast/src/program.rs | 21 +- compiler/ast/src/records/mod.rs | 21 -- compiler/ast/src/records/record.rs | 77 ------- compiler/ast/src/records/record_variable.rs | 47 ---- compiler/parser/src/parser/file.rs | 106 +-------- compiler/passes/src/symbol_table/create.rs | 7 - compiler/passes/src/symbol_table/table.rs | 43 +--- .../src/type_checker/check_expressions.rs | 213 +++++------------- .../passes/src/type_checker/check_file.rs | 43 ++-- compiler/passes/src/type_checker/checker.rs | 48 ++-- leo/errors/src/errors/parser/parser_errors.rs | 14 -- .../errors/type_checker/type_checker_error.rs | 14 ++ tests/compiler/records/balance_wrong_ty.leo | 14 ++ tests/compiler/records/owner_wrong_ty.leo | 14 ++ .../compiler/compiler/address/binary.out | 2 +- .../compiler/compiler/address/branch.out | 2 +- .../compiler/compiler/address/equal.out | 2 +- .../compiler/compiler/address/ternary.out | 2 +- .../compiler/compiler/boolean/and.out | 2 +- .../compiler/compiler/boolean/conditional.out | 2 +- .../compiler/compiler/boolean/equal.out | 2 +- .../compiler/compiler/boolean/not_equal.out | 2 +- .../compiler/boolean/operator_methods.out | 2 +- .../compiler/compiler/boolean/or.out | 2 +- .../compiler/compiler/char/string.out | 2 +- .../circuits/duplicate_name_context.out | 2 +- .../compiler/compiler/circuits/inline.out | 2 +- .../compiler/circuits/inline_member_pass.out | 2 +- .../compiler/circuits/member_variable.out | 2 +- .../compiler/compiler/console/assert.out | 2 +- .../compiler/console/conditional_assert.out | 2 +- .../compiler/compiler/console/error.out | 2 +- .../compiler/compiler/console/log.out | 2 +- .../compiler/console/log_conditional.out | 2 +- .../compiler/compiler/console/log_input.out | 2 +- .../compiler/console/log_parameter.out | 2 +- .../compiler/console/log_parameter_many.out | 2 +- .../compiler/compiler/core/algorithms/bhp.out | 2 +- .../compiler/core/algorithms/pedersen.out | 2 +- .../compiler/core/algorithms/poseidon.out | 2 +- .../compiler/definition/out_of_order.out | 2 +- .../compiler/compiler/field/add.out | 2 +- .../compiler/compiler/field/div.out | 2 +- .../compiler/compiler/field/eq.out | 2 +- .../compiler/compiler/field/field.out | 2 +- .../compiler/compiler/field/mul.out | 2 +- .../compiler/compiler/field/negate.out | 2 +- .../compiler/field/operator_methods.out | 2 +- .../compiler/compiler/field/pow.out | 2 +- .../compiler/compiler/field/sub.out | 2 +- .../compiler/compiler/field/ternary.out | 2 +- .../compiler/function/conditional_return.out | 2 +- .../compiler/compiler/function/iteration.out | 2 +- .../compiler/function/iteration_repeated.out | 2 +- .../compiler/compiler/function/repeated.out | 2 +- .../compiler/compiler/function/return.out | 2 +- .../compiler/compiler/group/add.out | 2 +- .../compiler/compiler/group/assert_eq.out | 2 +- .../compiler/group/both_sign_high.out | 2 +- .../compiler/group/both_sign_inferred.out | 2 +- .../compiler/compiler/group/both_sign_low.out | 2 +- .../compiler/compiler/group/eq.out | 2 +- .../compiler/compiler/group/input.out | 2 +- .../compiler/group/mult_by_scalar.out | 2 +- .../compiler/compiler/group/negate.out | 2 +- .../compiler/compiler/group/one.out | 2 +- .../compiler/group/operator_methods.out | 2 +- .../compiler/compiler/group/point.out | 2 +- .../compiler/compiler/group/point_input.out | 2 +- .../compiler/group/positive_and_negative.out | 2 +- .../compiler/compiler/group/sub.out | 2 +- .../compiler/compiler/group/ternary.out | 2 +- .../compiler/compiler/group/x_and_y.out | 2 +- .../compiler/compiler/group/x_sign_high.out | 2 +- .../compiler/group/x_sign_inferred.out | 2 +- .../compiler/compiler/group/x_sign_low.out | 2 +- .../compiler/compiler/group/y_sign_high.out | 2 +- .../compiler/group/y_sign_inferred.out | 2 +- .../compiler/compiler/group/y_sign_low.out | 2 +- .../compiler/compiler/group/zero.out | 2 +- .../input_files/program_input/main.out | 2 +- .../input_files/program_input/main_field.out | 2 +- .../input_files/program_input/main_group.out | 2 +- .../program_input_constants/main.out | 2 +- .../program_input_constants/main_field.out | 2 +- .../program_input_constants/main_group.out | 2 +- .../program_input_constants/main_multiple.out | 2 +- .../compiler/compiler/integers/i128/add.out | 2 +- .../compiler/compiler/integers/i128/and.out | 2 +- .../compiler/integers/i128/console_assert.out | 2 +- .../compiler/compiler/integers/i128/div.out | 2 +- .../compiler/compiler/integers/i128/eq.out | 2 +- .../compiler/compiler/integers/i128/ge.out | 2 +- .../compiler/compiler/integers/i128/gt.out | 2 +- .../compiler/compiler/integers/i128/le.out | 2 +- .../compiler/compiler/integers/i128/lt.out | 2 +- .../compiler/compiler/integers/i128/max.out | 2 +- .../compiler/compiler/integers/i128/min.out | 2 +- .../compiler/compiler/integers/i128/mul.out | 2 +- .../compiler/compiler/integers/i128/ne.out | 2 +- .../compiler/integers/i128/negate.out | 2 +- .../compiler/integers/i128/negate_min.out | 2 +- .../compiler/integers/i128/negate_zero.out | 2 +- .../integers/i128/operator_methods.out | 2 +- .../compiler/compiler/integers/i128/or.out | 2 +- .../compiler/compiler/integers/i128/pow.out | 2 +- .../compiler/compiler/integers/i128/shl.out | 2 +- .../compiler/compiler/integers/i128/shr.out | 2 +- .../compiler/compiler/integers/i128/sub.out | 2 +- .../compiler/integers/i128/ternary.out | 2 +- .../compiler/compiler/integers/i128/xor.out | 2 +- .../compiler/compiler/integers/i16/add.out | 2 +- .../compiler/compiler/integers/i16/and.out | 2 +- .../compiler/integers/i16/console_assert.out | 2 +- .../compiler/compiler/integers/i16/div.out | 2 +- .../compiler/compiler/integers/i16/eq.out | 2 +- .../compiler/compiler/integers/i16/ge.out | 2 +- .../compiler/compiler/integers/i16/gt.out | 2 +- .../compiler/compiler/integers/i16/le.out | 2 +- .../compiler/compiler/integers/i16/lt.out | 2 +- .../compiler/compiler/integers/i16/max.out | 2 +- .../compiler/compiler/integers/i16/min.out | 2 +- .../compiler/compiler/integers/i16/mul.out | 2 +- .../compiler/compiler/integers/i16/ne.out | 2 +- .../compiler/compiler/integers/i16/negate.out | 2 +- .../compiler/integers/i16/negate_min_fail.out | 2 +- .../compiler/integers/i16/negate_zero.out | 2 +- .../integers/i16/operator_methods.out | 2 +- .../compiler/compiler/integers/i16/or.out | 2 +- .../compiler/compiler/integers/i16/pow.out | 2 +- .../compiler/compiler/integers/i16/shl.out | 2 +- .../compiler/compiler/integers/i16/shr.out | 2 +- .../compiler/compiler/integers/i16/sub.out | 2 +- .../compiler/integers/i16/ternary.out | 2 +- .../compiler/compiler/integers/i16/xor.out | 2 +- .../compiler/compiler/integers/i32/add.out | 2 +- .../compiler/compiler/integers/i32/and.out | 2 +- .../compiler/integers/i32/console_assert.out | 2 +- .../compiler/compiler/integers/i32/div.out | 2 +- .../compiler/compiler/integers/i32/eq.out | 2 +- .../compiler/compiler/integers/i32/ge.out | 2 +- .../compiler/compiler/integers/i32/gt.out | 2 +- .../compiler/compiler/integers/i32/le.out | 2 +- .../compiler/compiler/integers/i32/lt.out | 2 +- .../compiler/compiler/integers/i32/max.out | 2 +- .../compiler/compiler/integers/i32/min.out | 2 +- .../compiler/compiler/integers/i32/mul.out | 2 +- .../compiler/compiler/integers/i32/ne.out | 2 +- .../compiler/compiler/integers/i32/negate.out | 2 +- .../compiler/integers/i32/negate_min.out | 2 +- .../compiler/integers/i32/negate_zero.out | 2 +- .../integers/i32/operator_methods.out | 2 +- .../compiler/compiler/integers/i32/or.out | 2 +- .../compiler/compiler/integers/i32/pow.out | 2 +- .../compiler/compiler/integers/i32/shl.out | 2 +- .../compiler/compiler/integers/i32/shr.out | 2 +- .../compiler/compiler/integers/i32/sub.out | 2 +- .../compiler/integers/i32/ternary.out | 2 +- .../compiler/compiler/integers/i32/xor.out | 2 +- .../compiler/compiler/integers/i64/add.out | 2 +- .../compiler/compiler/integers/i64/and.out | 2 +- .../compiler/integers/i64/console_assert.out | 2 +- .../compiler/compiler/integers/i64/div.out | 2 +- .../compiler/compiler/integers/i64/eq.out | 2 +- .../compiler/compiler/integers/i64/ge.out | 2 +- .../compiler/compiler/integers/i64/gt.out | 2 +- .../compiler/compiler/integers/i64/le.out | 2 +- .../compiler/compiler/integers/i64/lt.out | 2 +- .../compiler/compiler/integers/i64/max.out | 2 +- .../compiler/compiler/integers/i64/min.out | 2 +- .../compiler/compiler/integers/i64/mul.out | 2 +- .../compiler/compiler/integers/i64/ne.out | 2 +- .../compiler/compiler/integers/i64/negate.out | 2 +- .../compiler/integers/i64/negate_min.out | 2 +- .../compiler/integers/i64/negate_zero.out | 2 +- .../integers/i64/operator_methods.out | 2 +- .../compiler/compiler/integers/i64/or.out | 2 +- .../compiler/compiler/integers/i64/pow.out | 2 +- .../compiler/compiler/integers/i64/shl.out | 2 +- .../compiler/compiler/integers/i64/shr.out | 2 +- .../compiler/compiler/integers/i64/sub.out | 2 +- .../compiler/integers/i64/ternary.out | 2 +- .../compiler/compiler/integers/i64/xor.out | 2 +- .../compiler/compiler/integers/i8/add.out | 2 +- .../compiler/compiler/integers/i8/and.out | 2 +- .../compiler/integers/i8/console_assert.out | 2 +- .../compiler/compiler/integers/i8/div.out | 2 +- .../compiler/compiler/integers/i8/eq.out | 2 +- .../compiler/compiler/integers/i8/ge.out | 2 +- .../compiler/compiler/integers/i8/gt.out | 2 +- .../compiler/compiler/integers/i8/le.out | 2 +- .../compiler/compiler/integers/i8/lt.out | 2 +- .../compiler/compiler/integers/i8/max.out | 2 +- .../compiler/compiler/integers/i8/min.out | 2 +- .../compiler/compiler/integers/i8/mul.out | 2 +- .../compiler/compiler/integers/i8/ne.out | 2 +- .../compiler/compiler/integers/i8/negate.out | 2 +- .../compiler/integers/i8/negate_min.out | 2 +- .../compiler/integers/i8/negate_zero.out | 2 +- .../compiler/integers/i8/operator_methods.out | 2 +- .../compiler/compiler/integers/i8/or.out | 2 +- .../compiler/compiler/integers/i8/pow.out | 2 +- .../compiler/compiler/integers/i8/shl.out | 2 +- .../compiler/compiler/integers/i8/shr.out | 2 +- .../compiler/compiler/integers/i8/sub.out | 2 +- .../compiler/compiler/integers/i8/ternary.out | 2 +- .../compiler/compiler/integers/i8/xor.out | 2 +- .../compiler/compiler/integers/u128/add.out | 2 +- .../compiler/compiler/integers/u128/and.out | 2 +- .../compiler/integers/u128/console_assert.out | 2 +- .../compiler/compiler/integers/u128/div.out | 2 +- .../compiler/compiler/integers/u128/eq.out | 2 +- .../compiler/compiler/integers/u128/ge.out | 2 +- .../compiler/compiler/integers/u128/gt.out | 2 +- .../compiler/compiler/integers/u128/le.out | 2 +- .../compiler/compiler/integers/u128/lt.out | 2 +- .../compiler/compiler/integers/u128/max.out | 2 +- .../compiler/compiler/integers/u128/min.out | 2 +- .../compiler/compiler/integers/u128/mul.out | 2 +- .../compiler/compiler/integers/u128/ne.out | 2 +- .../integers/u128/operator_methods.out | 2 +- .../compiler/compiler/integers/u128/or.out | 2 +- .../compiler/compiler/integers/u128/pow.out | 2 +- .../compiler/compiler/integers/u128/shl.out | 2 +- .../compiler/compiler/integers/u128/shr.out | 2 +- .../compiler/compiler/integers/u128/sub.out | 2 +- .../compiler/integers/u128/ternary.out | 2 +- .../compiler/compiler/integers/u128/xor.out | 2 +- .../compiler/compiler/integers/u16/add.out | 2 +- .../compiler/compiler/integers/u16/and.out | 2 +- .../compiler/integers/u16/console_assert.out | 2 +- .../compiler/compiler/integers/u16/div.out | 2 +- .../compiler/compiler/integers/u16/eq.out | 2 +- .../compiler/compiler/integers/u16/ge.out | 2 +- .../compiler/compiler/integers/u16/gt.out | 2 +- .../compiler/compiler/integers/u16/le.out | 2 +- .../compiler/compiler/integers/u16/lt.out | 2 +- .../compiler/compiler/integers/u16/max.out | 2 +- .../compiler/compiler/integers/u16/min.out | 2 +- .../compiler/compiler/integers/u16/mul.out | 2 +- .../compiler/compiler/integers/u16/ne.out | 2 +- .../integers/u16/operator_methods.out | 2 +- .../compiler/compiler/integers/u16/or.out | 2 +- .../compiler/compiler/integers/u16/pow.out | 2 +- .../compiler/compiler/integers/u16/shl.out | 2 +- .../compiler/compiler/integers/u16/shr.out | 2 +- .../compiler/compiler/integers/u16/sub.out | 2 +- .../compiler/integers/u16/ternary.out | 2 +- .../compiler/compiler/integers/u16/xor.out | 2 +- .../compiler/compiler/integers/u32/add.out | 2 +- .../compiler/compiler/integers/u32/and.out | 2 +- .../compiler/integers/u32/console_assert.out | 2 +- .../compiler/compiler/integers/u32/div.out | 2 +- .../compiler/compiler/integers/u32/eq.out | 2 +- .../compiler/compiler/integers/u32/ge.out | 2 +- .../compiler/compiler/integers/u32/gt.out | 2 +- .../compiler/compiler/integers/u32/le.out | 2 +- .../compiler/compiler/integers/u32/lt.out | 2 +- .../compiler/compiler/integers/u32/max.out | 2 +- .../compiler/compiler/integers/u32/min.out | 2 +- .../compiler/compiler/integers/u32/mul.out | 2 +- .../compiler/compiler/integers/u32/ne.out | 2 +- .../integers/u32/operator_methods.out | 2 +- .../compiler/compiler/integers/u32/or.out | 2 +- .../compiler/compiler/integers/u32/pow.out | 2 +- .../compiler/compiler/integers/u32/shl.out | 2 +- .../compiler/compiler/integers/u32/shr.out | 2 +- .../compiler/compiler/integers/u32/sub.out | 2 +- .../compiler/integers/u32/ternary.out | 2 +- .../compiler/compiler/integers/u32/xor.out | 2 +- .../compiler/compiler/integers/u64/add.out | 2 +- .../compiler/compiler/integers/u64/and.out | 2 +- .../compiler/integers/u64/console_assert.out | 2 +- .../compiler/compiler/integers/u64/div.out | 2 +- .../compiler/compiler/integers/u64/eq.out | 2 +- .../compiler/compiler/integers/u64/ge.out | 2 +- .../compiler/compiler/integers/u64/gt.out | 2 +- .../compiler/compiler/integers/u64/le.out | 2 +- .../compiler/compiler/integers/u64/lt.out | 2 +- .../compiler/compiler/integers/u64/max.out | 2 +- .../compiler/compiler/integers/u64/min.out | 2 +- .../compiler/compiler/integers/u64/mul.out | 2 +- .../compiler/compiler/integers/u64/ne.out | 2 +- .../integers/u64/operator_methods.out | 2 +- .../compiler/compiler/integers/u64/or.out | 2 +- .../compiler/compiler/integers/u64/pow.out | 2 +- .../compiler/compiler/integers/u64/shl.out | 2 +- .../compiler/compiler/integers/u64/shr.out | 2 +- .../compiler/compiler/integers/u64/sub.out | 2 +- .../compiler/integers/u64/ternary.out | 2 +- .../compiler/compiler/integers/u64/xor.out | 2 +- .../compiler/compiler/integers/u8/add.out | 2 +- .../compiler/compiler/integers/u8/and.out | 2 +- .../compiler/integers/u8/console_assert.out | 2 +- .../compiler/compiler/integers/u8/div.out | 2 +- .../compiler/compiler/integers/u8/eq.out | 2 +- .../compiler/compiler/integers/u8/ge.out | 2 +- .../compiler/compiler/integers/u8/gt.out | 2 +- .../compiler/compiler/integers/u8/le.out | 2 +- .../compiler/compiler/integers/u8/lt.out | 2 +- .../compiler/compiler/integers/u8/max.out | 2 +- .../compiler/compiler/integers/u8/min.out | 2 +- .../compiler/compiler/integers/u8/mul.out | 2 +- .../compiler/compiler/integers/u8/ne.out | 2 +- .../compiler/integers/u8/operator_methods.out | 2 +- .../compiler/compiler/integers/u8/or.out | 2 +- .../compiler/compiler/integers/u8/pow.out | 2 +- .../compiler/compiler/integers/u8/shl.out | 2 +- .../compiler/compiler/integers/u8/shr.out | 2 +- .../compiler/compiler/integers/u8/sub.out | 2 +- .../compiler/compiler/integers/u8/ternary.out | 2 +- .../compiler/compiler/integers/u8/xor.out | 2 +- .../compiler/compiler/mutability/cond_mut.out | 2 +- .../mutability/function_input_mut.out | 2 +- .../compiler/mutability/let_mut_nested.out | 2 +- .../compiler/records/balance_wrong_ty.out | 5 + .../compiler/compiler/records/declaration.out | 2 +- .../records/duplicate_circuit_name_fail.out | 2 +- .../compiler/records/duplicate_var_fail.out | 2 +- .../compiler/records/init_expression.out | 2 +- .../records/init_expression_shorthand.out | 2 +- .../records/init_expression_var_fail.out | 2 +- .../compiler/records/no_owner_fail.out | 2 +- .../compiler/records/owner_wrong_ty.out | 5 + .../compiler/compiler/scalar/add.out | 2 +- .../compiler/compiler/scalar/cmp.out | 2 +- .../compiler/compiler/scalar/div.out | 2 +- .../compiler/compiler/scalar/eq.out | 2 +- .../compiler/compiler/scalar/group_mul.out | 2 +- .../compiler/compiler/scalar/mul.out | 2 +- .../compiler/scalar/operator_methods.out | 2 +- .../compiler/compiler/scalar/scalar.out | 2 +- .../compiler/compiler/scalar/ternary.out | 2 +- .../compiler/statements/all_loops.out | 2 +- .../compiler/compiler/statements/block.out | 2 +- .../compiler/compiler/statements/chain.out | 2 +- .../statements/compare_diff_types_fail.out | 2 +- .../compiler/compiler/statements/for_loop.out | 2 +- .../compiler/statements/iteration_basic.out | 2 +- .../statements/iteration_variable.out | 2 +- .../compiler/statements/multiple_returns.out | 2 +- .../compiler/compiler/statements/mutate.out | 2 +- .../ternary_explicit_and_implicit.out | 2 +- .../parser/expression/literal/comment.out | 1 - .../parser/parser/functions/const_input.out | 1 - .../parser/parser/functions/const_param.out | 1 - .../parser/parser/functions/empty2.out | 1 - .../parser/parser/functions/params.out | 1 - .../parser/parser/functions/params_return.out | 1 - .../parser/parser/functions/public_param.out | 1 - .../parser/parser/functions/return.out | 1 - .../parser/parser/serialize/one_plus_one.out | 1 - 356 files changed, 519 insertions(+), 880 deletions(-) delete mode 100644 compiler/ast/src/records/mod.rs delete mode 100644 compiler/ast/src/records/record.rs delete mode 100644 compiler/ast/src/records/record_variable.rs create mode 100644 tests/compiler/records/balance_wrong_ty.leo create mode 100644 tests/compiler/records/owner_wrong_ty.leo create mode 100644 tests/expectations/compiler/compiler/records/balance_wrong_ty.out create mode 100644 tests/expectations/compiler/compiler/records/owner_wrong_ty.out diff --git a/compiler/ast/src/circuits/circuit.rs b/compiler/ast/src/circuits/circuit.rs index 37cf977c67..cfeee3d2c2 100644 --- a/compiler/ast/src/circuits/circuit.rs +++ b/compiler/ast/src/circuits/circuit.rs @@ -32,6 +32,9 @@ pub struct Circuit { pub identifier: Identifier, /// The fields, constant variables, and functions of this structure. pub members: Vec, + /// Was this a `record Foo { ... }`? + /// If so, it wasn't a circuit. + pub is_record: bool, /// The entire span of the circuit definition. pub span: Span, } @@ -49,9 +52,18 @@ impl Circuit { pub fn name(&self) -> Symbol { self.identifier.name } +} - fn format(&self, f: &mut fmt::Formatter) -> fmt::Result { - writeln!(f, "circuit {} {{ ", self.identifier)?; +impl fmt::Debug for Circuit { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + ::fmt(self, f) + } +} + +impl fmt::Display for Circuit { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + f.write_str(if self.is_record { "record" } else { "circuit" })?; + writeln!(f, " {} {{ ", self.identifier)?; for field in self.members.iter() { writeln!(f, " {}", field)?; } @@ -59,16 +71,4 @@ impl Circuit { } } -impl fmt::Debug for Circuit { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - self.format(f) - } -} - -impl fmt::Display for Circuit { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - self.format(f) - } -} - crate::simple_node_impl!(Circuit); diff --git a/compiler/ast/src/lib.rs b/compiler/ast/src/lib.rs index 8812967757..fa2fd34a5f 100644 --- a/compiler/ast/src/lib.rs +++ b/compiler/ast/src/lib.rs @@ -42,9 +42,6 @@ pub use self::groups::*; pub mod input; pub use self::input::*; -pub mod records; -pub use self::records::*; - pub mod passes; pub use self::passes::*; diff --git a/compiler/ast/src/passes/visitor.rs b/compiler/ast/src/passes/visitor.rs index 5debefbe75..32d53215ab 100644 --- a/compiler/ast/src/passes/visitor.rs +++ b/compiler/ast/src/passes/visitor.rs @@ -117,8 +117,4 @@ pub trait ProgramVisitor<'a> { fn visit_circuit(&mut self, _input: &'a Circuit) -> VisitResult { Default::default() } - - fn visit_record(&mut self, _input: &'a Record) -> VisitResult { - Default::default() - } } diff --git a/compiler/ast/src/passes/visitor_director.rs b/compiler/ast/src/passes/visitor_director.rs index 8eb633da4d..b530102181 100644 --- a/compiler/ast/src/passes/visitor_director.rs +++ b/compiler/ast/src/passes/visitor_director.rs @@ -225,7 +225,6 @@ pub trait ProgramVisitorDirector<'a>: VisitorDirector<'a> + StatementVisitorDire .values() .for_each(|function| self.visit_function(function)); input.circuits.values().for_each(|circuit| self.visit_circuit(circuit)); - input.records.values().for_each(|record| self.visit_record(record)); } } @@ -244,12 +243,4 @@ pub trait ProgramVisitorDirector<'a>: VisitorDirector<'a> + StatementVisitorDire }) } } - - fn visit_record(&mut self, input: &'a Record) { - if let VisitResult::VisitChildren = self.visitor_ref().visit_record(input) { - input.data.iter().for_each(|variable| { - self.visit_identifier(&variable.ident, &Default::default()); - }) - } - } } diff --git a/compiler/ast/src/program.rs b/compiler/ast/src/program.rs index 6e69dd66c0..953b301bc9 100644 --- a/compiler/ast/src/program.rs +++ b/compiler/ast/src/program.rs @@ -17,7 +17,7 @@ //! A Leo program consists of import, circuit, and function definitions. //! Each defined type consists of ast statements and expressions. -use crate::{Circuit, Function, FunctionInput, Identifier, Record}; +use crate::{Circuit, Function, FunctionInput, Identifier}; use indexmap::IndexMap; use serde::{Deserialize, Serialize}; @@ -36,14 +36,6 @@ pub struct Program { pub functions: IndexMap, /// A map from circuit names to circuit definitions. pub circuits: IndexMap, - /// A map from record names to record definitions. - pub records: IndexMap, -} - -impl AsRef for Program { - fn as_ref(&self) -> &Program { - self - } } impl fmt::Display for Program { @@ -56,10 +48,6 @@ impl fmt::Display for Program { circuit.fmt(f)?; writeln!(f,)?; } - for (_, record) in self.records.iter() { - record.fmt(f)?; - writeln!(f,)?; - } write!(f, "") } } @@ -72,17 +60,16 @@ impl Program { expected_input: vec![], functions: IndexMap::new(), circuits: IndexMap::new(), - records: IndexMap::new(), } } /// Extract the name of the program. - pub fn get_name(&self) -> String { - self.name.to_string() + pub fn name(&self) -> &str { + &self.name } /// Sets the name of the program. - pub fn name(mut self, name: String) -> Self { + pub fn set_name(mut self, name: String) -> Self { self.name = name; self } diff --git a/compiler/ast/src/records/mod.rs b/compiler/ast/src/records/mod.rs deleted file mode 100644 index 689569ca40..0000000000 --- a/compiler/ast/src/records/mod.rs +++ /dev/null @@ -1,21 +0,0 @@ -// 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 . - -pub mod record; -pub use record::*; - -pub mod record_variable; -pub use record_variable::*; diff --git a/compiler/ast/src/records/record.rs b/compiler/ast/src/records/record.rs deleted file mode 100644 index 584ca2e24a..0000000000 --- a/compiler/ast/src/records/record.rs +++ /dev/null @@ -1,77 +0,0 @@ -// 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 crate::{Identifier, Node, RecordVariable}; -use leo_span::{Span, Symbol}; - -use serde::{Deserialize, Serialize}; -use std::fmt; - -/// A record type definition. -/// `record Token { owner: address, balance: u64, balance: u64 }`. -/// Records are constructed similar to `circuit` types but with variables specific to Aleo. -#[derive(Clone, Serialize, Deserialize)] -pub struct Record { - /// The name of the type in the type system in this module. - pub identifier: Identifier, - /// The owner of the program record. - pub owner: RecordVariable, - /// The balance of the program record. - pub balance: RecordVariable, - /// The program data, - pub data: Vec, - /// The entire span of the circuit definition. - pub span: Span, -} - -impl PartialEq for Record { - fn eq(&self, other: &Self) -> bool { - self.identifier == other.identifier - } -} - -impl Eq for Record {} - -impl Record { - /// Returns the record name as a Symbol. - pub fn name(&self) -> Symbol { - self.identifier.name - } - - fn format(&self, f: &mut fmt::Formatter) -> fmt::Result { - writeln!(f, "record {} {{ ", self.identifier)?; - writeln!(f, " {}", self.owner)?; - writeln!(f, " {}", self.balance)?; - for var in self.data.iter() { - writeln!(f, " {}", var)?; - } - write!(f, "}}") - } -} - -impl fmt::Debug for Record { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - self.format(f) - } -} - -impl fmt::Display for Record { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - self.format(f) - } -} - -crate::simple_node_impl!(Record); diff --git a/compiler/ast/src/records/record_variable.rs b/compiler/ast/src/records/record_variable.rs deleted file mode 100644 index afefcdfdc3..0000000000 --- a/compiler/ast/src/records/record_variable.rs +++ /dev/null @@ -1,47 +0,0 @@ -// 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 crate::{Identifier, Type}; -use leo_span::Symbol; - -use serde::{Deserialize, Serialize}; -use std::fmt; - -/// A variable definition in a record; -/// For example: `owner: address;`. -#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] -pub struct RecordVariable { - /// The identifier of the constant. - pub ident: Identifier, - /// The type the constant has. - pub type_: Type, -} - -impl RecordVariable { - pub fn new(ident: Identifier, type_: Type) -> Self { - Self { ident, type_ } - } - - pub fn name(&self) -> Symbol { - self.ident.name - } -} - -impl fmt::Display for RecordVariable { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "{}: {}", self.ident, self.type_) - } -} diff --git a/compiler/parser/src/parser/file.rs b/compiler/parser/src/parser/file.rs index 4ad9bba03c..48584f937a 100644 --- a/compiler/parser/src/parser/file.rs +++ b/compiler/parser/src/parser/file.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2022 Aleo Systems Inc. +// Copyr&ight (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 @@ -17,18 +17,17 @@ use super::*; use leo_errors::{ParserError, ParserWarning, Result}; -use leo_span::{sym, Symbol}; +use leo_span::sym; impl ParserContext<'_> { /// Returns a [`Program`] AST if all tokens can be consumed and represent a valid Leo program. pub fn parse_program(&mut self) -> Result { let mut functions = IndexMap::new(); let mut circuits = IndexMap::new(); - let mut records = IndexMap::new(); while self.has_next() { match &self.token.token { - Token::Circuit => { + Token::Circuit | Token::Record => { let (id, circuit) = self.parse_circuit()?; circuits.insert(id, circuit); } @@ -41,11 +40,6 @@ impl ParserContext<'_> { let (id, function) = self.parse_function()?; functions.insert(id, function); } - Token::Record => { - let (id, record) = self.parse_record()?; - records.insert(id, record); - } - _ => return Err(Self::unexpected_item(&self.token).into()), } } @@ -54,7 +48,6 @@ impl ParserContext<'_> { expected_input: Vec::new(), functions, circuits, - records, }) } @@ -157,9 +150,10 @@ impl ParserContext<'_> { } } - /// Returns an [`(Identifier, Circuit)`] ast node if the next tokens represent a circuit declaration. + /// Parses a circuit or record definition, e.g., `circit Foo { ... }` or `record Foo { ... }`. pub(super) fn parse_circuit(&mut self) -> Result<(Identifier, Circuit)> { - let start = self.expect(&Token::Circuit)?; + let is_record = matches!(&self.token.token, Token::Record); + let start = self.expect_any(&[Token::Circuit, Token::Record])?; let circuit_name = self.expect_ident()?; self.expect(&Token::LeftCurly)?; @@ -170,93 +164,7 @@ impl ParserContext<'_> { Circuit { identifier: circuit_name, members, - span: start + end, - }, - )) - } - - /// Parse the member name and type or emit an error. - /// Only used for `record` type. - /// We complete this check at parse time rather than during type checking to enforce - /// ordering, naming, and type as early as possible for program records. - fn parse_record_variable_exact(&mut self, expected_name: Symbol, expected_type: Type) -> Result { - let actual_name = self.expect_ident()?; - self.expect(&Token::Colon)?; - let actual_type = self.parse_all_types()?.0; - - if expected_name != actual_name.name || expected_type != actual_type { - self.emit_err(ParserError::required_record_variable( - expected_name, - expected_type, - actual_name.span(), - )); - } - - // Emit an error for a record variable without an ending comma or semicolon. - if !(self.eat(&Token::Comma) || self.eat(&Token::Semicolon)) { - self.emit_err(ParserError::expected_ending_comma_or_semicolon(actual_name.span())); - } - - Ok(RecordVariable::new(actual_name, actual_type)) - } - - /// Returns a [`RecordVariable`] AST node if the next tokens represent a record variable. - pub fn parse_record_variable(&mut self) -> Result { - let (ident, type_) = self.parse_member()?; - - Ok(RecordVariable::new(ident, type_)) - } - - /// Returns a [`Vec`] AST node if the next tokens represent one or more - /// user defined record variables. - pub fn parse_record_data(&mut self) -> Result<(Vec, Span)> { - let mut data = Vec::new(); - - let (mut semi_colons, mut commas) = (false, false); - while !self.check(&Token::RightCurly) { - data.push({ - let variable = self.parse_record_variable()?; - - if self.eat(&Token::Semicolon) { - if commas { - self.emit_err(ParserError::mixed_commas_and_semicolons(self.token.span)); - } - semi_colons = true; - } - - if self.eat(&Token::Comma) { - if semi_colons { - self.emit_err(ParserError::mixed_commas_and_semicolons(self.token.span)); - } - commas = true; - } - - variable - }); - } - - let span = self.expect(&Token::RightCurly)?; - - Ok((data, span)) - } - - /// Returns an [`(Identifier, Record)`] ast node if the next tokens represent a record declaration. - pub(super) fn parse_record(&mut self) -> Result<(Identifier, Record)> { - let start = self.expect(&Token::Record)?; - let record_name = self.expect_ident()?; - - self.expect(&Token::LeftCurly)?; - let owner = self.parse_record_variable_exact(sym::owner, Type::Address)?; - let balance = self.parse_record_variable_exact(sym::balance, Type::IntegerType(IntegerType::U64))?; - let (data, end) = self.parse_record_data()?; - - Ok(( - record_name, - Record { - identifier: record_name, - owner, - balance, - data, + is_record, span: start + end, }, )) diff --git a/compiler/passes/src/symbol_table/create.rs b/compiler/passes/src/symbol_table/create.rs index bd537484db..c13fc8c0e0 100644 --- a/compiler/passes/src/symbol_table/create.rs +++ b/compiler/passes/src/symbol_table/create.rs @@ -54,11 +54,4 @@ impl<'a> ProgramVisitor<'a> for CreateSymbolTable<'a> { } VisitResult::SkipChildren } - - fn visit_record(&mut self, input: &'a Record) -> VisitResult { - if let Err(err) = self.symbol_table.insert_record(input.name(), input) { - self.handler.emit_err(err); - } - VisitResult::SkipChildren - } } diff --git a/compiler/passes/src/symbol_table/table.rs b/compiler/passes/src/symbol_table/table.rs index e8e494bb42..52a1c9cd7a 100644 --- a/compiler/passes/src/symbol_table/table.rs +++ b/compiler/passes/src/symbol_table/table.rs @@ -16,7 +16,7 @@ use std::fmt::Display; -use leo_ast::{Circuit, Function, Record}; +use leo_ast::{Circuit, Function}; use leo_errors::{AstError, Result}; use leo_span::{Span, Symbol}; @@ -32,9 +32,6 @@ pub struct SymbolTable<'a> { /// Maps circuit names to circuit definitions. /// This field is populated at a first pass. circuits: IndexMap, - /// Maps record names to record definitions. - /// This field is populated at a first pass. - records: IndexMap, /// Variables represents functions variable definitions and input variables. /// This field is not populated till necessary. pub(crate) variables: VariableScope<'a>, @@ -61,31 +58,19 @@ impl<'a> SymbolTable<'a> { } pub fn insert_circuit(&mut self, symbol: Symbol, insert: &'a Circuit) -> Result<()> { - if self.circuits.contains_key(&symbol) { - // Return an error if the circuit name has already been inserted. - return Err(AstError::shadowed_circuit(symbol, insert.span).into()); - } - if self.records.contains_key(&symbol) { - // Return an error if the record name has already been inserted. - return Err(AstError::shadowed_record(symbol, insert.span).into()); + if let Some(existing) = self.circuits.get(&symbol) { + // Error if the circuit or record already exists. + let err = if existing.is_record { + AstError::shadowed_record(symbol, insert.span).into() + } else { + AstError::shadowed_circuit(symbol, insert.span).into() + }; + return Err(err); } self.circuits.insert(symbol, insert); Ok(()) } - pub fn insert_record(&mut self, symbol: Symbol, insert: &'a Record) -> Result<()> { - if self.circuits.contains_key(&symbol) { - // Return an error if the circuit name has already been inserted. - return Err(AstError::shadowed_circuit(symbol, insert.span).into()); - } - if self.records.contains_key(&symbol) { - // Return an error if the record name has already been inserted. - return Err(AstError::shadowed_record(symbol, insert.span).into()); - } - self.records.insert(symbol, insert); - Ok(()) - } - pub fn insert_variable(&mut self, symbol: Symbol, insert: VariableSymbol<'a>) -> Result<()> { self.check_shadowing(symbol, insert.span)?; self.variables.variables.insert(symbol, insert); @@ -100,10 +85,6 @@ impl<'a> SymbolTable<'a> { self.circuits.get(symbol) } - pub fn lookup_record(&self, symbol: &Symbol) -> Option<&&'a Record> { - self.records.get(symbol) - } - pub fn lookup_variable(&self, symbol: &Symbol) -> Option<&VariableSymbol<'a>> { self.variables.lookup_variable(symbol) } @@ -123,7 +104,7 @@ impl<'a> SymbolTable<'a> { } } -impl<'a> Display for SymbolTable<'a> { +impl Display for SymbolTable<'_> { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { write!(f, "SymbolTable")?; @@ -135,10 +116,6 @@ impl<'a> Display for SymbolTable<'a> { write!(f, "{circ}")?; } - for rec in self.records.values() { - write!(f, "{rec}")?; - } - write!(f, "{}", self.variables) } } diff --git a/compiler/passes/src/type_checker/check_expressions.rs b/compiler/passes/src/type_checker/check_expressions.rs index c3b01d6802..b8d3509e97 100644 --- a/compiler/passes/src/type_checker/check_expressions.rs +++ b/compiler/passes/src/type_checker/check_expressions.rs @@ -71,18 +71,11 @@ impl<'a> ExpressionVisitorDirector<'a> for Director<'a> { expected, circuit.span(), )); - } else if let Some(record) = self.visitor.symbol_table.clone().lookup_record(&var.name) { - return Some(self.visitor.assert_expected_option( - Type::Identifier(record.identifier), - expected, - record.span(), - )); } else if let Some(var) = self.visitor.symbol_table.clone().lookup_variable(&var.name) { return Some(self.visitor.assert_expected_option(*var.type_, expected, var.span)); } else { self.visitor - .handler - .emit_err(TypeCheckerError::unknown_sym("variable", var.name, var.span()).into()); + .emit_err(TypeCheckerError::unknown_sym("variable", var.name, var.span())); }; } @@ -108,58 +101,35 @@ impl<'a> ExpressionVisitorDirector<'a> for Director<'a> { self.visitor.assert_expected_option(Type::Field, expected, input.span()) } LiteralExpression::Integer(type_, str_content, _) => { + let check_int_parsed = |ok, int, ty| { + if ok { + self.visitor + .emit_err(TypeCheckerError::invalid_int_value(int, ty, input.span())) + } + }; + let maybe_negate = || { + if self.visitor.negate { + format!("-{str_content}") + } else { + str_content.clone() + } + }; match type_ { IntegerType::I8 => { - let int = if self.visitor.negate { - format!("-{str_content}") - } else { - str_content.clone() - }; - - if int.parse::().is_err() { - self.visitor - .handler - .emit_err(TypeCheckerError::invalid_int_value(int, "i8", input.span()).into()); - } + let int = maybe_negate(); + check_int_parsed(int.parse::().is_err(), &int, "i8"); } IntegerType::I16 => { - let int = if self.visitor.negate { - format!("-{str_content}") - } else { - str_content.clone() - }; - - if int.parse::().is_err() { - self.visitor - .handler - .emit_err(TypeCheckerError::invalid_int_value(int, "i16", input.span()).into()); - } + let int = maybe_negate(); + check_int_parsed(int.parse::().is_err(), &int, "i16"); } IntegerType::I32 => { - let int = if self.visitor.negate { - format!("-{str_content}") - } else { - str_content.clone() - }; - - if int.parse::().is_err() { - self.visitor - .handler - .emit_err(TypeCheckerError::invalid_int_value(int, "i32", input.span()).into()); - } + let int = maybe_negate(); + check_int_parsed(int.parse::().is_err(), &int, "i32"); } IntegerType::I64 => { - let int = if self.visitor.negate { - format!("-{str_content}") - } else { - str_content.clone() - }; - - if int.parse::().is_err() { - self.visitor - .handler - .emit_err(TypeCheckerError::invalid_int_value(int, "i64", input.span()).into()); - } + let int = maybe_negate(); + check_int_parsed(int.parse::().is_err(), &int, "i64"); } IntegerType::I128 => { let int = if self.visitor.negate { @@ -168,33 +138,15 @@ impl<'a> ExpressionVisitorDirector<'a> for Director<'a> { str_content.clone() }; - if int.parse::().is_err() { - self.visitor - .handler - .emit_err(TypeCheckerError::invalid_int_value(int, "i128", input.span()).into()); - } + check_int_parsed(int.parse::().is_err(), &int, "i128"); + } + IntegerType::U8 => check_int_parsed(str_content.parse::().is_err(), &str_content, "u8"), + IntegerType::U16 => check_int_parsed(str_content.parse::().is_err(), &str_content, "u16"), + IntegerType::U32 => check_int_parsed(str_content.parse::().is_err(), &str_content, "u32"), + IntegerType::U64 => check_int_parsed(str_content.parse::().is_err(), &str_content, "u64"), + IntegerType::U128 => { + check_int_parsed(str_content.parse::().is_err(), &str_content, "u128") } - IntegerType::U8 if str_content.parse::().is_err() => self - .visitor - .handler - .emit_err(TypeCheckerError::invalid_int_value(str_content, "u8", input.span()).into()), - IntegerType::U16 if str_content.parse::().is_err() => self - .visitor - .handler - .emit_err(TypeCheckerError::invalid_int_value(str_content, "u16", input.span()).into()), - IntegerType::U32 if str_content.parse::().is_err() => self - .visitor - .handler - .emit_err(TypeCheckerError::invalid_int_value(str_content, "u32", input.span()).into()), - IntegerType::U64 if str_content.parse::().is_err() => self - .visitor - .handler - .emit_err(TypeCheckerError::invalid_int_value(str_content, "u64", input.span()).into()), - IntegerType::U128 if str_content.parse::().is_err() => self - .visitor - .handler - .emit_err(TypeCheckerError::invalid_int_value(str_content, "u128", input.span()).into()), - _ => {} } self.visitor .assert_expected_option(Type::IntegerType(*type_), expected, input.span()) @@ -223,14 +175,11 @@ impl<'a> ExpressionVisitorDirector<'a> for Director<'a> { if let Some(core_instruction) = self.visitor.assert_core_circuit_call(&access.ty, &access.name) { // Check num input arguments. if core_instruction.num_args() != access.args.len() { - self.visitor.handler.emit_err( - TypeCheckerError::incorrect_num_args_to_call( - core_instruction.num_args(), - access.args.len(), - input.span(), - ) - .into(), - ); + self.visitor.emit_err(TypeCheckerError::incorrect_num_args_to_call( + core_instruction.num_args(), + access.args.len(), + input.span(), + )); } // Check first argument type. @@ -261,8 +210,7 @@ impl<'a> ExpressionVisitorDirector<'a> for Director<'a> { )); } else { self.visitor - .handler - .emit_err(TypeCheckerError::invalid_access_expression(access, access.span()).into()); + .emit_err(TypeCheckerError::invalid_access_expression(access, access.span())); } } _expr => {} // todo: Add support for associated constants (u8::MAX). @@ -542,8 +490,7 @@ impl<'a> ExpressionVisitorDirector<'a> for Director<'a> { ) => {} Some(t) => self .visitor - .handler - .emit_err(TypeCheckerError::type_is_not_negatable(t, input.receiver.span()).into()), + .emit_err(TypeCheckerError::type_is_not_negatable(t, input.receiver.span())), _ => {} }; return type_; @@ -595,14 +542,11 @@ impl<'a> ExpressionVisitorDirector<'a> for Director<'a> { // Check number of function arguments. if func.input.len() != input.arguments.len() { - self.visitor.handler.emit_err( - TypeCheckerError::incorrect_num_args_to_call( - func.input.len(), - input.arguments.len(), - input.span(), - ) - .into(), - ); + self.visitor.emit_err(TypeCheckerError::incorrect_num_args_to_call( + func.input.len(), + input.arguments.len(), + input.span(), + )); } // Check function argument types. @@ -616,8 +560,7 @@ impl<'a> ExpressionVisitorDirector<'a> for Director<'a> { Some(ret) } else { self.visitor - .handler - .emit_err(TypeCheckerError::unknown_sym("function", &ident.name, ident.span()).into()); + .emit_err(TypeCheckerError::unknown_sym("function", &ident.name, ident.span())); None } } @@ -631,57 +574,7 @@ impl<'a> ExpressionVisitorDirector<'a> for Director<'a> { additional: &Self::AdditionalInput, ) -> Option { // Type check record init expression. - if let Some(expected) = self.visitor.symbol_table.clone().lookup_record(&input.name.name) { - // Check record type name. - let ret = self - .visitor - .assert_expected_circuit(expected.identifier, additional, input.name.span()); - - // Check number of record data variables. - if expected.data.len() != input.members.len() - 2 { - self.visitor.handler.emit_err( - TypeCheckerError::incorrect_num_record_variables( - expected.data.len(), - input.members.len(), - input.span(), - ) - .into(), - ); - } - - // Check record variable types. - input.members.iter().for_each(|actual| { - if actual.identifier.matches(&expected.owner.ident) { - // Check record owner. - if let Some(owner_expr) = &actual.expression { - self.visit_expression(owner_expr, &Some(Type::Address)); - } - } else if actual.identifier.matches(&expected.balance.ident) { - // Check record balance. - if let Some(balance_expr) = &actual.expression { - self.visit_expression(balance_expr, &Some(Type::IntegerType(IntegerType::U64))); - } - } else if let Some(expected_var) = expected - .data - .iter() - .find(|member| member.ident.matches(&actual.identifier)) - { - // Check record data variable. - if let Some(var_expr) = &actual.expression { - self.visit_expression(var_expr, &Some(expected_var.type_)); - } - } else { - self.visitor.handler.emit_err( - TypeCheckerError::unknown_sym("record variable", actual.identifier, actual.identifier.span()) - .into(), - ); - } - }); - - Some(ret) - } else if let Some(circ) = self.visitor.symbol_table.clone().lookup_circuit(&input.name.name) { - // Type check circuit init expression. - + if let Some(circ) = self.visitor.symbol_table.clone().lookup_circuit(&input.name.name) { // Check circuit type name. let ret = self .visitor @@ -700,26 +593,28 @@ impl<'a> ExpressionVisitorDirector<'a> for Director<'a> { } // Check circuit member types. - circ.members.iter().for_each(|expected| match expected { - CircuitMember::CircuitVariable(name, type_) => { + 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(*type_)); + self.visit_expression(expr, &Some(*ty)); } } else { self.visitor.handler.emit_err( TypeCheckerError::unknown_sym("circuit member variable", name, name.span()).into(), ); }; - } - }); + }); Some(ret) } else { - self.visitor - .handler - .emit_err(TypeCheckerError::unknown_sym("circuit", &input.name.name, input.name.span()).into()); + self.visitor.emit_err(TypeCheckerError::unknown_sym( + "circuit or record", + &input.name.name, + input.name.span(), + )); None } } diff --git a/compiler/passes/src/type_checker/check_file.rs b/compiler/passes/src/type_checker/check_file.rs index fa4c8e136f..efa460b8f2 100644 --- a/compiler/passes/src/type_checker/check_file.rs +++ b/compiler/passes/src/type_checker/check_file.rs @@ -18,6 +18,7 @@ use super::director::Director; use crate::{Declaration, TypeChecker, VariableSymbol}; use leo_ast::*; use leo_errors::TypeCheckerError; +use leo_span::sym; use std::collections::HashSet; @@ -60,23 +61,35 @@ impl<'a> ProgramVisitorDirector<'a> for Director<'a> { // Check for conflicting circuit member names. let mut used = HashSet::new(); if !input.members.iter().all(|member| used.insert(member.name())) { - self.visitor - .handler - .emit_err(TypeCheckerError::duplicate_circuit_member(input.name(), input.span()).into()); + self.visitor.emit_err(if input.is_record { + TypeCheckerError::duplicate_record_variable(input.name(), input.span()) + } else { + TypeCheckerError::duplicate_circuit_member(input.name(), input.span()) + }); } - } - } - fn visit_record(&mut self, input: &'a Record) { - if let VisitResult::VisitChildren = self.visitor_ref().visit_record(input) { - // Check for conflicting record member names. - let mut used = HashSet::new(); - used.insert(input.owner.ident.name); - used.insert(input.balance.ident.name); - if !input.data.iter().all(|member| used.insert(member.name())) { - self.visitor - .handler - .emit_err(TypeCheckerError::duplicate_record_variable(input.name(), input.span()).into()); + // For records, enforce presence of `owner: Address` and `balance: u64` fields. + if input.is_record { + let check_has_field = |need, expected_ty: Type| match input + .members + .iter() + .find_map(|CircuitMember::CircuitVariable(v, t)| (v.name == need).then(|| (v, t))) + { + Some((_, actual_ty)) if expected_ty.eq_flat(actual_ty) => {} // All good, found + right type! + Some((field, _)) => { + self.visitor + .emit_err(TypeCheckerError::record_var_wrong_type(field, expected_ty, field.span)) + } + None => { + self.visitor.emit_err(TypeCheckerError::required_record_variable( + need, + expected_ty, + input.span(), + )); + } + }; + check_has_field(sym::owner, Type::Address); + check_has_field(sym::balance, Type::IntegerType(IntegerType::U64)); } } } diff --git a/compiler/passes/src/type_checker/checker.rs b/compiler/passes/src/type_checker/checker.rs index 79c902f6c2..4f8670a997 100644 --- a/compiler/passes/src/type_checker/checker.rs +++ b/compiler/passes/src/type_checker/checker.rs @@ -103,12 +103,16 @@ impl<'a> TypeChecker<'a> { } } + /// Emits a type checker error. + pub(crate) fn emit_err(&self, err: TypeCheckerError) { + self.handler.emit_err(err.into()); + } + /// Emits an error if the given type conflicts with a core library type. pub(crate) fn check_ident_type(&self, type_: &Option) { if let Some(Type::Identifier(ident)) = type_ { if self.account_types.contains(&ident.name) || self.algorithms_types.contains(&ident.name) { - self.handler - .emit_err(TypeCheckerError::core_type_name_conflict(&ident.name, ident.span()).into()); + self.emit_err(TypeCheckerError::core_type_name_conflict(&ident.name, ident.span())); } } } @@ -121,9 +125,11 @@ impl<'a> TypeChecker<'a> { match CoreInstruction::from_symbols(ident.name, function.name) { None => { // Not a core library circuit. - self.handler.emit_err( - TypeCheckerError::invalid_core_instruction(&ident.name, function.name, ident.span()).into(), - ); + self.emit_err(TypeCheckerError::invalid_core_instruction( + &ident.name, + function.name, + ident.span(), + )); } Some(core_circuit) => return Some(core_circuit), } @@ -134,12 +140,10 @@ impl<'a> TypeChecker<'a> { /// Emits an error if the two given types are not equal. pub(crate) fn assert_eq_types(&self, t1: Option, t2: Option, span: Span) { match (t1, t2) { - (Some(t1), Some(t2)) if t1 != t2 => self - .handler - .emit_err(TypeCheckerError::type_should_be(t1, t2, span).into()), - (Some(type_), None) | (None, Some(type_)) => self - .handler - .emit_err(TypeCheckerError::type_should_be("no type", type_, span).into()), + (Some(t1), Some(t2)) if t1 != t2 => self.emit_err(TypeCheckerError::type_should_be(t1, t2, span)), + (Some(type_), None) | (None, Some(type_)) => { + self.emit_err(TypeCheckerError::type_should_be("no type", type_, span)) + } _ => {} } } @@ -148,8 +152,7 @@ impl<'a> TypeChecker<'a> { pub(crate) fn assert_expected_circuit(&mut self, circuit: Identifier, expected: &Option, span: Span) -> Type { if let Some(Type::Identifier(expected)) = expected { if !circuit.matches(expected) { - self.handler - .emit_err(TypeCheckerError::type_should_be(circuit.name, expected.name, span).into()); + self.emit_err(TypeCheckerError::type_should_be(circuit.name, expected.name, span)); } } @@ -160,8 +163,7 @@ impl<'a> TypeChecker<'a> { pub(crate) fn assert_expected_option(&mut self, actual: Type, expected: &Option, span: Span) -> Type { if let Some(expected) = expected { if !actual.eq_flat(expected) { - self.handler - .emit_err(TypeCheckerError::type_should_be(actual, expected, span).into()); + self.emit_err(TypeCheckerError::type_should_be(actual, expected, span)); } } @@ -173,8 +175,7 @@ impl<'a> TypeChecker<'a> { pub(crate) fn assert_expected_type(&mut self, actual: &Option, expected: Type, span: Span) -> Type { if let Some(actual) = actual { if !actual.eq_flat(&expected) { - self.handler - .emit_err(TypeCheckerError::type_should_be(actual, expected, span).into()); + self.emit_err(TypeCheckerError::type_should_be(actual, expected, span)); } } @@ -185,14 +186,11 @@ impl<'a> TypeChecker<'a> { pub(crate) fn assert_one_of_types(&self, type_: &Option, expected: &[Type], span: Span) { if let Some(type_) = type_ { if !expected.iter().any(|t: &Type| t == type_) { - self.handler.emit_err( - TypeCheckerError::expected_one_type_of( - expected.iter().map(|t| t.to_string() + ",").collect::(), - type_, - span, - ) - .into(), - ); + self.emit_err(TypeCheckerError::expected_one_type_of( + expected.iter().map(|t| t.to_string() + ",").collect::(), + type_, + span, + )); } } } diff --git a/leo/errors/src/errors/parser/parser_errors.rs b/leo/errors/src/errors/parser/parser_errors.rs index eef87cd0fb..52bddb044f 100644 --- a/leo/errors/src/errors/parser/parser_errors.rs +++ b/leo/errors/src/errors/parser/parser_errors.rs @@ -389,18 +389,4 @@ create_messages!( msg: format!("Invalid associated access call to circuit {name}."), help: Some("Double colon `::` syntax is only supported for core circuits in Leo for testnet3.".to_string()), } - - @formatted - required_record_variable { - args: (name: impl Display, type_: impl Display), - msg: format!("The `record` type requires the variable `{name}: {type_}` and enforces ordering."), - help: None, - } - - @formatted - expected_ending_comma_or_semicolon { - args: (), - msg: "Expected an ending comma or semicolon for the record variable.", - help: None, - } ); diff --git a/leo/errors/src/errors/type_checker/type_checker_error.rs b/leo/errors/src/errors/type_checker/type_checker_error.rs index 6c8992c2b1..159b056161 100644 --- a/leo/errors/src/errors/type_checker/type_checker_error.rs +++ b/leo/errors/src/errors/type_checker/type_checker_error.rs @@ -250,4 +250,18 @@ create_messages!( ), help: None, } + + @formatted + required_record_variable { + args: (name: impl Display, type_: impl Display), + msg: format!("The `record` type requires the variable `{name}: {type_}`."), + help: None, + } + + @formatted + record_var_wrong_type { + args: (name: impl Display, type_: impl Display), + msg: format!("The field `{name}` in a `record` must have type `{type_}`."), + help: None, + } ); diff --git a/tests/compiler/records/balance_wrong_ty.leo b/tests/compiler/records/balance_wrong_ty.leo new file mode 100644 index 0000000000..4e87e8f377 --- /dev/null +++ b/tests/compiler/records/balance_wrong_ty.leo @@ -0,0 +1,14 @@ +/* +namespace: Compile +expectation: Fail +*/ + +// This record does define the `balance` variable but with the wrong type. +record Token { + balance: address, + owner: address, +} + +function main() -> bool { + return true; +} diff --git a/tests/compiler/records/owner_wrong_ty.leo b/tests/compiler/records/owner_wrong_ty.leo new file mode 100644 index 0000000000..70d2b76f8a --- /dev/null +++ b/tests/compiler/records/owner_wrong_ty.leo @@ -0,0 +1,14 @@ +/* +namespace: Compile +expectation: Fail +*/ + +// This record does define the `owner` variable but with the wrong type. +record Token { + balance: u64, + owner: bool, +} + +function main() -> bool { + return true; +} diff --git a/tests/expectations/compiler/compiler/address/binary.out b/tests/expectations/compiler/compiler/address/binary.out index 5f1af1bc34..956784da34 100644 --- a/tests/expectations/compiler/compiler/address/binary.out +++ b/tests/expectations/compiler/compiler/address/binary.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: fe880c907d0257c9fc8314b8b98cabd8a8282b587d2d618408cc3cd8e528fda5 - initial_ast: e2caabe6c1708ef95225bf5947a666d3e489f94215117b5050dd4202ba3ff3a9 + initial_ast: d2bf8199011f00bef93c6cec36528966c69908982ea4a6f2e515c98c258edf25 symbol_table: b736692dc7bdc91c5a808a20a3965f4c8ed2c46c212696d33fc6dd4cfc9a5844 diff --git a/tests/expectations/compiler/compiler/address/branch.out b/tests/expectations/compiler/compiler/address/branch.out index 127d989613..3f18c782ed 100644 --- a/tests/expectations/compiler/compiler/address/branch.out +++ b/tests/expectations/compiler/compiler/address/branch.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 00f5aba05e4efae5a125eb52f02f16400132085b8a34919d910aa40c6c405a22 - initial_ast: e0b6a5faadc52c8c0f81850d1ffdd889f229301f89d511503f9999bd09bb9463 + initial_ast: d9baeb1448040c61f5e7f779270eb767a29b5f2fd23a60a680aad138327999e7 symbol_table: a712053d471b6165809fc2b4f717282ea5590a2cfaeae8a630c8a3250478d179 diff --git a/tests/expectations/compiler/compiler/address/equal.out b/tests/expectations/compiler/compiler/address/equal.out index c9748b69d9..f3449a1433 100644 --- a/tests/expectations/compiler/compiler/address/equal.out +++ b/tests/expectations/compiler/compiler/address/equal.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 03e9df3bd1409f4af9e2a7f55130bc52f27d41f32a624ffa27f0ab114bf6fbf4 - initial_input_ast: 9a0d83e67799f28ec6613d9aac9d921aea81eebb68c9682de33c69036c4a924f - initial_ast: 1c191fd2bc0302809f84fc31c9828eff30f33cab85bf8665f5801d2d8315712f + initial_ast: ea3c9a73110ccc7684863543cf563ec78349402c460a75317b776af11d46f781 symbol_table: 18395a136ea969d319cc4c12c59bb7a590a1b11339375240700d7c87f26b1d5d diff --git a/tests/expectations/compiler/compiler/address/ternary.out b/tests/expectations/compiler/compiler/address/ternary.out index d231d27fa0..f7324d45dc 100644 --- a/tests/expectations/compiler/compiler/address/ternary.out +++ b/tests/expectations/compiler/compiler/address/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: ec3cfeb93ea66a530150a5c5e2bd396688b3ef9b9fb0bcb961c62dac4daa064e - initial_input_ast: cb1d48114c10b2b732ad47a46fc8d05bf7a3e783da89e7f00065244bfc8d15c8 - initial_ast: 5fa0a8b58bfa8572a2caf832f8773bad1d00edefdfb518299f4128c42fda155b + initial_ast: 1bbe35b9a1a767668b4ff0d689873caded5d92ea7886aad2355a404511d76199 symbol_table: 82f5e85488d21fdf066d318b2c31504f4fd77b98747286b4a030c2e2a568e5d6 diff --git a/tests/expectations/compiler/compiler/boolean/and.out b/tests/expectations/compiler/compiler/boolean/and.out index bcc783ed4e..507db8d403 100644 --- a/tests/expectations/compiler/compiler/boolean/and.out +++ b/tests/expectations/compiler/compiler/boolean/and.out @@ -7,5 +7,5 @@ outputs: - initial_input_ast: 5f19f0086b0509628dc64db0f69000d599bc761cb8e3125144de44367081126a - initial_input_ast: 4c5eeffd0306b20c8deece509782b81ea8583245f650e40a4a300d517f6ed5f4 - initial_input_ast: a56b3f9908dec2acaed302691d4fe0c2cf046f0deb8f188f617e042e75502f71 - initial_ast: 00b2f1400c68849a8ed3dcc7f3012ed02b2607ba2b257524bea40adb7476e593 + initial_ast: 8e4ab3450ec4ffbdba78fc0e1450c319bf538fd716af967419c8ce116ccd3d0e symbol_table: 85ba598c10628c776b426b4ff60a5c7ea7d1d58211763c0b088f87965529c12f diff --git a/tests/expectations/compiler/compiler/boolean/conditional.out b/tests/expectations/compiler/compiler/boolean/conditional.out index d317955ab5..dc5428dc6c 100644 --- a/tests/expectations/compiler/compiler/boolean/conditional.out +++ b/tests/expectations/compiler/compiler/boolean/conditional.out @@ -7,5 +7,5 @@ outputs: - initial_input_ast: 9af3ce639269ea18073cb3b1a19520ba98f0484a04b20526584131d18c54712c - initial_input_ast: 7a1c39dec2388ab801496ceb17ca85665d2f515269929925b7cc9018e14297ea - initial_input_ast: 650984ca5077d11a815889421656b7735b4c6bd320bdf68b4deb87dfc0f49388 - initial_ast: d2bdf2449c1bd23e879a7d6ba2c58515a1420a317526294839a1410d2e114168 + initial_ast: d84cf01e1fddeb09983dc4f7e868ae999b7b9ab4dff9d4286108f81aefe80677 symbol_table: 4fd4e476609947028fbffe357ffb9d962e96c30a9abe3677d75675ae37b12587 diff --git a/tests/expectations/compiler/compiler/boolean/equal.out b/tests/expectations/compiler/compiler/boolean/equal.out index b2978f254d..b5ee5d7086 100644 --- a/tests/expectations/compiler/compiler/boolean/equal.out +++ b/tests/expectations/compiler/compiler/boolean/equal.out @@ -7,5 +7,5 @@ outputs: - initial_input_ast: 5f19f0086b0509628dc64db0f69000d599bc761cb8e3125144de44367081126a - initial_input_ast: 4c5eeffd0306b20c8deece509782b81ea8583245f650e40a4a300d517f6ed5f4 - initial_input_ast: a56b3f9908dec2acaed302691d4fe0c2cf046f0deb8f188f617e042e75502f71 - initial_ast: 8fde46543fe81a7623e1ee1eb11c7eac29fb7e0488fe157c88da07b18859417b + initial_ast: d135ca0877ca63f6c31be572178a69508de9cfb81e258c4aec425861241f84c3 symbol_table: ffcddad7271fd96b863ba3f1446dd9c0021f3fb4ead31942fac8de11d5af1817 diff --git a/tests/expectations/compiler/compiler/boolean/not_equal.out b/tests/expectations/compiler/compiler/boolean/not_equal.out index 2bbc4671f0..d8f207407c 100644 --- a/tests/expectations/compiler/compiler/boolean/not_equal.out +++ b/tests/expectations/compiler/compiler/boolean/not_equal.out @@ -7,5 +7,5 @@ outputs: - initial_input_ast: 5f19f0086b0509628dc64db0f69000d599bc761cb8e3125144de44367081126a - initial_input_ast: 4c5eeffd0306b20c8deece509782b81ea8583245f650e40a4a300d517f6ed5f4 - initial_input_ast: a56b3f9908dec2acaed302691d4fe0c2cf046f0deb8f188f617e042e75502f71 - initial_ast: 8c0760e391f8af7ed63dc70d0919bfe445ef27fe52cbb35c8d21ffd97890d3ae + initial_ast: 42cf44d6821d7bd9d2c0222d2a673df9ff9c199f583e79a8b15b8eec53e2aea0 symbol_table: 99728cc6a571e63083031cb630c010cd10c32360086df0494297645d08cf82c2 diff --git a/tests/expectations/compiler/compiler/boolean/operator_methods.out b/tests/expectations/compiler/compiler/boolean/operator_methods.out index 687838dde1..82a976161b 100644 --- a/tests/expectations/compiler/compiler/boolean/operator_methods.out +++ b/tests/expectations/compiler/compiler/boolean/operator_methods.out @@ -7,5 +7,5 @@ outputs: - initial_input_ast: 3254bbbc78ad3eec1c6667ade0b3d3da5ee17c7e569118cc1c771ba607e79ab0 - initial_input_ast: 19f1be52a19445695f23724e1979b362dd3fcf31aace997c829e2206dc1cccbe - initial_input_ast: d2fc1992beaf062678bbf6c3e862820dbbea39926589afcdc46c19c8669f0e37 - initial_ast: 854219c40e7c2c0fe84abfb14e8646eb41535ce51728dbd381b1762189f719b4 + initial_ast: b8707d1d3f6c111db2515d4093d15b4739765bfb9e114ed345ebedce0c04024d symbol_table: e6f7abfd330837d1c643b6b7465c02333b1c895e3e6f624085e8e956ab6e5fe5 diff --git a/tests/expectations/compiler/compiler/boolean/or.out b/tests/expectations/compiler/compiler/boolean/or.out index 6e3c2080b6..2108b895f9 100644 --- a/tests/expectations/compiler/compiler/boolean/or.out +++ b/tests/expectations/compiler/compiler/boolean/or.out @@ -7,5 +7,5 @@ outputs: - initial_input_ast: 5f19f0086b0509628dc64db0f69000d599bc761cb8e3125144de44367081126a - initial_input_ast: 4c5eeffd0306b20c8deece509782b81ea8583245f650e40a4a300d517f6ed5f4 - initial_input_ast: a56b3f9908dec2acaed302691d4fe0c2cf046f0deb8f188f617e042e75502f71 - initial_ast: 7ee021b77e11d3836f59c80a93902a0e7407cad4f214d6bb9bfa6a09b7e098e7 + initial_ast: 6738dda9dfa2cce86f92f9d28e0e0750870156f6b5d6146d063baa221f88df3f symbol_table: 6dad9c49c0429f77053df4b683bcc9c8f863000e03f2c1b5936c6c98c24c6476 diff --git a/tests/expectations/compiler/compiler/char/string.out b/tests/expectations/compiler/compiler/char/string.out index e57dce4414..87094000d3 100644 --- a/tests/expectations/compiler/compiler/char/string.out +++ b/tests/expectations/compiler/compiler/char/string.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f1af7e79dff9ede0d2a1c88d5d22801cb3dfe3a9fb34e93bca646e29a61e9f65 - initial_ast: 69b68def6433c2514553d08e4b297f8da2ba952d2dea679c6d7082ba959e2ee9 + initial_ast: 80124fe1a7297907bc27330cfe87117bee204a9f2b8acce053b0778568415a31 symbol_table: 4a29c4b5af2ad1879798454b95b7dd04ae7ecd48289c5f3e7a1e19eaf3921c3b diff --git a/tests/expectations/compiler/compiler/circuits/duplicate_name_context.out b/tests/expectations/compiler/compiler/circuits/duplicate_name_context.out index 57b922a9f2..a77ca56114 100644 --- a/tests/expectations/compiler/compiler/circuits/duplicate_name_context.out +++ b/tests/expectations/compiler/compiler/circuits/duplicate_name_context.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: acb54d555ee391d519919827f5949bf1600d18004ce461097d062f91108563ba - initial_ast: c6483cbfeca68504657c8eae1764edd46feb2fddff08f8538d3eecde722c54cd + initial_ast: 2fd04130d93c29b06f1288c682dd1ce37731ef0762f8e8d70d994aa97fa55c1e symbol_table: d522662a21597d6d4b9ca630498b48f40ad05fb289080451879c90c3530de28b diff --git a/tests/expectations/compiler/compiler/circuits/inline.out b/tests/expectations/compiler/compiler/circuits/inline.out index 2fc6695ed8..9f669ec379 100644 --- a/tests/expectations/compiler/compiler/circuits/inline.out +++ b/tests/expectations/compiler/compiler/circuits/inline.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 3be140bc92ab26143cf69703c3b9595f6c013d1900f6b769dca549e8043a195b + initial_ast: 8507cd1753f4d2a835fa34d3d784487d89d595ea415d51145dd7291a839159c2 symbol_table: e6f85704fccd0ca0f0461ae54cb604159a5f41a2175aad6b76bd534166f1bc6b diff --git a/tests/expectations/compiler/compiler/circuits/inline_member_pass.out b/tests/expectations/compiler/compiler/circuits/inline_member_pass.out index 10033d6b7f..a905c7824e 100644 --- a/tests/expectations/compiler/compiler/circuits/inline_member_pass.out +++ b/tests/expectations/compiler/compiler/circuits/inline_member_pass.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: b496a384f9fb628bcd0102d87e65efc1682c53067761051e07f12492b213ab2a + initial_ast: 9489ab9b78bd31ac516e1674a83c6b35708238174df88374a7b19cef3d4a8e8a symbol_table: 9eeb9c327aa691ac9126681fa2d4be149bb69621d30ac30a1432b52e42b56307 diff --git a/tests/expectations/compiler/compiler/circuits/member_variable.out b/tests/expectations/compiler/compiler/circuits/member_variable.out index 35111e0396..a68a425fdc 100644 --- a/tests/expectations/compiler/compiler/circuits/member_variable.out +++ b/tests/expectations/compiler/compiler/circuits/member_variable.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 29f6139d908d390f890f04d8ee620757d29b7f71cd48c46ff65bc1e70aae840c - initial_ast: e9e3687bf7e678173f816fa7e88acd255824a01cd6338cdce6575761caac51c4 + initial_ast: 630995cc22fb6ec613f02e3aaa18392770158b2bbaf5aa1736c0bf71dd7357ce symbol_table: 1e3d03c1d2a087812fc00dd4c1b48174df13bc5278fd65c104c9a904644061db diff --git a/tests/expectations/compiler/compiler/console/assert.out b/tests/expectations/compiler/compiler/console/assert.out index 1dc6b807df..4088f4b221 100644 --- a/tests/expectations/compiler/compiler/console/assert.out +++ b/tests/expectations/compiler/compiler/console/assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 15a1f00a6c0ca8141202e45e534b7afd196e9391c184a4efd94f0d0ccf04a59d - initial_ast: 75909337b2ab5e25b9d3a11460788109c99afe1fda7967acbb5b5f573ed423e5 + initial_ast: 0ef8a9cfc447ad3fd1cb0275e91b1d005b7f230a02bf87e0f8ad56be86daa23e symbol_table: 91cf14380bad96c722953f9731f62aa8717e83951902dd6106bad45d34883e9e diff --git a/tests/expectations/compiler/compiler/console/conditional_assert.out b/tests/expectations/compiler/compiler/console/conditional_assert.out index 80eb5178ca..7e5eed3b0e 100644 --- a/tests/expectations/compiler/compiler/console/conditional_assert.out +++ b/tests/expectations/compiler/compiler/console/conditional_assert.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 8b94c0dbc84f44bd29c614b87947e625ad136549ea29ff18233ba5b01ce63c9b - initial_input_ast: a62874e75304ab81d487909be1c6b1efa2e5756a2980b46e3bb1368586c3ee83 - initial_ast: 88040629ca9639283a9a5230fe1e79c0653f2e9d462bdd4222a7cec094247b89 + initial_ast: 487dcbee6a433329c15b3cd0b23ecc259d4df455906438f3e6cf348ebd63ee02 symbol_table: eb7d67bd533250d35ac68d5247bb6dc11b1aa3c78144e6642fad61e0cf36780b diff --git a/tests/expectations/compiler/compiler/console/error.out b/tests/expectations/compiler/compiler/console/error.out index 59f0daea03..bc5816124f 100644 --- a/tests/expectations/compiler/compiler/console/error.out +++ b/tests/expectations/compiler/compiler/console/error.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 14cd2c781b154a9037de84e945cfb348e9c587cef94d3e1f3be83e4306f92a0e - initial_ast: b202c3ef9b82a60997598fb0891b5e9b2356461eccc5d1622989c5da48f0a16a + initial_ast: d718de3086bc78a00a392e3c2b46dfa8f76084909bad3c98a5a6759df73efb27 symbol_table: defa532673c067b1029a2cb28e1ceb49c7f6f99afbc670d886d2db938168d424 diff --git a/tests/expectations/compiler/compiler/console/log.out b/tests/expectations/compiler/compiler/console/log.out index 49f1e6d568..d660d7c8ba 100644 --- a/tests/expectations/compiler/compiler/console/log.out +++ b/tests/expectations/compiler/compiler/console/log.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: fd19d82c3aba921f01b37174e3eb7fb603438506fe511657e21235b9fb3647d2 - initial_ast: 4c2a51fc11c2363506f3c98a2ca33dbc23f41d10a2c88815b7320be92ed87d87 + initial_ast: 2a99ef2515c58607e4b617f93c74838b6f2afed28e9e2c2eed658cea6d729b2d symbol_table: 1114eb323c8af79b301823753b911c49af1498481ad93b054c6330f00539dcdc diff --git a/tests/expectations/compiler/compiler/console/log_conditional.out b/tests/expectations/compiler/compiler/console/log_conditional.out index 16264e582a..ed5e97338e 100644 --- a/tests/expectations/compiler/compiler/console/log_conditional.out +++ b/tests/expectations/compiler/compiler/console/log_conditional.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 06fad995841b833ef5074920ae270b93bf82ad60b6c8b440c66b8bc5018aaa72 - initial_input_ast: 34bd981451bdeb915a2de749b969c8804c06e44a9f4473f36d6efac7617baead - initial_ast: b9a0645aa26b43a28e99e1b2a734d4b7e7b29d15fb766577eed79d86b770d270 + initial_ast: f8315b82b0a05e0e69fb8b0342b46cbee976ec20d62e0edd2f066bf51acd81d6 symbol_table: 6df0605a8770c3002b2f6dfff805332c774cd382d68860fa029a51c01dfca6e1 diff --git a/tests/expectations/compiler/compiler/console/log_input.out b/tests/expectations/compiler/compiler/console/log_input.out index 4b8f52c184..5278abf65b 100644 --- a/tests/expectations/compiler/compiler/console/log_input.out +++ b/tests/expectations/compiler/compiler/console/log_input.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 0961f603812e241567b6e3ef5adb458309f1829eb2c08a216efccb17bea89faf - initial_ast: c792411c5e4db527345387fd7b064c217c0f4d5aa10b7e1807222020ff9cdb9b + initial_ast: 3602c929b2256f4ed5cec2ba9d3e967b029a7dc9717a371b32a356425cf9892b symbol_table: 21187c3fcd8b5c1377772413f1aedc33d9b4fa34a6d43425b5b9a403ac44cf1b diff --git a/tests/expectations/compiler/compiler/console/log_parameter.out b/tests/expectations/compiler/compiler/console/log_parameter.out index f67005cce3..b15a5608ee 100644 --- a/tests/expectations/compiler/compiler/console/log_parameter.out +++ b/tests/expectations/compiler/compiler/console/log_parameter.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f18a0e019ca4719c4c4ef5b7313f562c3bc9581819d161d84566e706f3765249 - initial_ast: ad21d07bf71e49bfa2094b56f45f90a61d1cb189115a526c4acd3c77cada65ad + initial_ast: f319125731635279a198fb2df8c0446475024c70829e9de32fa5f43c38079862 symbol_table: 4f4561e0804f02ca6cd58fd37cca46531d6a86fb4f6a3dea46c67c3a13e045dd diff --git a/tests/expectations/compiler/compiler/console/log_parameter_many.out b/tests/expectations/compiler/compiler/console/log_parameter_many.out index 0ba2afd81a..97c7b3edbb 100644 --- a/tests/expectations/compiler/compiler/console/log_parameter_many.out +++ b/tests/expectations/compiler/compiler/console/log_parameter_many.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 16910a94cf1f803ae6425ae6bee9422b01651c2c243b5e46807dc3191d169e64 - initial_ast: ae155e7c28fa5f27c8c815d7a864b812b219af890de8961edb9abb879b6d2932 + initial_ast: 52824ac2e84097578faf0ff92f7ca840d2de30e8454a540886123a2cf79192ae symbol_table: 57cd0f756819d90c70fc09987ac1bbf2ddf31c7a72cbfd98b8b56a6fc7705581 diff --git a/tests/expectations/compiler/compiler/core/algorithms/bhp.out b/tests/expectations/compiler/compiler/core/algorithms/bhp.out index 79d33af7fb..d5e55b5329 100644 --- a/tests/expectations/compiler/compiler/core/algorithms/bhp.out +++ b/tests/expectations/compiler/compiler/core/algorithms/bhp.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: bac21cbe4e2fa9dbacf45edfb5b3d580346fb59742f8f61916af92a7c533ca05 + initial_ast: fc0f2558100be5c1216c0d56e8be51be6ad4f51e47e42f89b96d1b9bae0ae34d symbol_table: 00e1ab10d05676c51e65671158712d7041de760ca226f74a2314f1cef9740402 diff --git a/tests/expectations/compiler/compiler/core/algorithms/pedersen.out b/tests/expectations/compiler/compiler/core/algorithms/pedersen.out index 9fa70a8744..87ae40db6f 100644 --- a/tests/expectations/compiler/compiler/core/algorithms/pedersen.out +++ b/tests/expectations/compiler/compiler/core/algorithms/pedersen.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: f3be2498fc7ac80bed09044cc6892ab66c85be8b57cf4b91ca68685dc409a89a + initial_ast: 8c3b9cf2aad8ba67eb351b67ed4642caa64a7ff83a2dcdc48f05413bba7ba81f symbol_table: 4a439652db94447b85f87bdd262953b6b6233e2d5f22c562215fd792f59f04d3 diff --git a/tests/expectations/compiler/compiler/core/algorithms/poseidon.out b/tests/expectations/compiler/compiler/core/algorithms/poseidon.out index 08b6ccbd67..4d4b746471 100644 --- a/tests/expectations/compiler/compiler/core/algorithms/poseidon.out +++ b/tests/expectations/compiler/compiler/core/algorithms/poseidon.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 3199a8e573ef7cd2f57845dabf4a352486a601576cc9cef8f3bb548023db6036 + initial_ast: 0a7abaad3d4eb543b09e8664f8b274714f742bec62c45fe56dd6bece0a19161e symbol_table: 43835e3ddb0a6a15f6ace2186576a1a51de6ad7251d29ff13302546bf1b46a42 diff --git a/tests/expectations/compiler/compiler/definition/out_of_order.out b/tests/expectations/compiler/compiler/definition/out_of_order.out index e6e1a5aaf4..6496cecefc 100644 --- a/tests/expectations/compiler/compiler/definition/out_of_order.out +++ b/tests/expectations/compiler/compiler/definition/out_of_order.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: b649852fa2fd7eda05bd0ba261f01dcee93b6b825d5d30fddb8dd5c5710081ca - initial_ast: 388935416f73fea957b5a3e390684aaf368ec5b65f8c01f94542c1dfcfd6ca38 + initial_ast: 13b0f0680422f4f647cb4da2fef412662f35b745ba788ce147add5eeccb2edaa symbol_table: 18c4e80dbb6add0a75bd0f6968cd3216e3023f383a17679f892b32e24cf2cd77 diff --git a/tests/expectations/compiler/compiler/field/add.out b/tests/expectations/compiler/compiler/field/add.out index af09d263fc..3cb3c62c4c 100644 --- a/tests/expectations/compiler/compiler/field/add.out +++ b/tests/expectations/compiler/compiler/field/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3f35e74d282a1e5281e7f283d1e572a3dc75dea1a5ef1a0f8c7f46412ef946a7 - initial_ast: f386874c322a0c3a3b4d92160ee8a4925e77a1c883829e7b98cc698e1268e2eb + initial_ast: 0aebc18388f6ceed8c1d813152ec6392bf687a814d3ae6d63ae10b50420c1a43 symbol_table: ab937c57964d900b6931dc3cea2c6cc6bd68fefe9accae8ef8fd879e788d0cb7 diff --git a/tests/expectations/compiler/compiler/field/div.out b/tests/expectations/compiler/compiler/field/div.out index e7648af598..05b42ba7ae 100644 --- a/tests/expectations/compiler/compiler/field/div.out +++ b/tests/expectations/compiler/compiler/field/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 4e3882d83c8044e40258f8414966b09c715b00e08bc3383030cecf2c4a825c60 - initial_ast: 55fd45aaf7763226500bb91f3c035acebb7aad37624d89cf2c5a1a4a507bc7ed + initial_ast: 924a3905b44bfea2a10118e4c0336a596b6981a7b06ea39f71daac7000e5cf9c symbol_table: e0b1cda1db6ea8c9f71a6cd9f76a041387e633b0eb652a3382e56ac48aec5adc diff --git a/tests/expectations/compiler/compiler/field/eq.out b/tests/expectations/compiler/compiler/field/eq.out index 6d61974a19..f3be75ce61 100644 --- a/tests/expectations/compiler/compiler/field/eq.out +++ b/tests/expectations/compiler/compiler/field/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: eeba130bda3ee24f2a4bf92f67fb555ab849173910a647096e28729c2ebd71c2 - initial_ast: 3962f019466cd170ba2506b98e0cdcbc0a83bbc97a5ca56b529d3905380bbf5d + initial_ast: 3546a10b24a6a53ee07d298e7dbbed5122bd9d0c973613296a94189d9e57f246 symbol_table: 2685013e472435f156a9de89e73adfedb6e0b214a0fc09b235c453885e644746 diff --git a/tests/expectations/compiler/compiler/field/field.out b/tests/expectations/compiler/compiler/field/field.out index c49d32b0c8..bbba696ae2 100644 --- a/tests/expectations/compiler/compiler/field/field.out +++ b/tests/expectations/compiler/compiler/field/field.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3a510480221eb323713b4b10cc374ba357f130e8ac2b07bf1c69ad5d8c936f12 - initial_ast: 5730055744d561e841ad4090e53e6c589882d3e235488210732709c588919d48 + initial_ast: ff341146cdbb78e4a5bffd47c109cc9987dd3b7cea8224e0ef3668394d1c7a90 symbol_table: 61dabf815d0a52853b5933812e28a24dc2cc71a0196ab334e9f36621f6528669 diff --git a/tests/expectations/compiler/compiler/field/mul.out b/tests/expectations/compiler/compiler/field/mul.out index d41f1b4acf..8864c691a4 100644 --- a/tests/expectations/compiler/compiler/field/mul.out +++ b/tests/expectations/compiler/compiler/field/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3f35e74d282a1e5281e7f283d1e572a3dc75dea1a5ef1a0f8c7f46412ef946a7 - initial_ast: dafcd5b3e2dc29c4fb8c9872e47d212e7a0109b51913e349f4b7770851b4d8b8 + initial_ast: c05e588dae9e5f6e7e1c2d16d08629af8d287b453796b21de89b25d40970ec1b symbol_table: 51cac1a817eead5ffdce703f843e85cdd2ab3ac6ddcb1868fc299ce470aacfb8 diff --git a/tests/expectations/compiler/compiler/field/negate.out b/tests/expectations/compiler/compiler/field/negate.out index 44d5370ef4..d1c007a98b 100644 --- a/tests/expectations/compiler/compiler/field/negate.out +++ b/tests/expectations/compiler/compiler/field/negate.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 9206742d7f18345efbd4d9077cd1aca0855d43a2436be0697ec22954650e3737 - initial_ast: 8fee6d79a6c5ec2ee2123662d505ccbb714415051d475e55417f68171feb65b3 + initial_ast: c2122be4da96294b4ce4bca5d239176c6bb98765248c767dd41352b6b95888c8 symbol_table: 2daa5df91bfa772cfaec061d0b52b9663df25e1c2018fefd9a72b878e9f347a0 diff --git a/tests/expectations/compiler/compiler/field/operator_methods.out b/tests/expectations/compiler/compiler/field/operator_methods.out index d7a5b18c22..3da6406906 100644 --- a/tests/expectations/compiler/compiler/field/operator_methods.out +++ b/tests/expectations/compiler/compiler/field/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 047866515f4dc74cd9966242734984b53e72f87afc21f7171b118e6defa1f166 - initial_ast: 39c8b7a1b07ce94589be274cfa6cf3a30e5e0cd938acacabdbb0202c27fa4c2b + initial_ast: 49b4956c647eb7f6e1ae496ce2e5c4ff238493d9cbc9d20d6f0f3fee09dee4f4 symbol_table: 0adb5745c4fc836bedd364a83bea10dab7885dc32a4145fd04a57b51bd2b23d1 diff --git a/tests/expectations/compiler/compiler/field/pow.out b/tests/expectations/compiler/compiler/field/pow.out index 404d768064..3b03b10cf1 100644 --- a/tests/expectations/compiler/compiler/field/pow.out +++ b/tests/expectations/compiler/compiler/field/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 5e0a61d909d2e94dfbc95775e4c5c356adb61375ceef2d583a5ab927b3b6342e - initial_ast: 53a238811a4356592f4fc24dfa73cb2c796fb2fd857a60a5edfa478992e0c350 + initial_ast: ecf60185d2eda458885b00f1daa586132dfbfc560b0565c1659bb4bfed3cb19d symbol_table: 137dd2867c357412b9e5d9dfb51e9e82998217d06f1e07d95999c5c7f312affc diff --git a/tests/expectations/compiler/compiler/field/sub.out b/tests/expectations/compiler/compiler/field/sub.out index 93c9a18322..41d43cf2fb 100644 --- a/tests/expectations/compiler/compiler/field/sub.out +++ b/tests/expectations/compiler/compiler/field/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 4e3882d83c8044e40258f8414966b09c715b00e08bc3383030cecf2c4a825c60 - initial_ast: f895ecdee379ec86123aa5bbef5158c7b1c134becd6d0400b1eedf4bf2955664 + initial_ast: 44033abf4e0e2d174cc770b32f903b8a1d4505ee4cbfdcfca3ad1f885071123e symbol_table: a462d7481d4ae6611c332491239401d32ed2dd110042de237495731107048b4e diff --git a/tests/expectations/compiler/compiler/field/ternary.out b/tests/expectations/compiler/compiler/field/ternary.out index d942d61091..c8c60226ee 100644 --- a/tests/expectations/compiler/compiler/field/ternary.out +++ b/tests/expectations/compiler/compiler/field/ternary.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: e19dcac0064fed4ec8293b9b40ec70cb94b5fdb05f1081fc29f46a023bf79b09 - initial_ast: 1d1f4d0b4ab3833e33433d8c9b2e03968b7589914c1b2a824fbf7a18c438fbf8 + initial_ast: 8efd26ef8db8c5c793450a368ec66d7a3fe3b363145655192344af4a8c2b4d81 symbol_table: 8efd055a1ca3e84e7af524acdb2d517b1d31c773fb5d0d9045eaaab2112fe184 diff --git a/tests/expectations/compiler/compiler/function/conditional_return.out b/tests/expectations/compiler/compiler/function/conditional_return.out index 869a4082e9..f42659df15 100644 --- a/tests/expectations/compiler/compiler/function/conditional_return.out +++ b/tests/expectations/compiler/compiler/function/conditional_return.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f4c81e7647e3b7cb29e8faf5456878989cbc81cb49097acf5bc9aaafc9092b6b - initial_ast: 5ec3e002c7fffde84b5e4f96b08935ff57f9361ca4566ec240648a4618aab60a + initial_ast: ed69198e934ac7f6a604adb37a4b27ad593909930029904db802c1895d7269c9 symbol_table: df0627c52620cf6e30c96450283a76175c4d1a49dc7ffed195a02e3cdde5ed89 diff --git a/tests/expectations/compiler/compiler/function/iteration.out b/tests/expectations/compiler/compiler/function/iteration.out index fba11f556f..0a6ef33116 100644 --- a/tests/expectations/compiler/compiler/function/iteration.out +++ b/tests/expectations/compiler/compiler/function/iteration.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 1febcc333f69e7f5ea2e8b9e915c66a23f4e195c6106a31cffb1adb81b90f0e4 - initial_ast: d8cbe08acf55ffb4bbd20cc88dd9d85d7aca6b1586e5f0efdeac2ed50706e2b7 + initial_ast: 7df50863de140cd6033391d929212b91180ff90737c536e631f977ddf9eb9d91 symbol_table: 738974bc93d03e230299143f22c4a8cb38e0962af93e19728f74a6bb8d25a6d0 diff --git a/tests/expectations/compiler/compiler/function/iteration_repeated.out b/tests/expectations/compiler/compiler/function/iteration_repeated.out index 0ecbc591fa..1e674a7437 100644 --- a/tests/expectations/compiler/compiler/function/iteration_repeated.out +++ b/tests/expectations/compiler/compiler/function/iteration_repeated.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ae87aca959c3d818c9259be6ca73eca6ada9633312e81a4df172d833f40c78e9 - initial_ast: fea512a01702a5328a60f159b60664aea649ab8bf975ae4a0a85bb27a6b9de6c + initial_ast: 24bdae47f1154abc4c7f8dbe30dde72ae25779e4464e8942968c7fd36f602d42 symbol_table: 69b32d3a21ca899d23b9eba6603ce9eea7191eb9a7a893e28ef3fcc6b355a4ff diff --git a/tests/expectations/compiler/compiler/function/repeated.out b/tests/expectations/compiler/compiler/function/repeated.out index 634bc003d1..8df53265fe 100644 --- a/tests/expectations/compiler/compiler/function/repeated.out +++ b/tests/expectations/compiler/compiler/function/repeated.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 6b8596d250b3c42a0ff9856eb4a94d28c72b2953313d594f13a5d3f1de6f072f - initial_ast: d06b6fbdc1be32c351fc4efe68ddce3df19937209df812d6652fb428ac3cfa0a + initial_ast: a21fe86230689152fbfcf3529c818c0ef25fe9f3117de260f85ae84cc535c503 symbol_table: 6b9e0d6f8517252051117e01937bb64597c6ee78726e8e03579161084f37303f diff --git a/tests/expectations/compiler/compiler/function/return.out b/tests/expectations/compiler/compiler/function/return.out index d083a919dc..387fac7722 100644 --- a/tests/expectations/compiler/compiler/function/return.out +++ b/tests/expectations/compiler/compiler/function/return.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d11a4218606717322234d8ea4c4786d6edce90f07abde9e120d597cb0e838ce0 - initial_ast: e393b3fa199c3f4456598c910829e3d40ea150f6a400b78d23670a8aae70a8c1 + initial_ast: 9a7092fce407db3067a8ed1a90dbd5613dff7d581d2df73ce7f6701ff64e5e0b symbol_table: 9a6f8767701001d0691ff622fada6be3d30c274590d54f847ddb76d7b3da543a diff --git a/tests/expectations/compiler/compiler/group/add.out b/tests/expectations/compiler/compiler/group/add.out index 33953d4c3f..df29dce1b5 100644 --- a/tests/expectations/compiler/compiler/group/add.out +++ b/tests/expectations/compiler/compiler/group/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a28b88dc36ace78ed0de93b56db7274f16521597ccf1e820a17fdb60a1e3d92a - initial_ast: c01842c4af5c1d75ef3212e1dd93ec48bf6a7e78728f011b7adcb5098e1313cf + initial_ast: 7109d173cdd239abf5f0f717e669e300cf7bd4b3bde2158a17d1f16c1b154276 symbol_table: 915e736b00c979abe896125d986ff41cf16e028842f89cae6440998f85304351 diff --git a/tests/expectations/compiler/compiler/group/assert_eq.out b/tests/expectations/compiler/compiler/group/assert_eq.out index 677a1f8c8b..c7be5be649 100644 --- a/tests/expectations/compiler/compiler/group/assert_eq.out +++ b/tests/expectations/compiler/compiler/group/assert_eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 00c3cc87ce3c30894ad6b6874ce6dacfa02c9f2bc171615ff627f06f2e201997 - initial_ast: adb2e4901b75c874d1c3be1d9648d0a235b6d0237f4af91dde5e1f81a65535ce + initial_ast: b6e75e27703bf6b6af69de95f9c22ef2033db46227f5658a9f2e88c33a169b1d symbol_table: fb66c9abb24c6c1bb79dd5fe9e9b78f293292fb3fab04ede561f866c6dc41f8c diff --git a/tests/expectations/compiler/compiler/group/both_sign_high.out b/tests/expectations/compiler/compiler/group/both_sign_high.out index ad207ee199..c76de034f9 100644 --- a/tests/expectations/compiler/compiler/group/both_sign_high.out +++ b/tests/expectations/compiler/compiler/group/both_sign_high.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 5c421d6026c1c8c6cf22706335772e0ea082d9ff17155e850e1552365d62c142 + initial_ast: 7631f3258e3f0f288fd21a0470c43f636b96bbe0f3643dad29353e9b48c63ee6 symbol_table: 9a61702119ebc681917d7cb7e40ecafa00354849326bf1182635f27a28da35e9 diff --git a/tests/expectations/compiler/compiler/group/both_sign_inferred.out b/tests/expectations/compiler/compiler/group/both_sign_inferred.out index 600e10b505..ebb310e40c 100644 --- a/tests/expectations/compiler/compiler/group/both_sign_inferred.out +++ b/tests/expectations/compiler/compiler/group/both_sign_inferred.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 846fc0f20db05076dd31bd17d10411458a732d40205666bd5aa08b6870e2b766 + initial_ast: 97c27f26fd8d201623b1cbb19474a2cb6934c6bda8d4b363c831b0a3193e75ec symbol_table: e4a96223c049893c904a90f24d069592b33fc137de0f4816cf92089e63663693 diff --git a/tests/expectations/compiler/compiler/group/both_sign_low.out b/tests/expectations/compiler/compiler/group/both_sign_low.out index 5c8f13aa8b..9f76e6c3b2 100644 --- a/tests/expectations/compiler/compiler/group/both_sign_low.out +++ b/tests/expectations/compiler/compiler/group/both_sign_low.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: fc83d0036a5042509c9bd27067b66090e09c3cd576d1de1bafc18e37711fc473 + initial_ast: 772357946f6febbf75a72e8f706975abc242cc805368babdac1e3d047a1d0dc8 symbol_table: 1817d91b99941ddc2590c6a2777ad8f7d4ba26a8b2a3baa3932f1a08eb540206 diff --git a/tests/expectations/compiler/compiler/group/eq.out b/tests/expectations/compiler/compiler/group/eq.out index 677a1f8c8b..c7be5be649 100644 --- a/tests/expectations/compiler/compiler/group/eq.out +++ b/tests/expectations/compiler/compiler/group/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 00c3cc87ce3c30894ad6b6874ce6dacfa02c9f2bc171615ff627f06f2e201997 - initial_ast: adb2e4901b75c874d1c3be1d9648d0a235b6d0237f4af91dde5e1f81a65535ce + initial_ast: b6e75e27703bf6b6af69de95f9c22ef2033db46227f5658a9f2e88c33a169b1d symbol_table: fb66c9abb24c6c1bb79dd5fe9e9b78f293292fb3fab04ede561f866c6dc41f8c diff --git a/tests/expectations/compiler/compiler/group/input.out b/tests/expectations/compiler/compiler/group/input.out index 3d30ca816f..76fd1dd80b 100644 --- a/tests/expectations/compiler/compiler/group/input.out +++ b/tests/expectations/compiler/compiler/group/input.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c93f9fd667509aa0aa3896c261cb48c7d579d9856d0a14b96e9b2c7e04566a0a - initial_ast: adb2e4901b75c874d1c3be1d9648d0a235b6d0237f4af91dde5e1f81a65535ce + initial_ast: b6e75e27703bf6b6af69de95f9c22ef2033db46227f5658a9f2e88c33a169b1d symbol_table: fb66c9abb24c6c1bb79dd5fe9e9b78f293292fb3fab04ede561f866c6dc41f8c diff --git a/tests/expectations/compiler/compiler/group/mult_by_scalar.out b/tests/expectations/compiler/compiler/group/mult_by_scalar.out index d352647908..2effd4ab3a 100644 --- a/tests/expectations/compiler/compiler/group/mult_by_scalar.out +++ b/tests/expectations/compiler/compiler/group/mult_by_scalar.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 7b0236b04ad9caa4039a989b91e7f49021a9daf09a495a9cdad7c371ee196761 - initial_ast: a122de5ca733792fef68712f04e8b4c2dab923983b05bf68b836a604d8b53e69 + initial_ast: 99e25dcd781ee8514ca93fdb34430f05caf429ed46dafa3189c3d835d680d7df symbol_table: ae21cfdc16589d2cdf89c4aabece75367892087e76793cd0d7d62c9a04fa511c diff --git a/tests/expectations/compiler/compiler/group/negate.out b/tests/expectations/compiler/compiler/group/negate.out index ae17ae5c36..6e3f13aca4 100644 --- a/tests/expectations/compiler/compiler/group/negate.out +++ b/tests/expectations/compiler/compiler/group/negate.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 5e1e23855cb6841ee210c8a24e11cc819e91ce3b087a8c961035c574baa1784b - initial_ast: 02881dd63f1667df7621f7220d03bee90d0134c7c2a3ddd1db607d78c3f9c014 + initial_ast: 491aa1b9665527f07687444cb882f1ae5d363ca3b024f9cc3de36027ec37fce4 symbol_table: 5f48052c64667bf793d8b6c22db7f867a88c1dfbb9341e53b970d6bb9bf3a11f diff --git a/tests/expectations/compiler/compiler/group/one.out b/tests/expectations/compiler/compiler/group/one.out index b62c9536d0..d9e59d7ef5 100644 --- a/tests/expectations/compiler/compiler/group/one.out +++ b/tests/expectations/compiler/compiler/group/one.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 7f6c50c98d31b4f08367ecb0fc19c3b61c3191f835549b2d0d662c87e0851539 + initial_ast: 5a4b6b18074e63ba98467539a224838675ea3f08b945b554c23df2f22f730181 symbol_table: 1459210791fd0aae2827b2b7c3fd438e7a8315b290e23cbfe365b4214d5cd284 diff --git a/tests/expectations/compiler/compiler/group/operator_methods.out b/tests/expectations/compiler/compiler/group/operator_methods.out index 745b785068..5876862ea9 100644 --- a/tests/expectations/compiler/compiler/group/operator_methods.out +++ b/tests/expectations/compiler/compiler/group/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a60503e3f83fbee658d02fb3806b3a3326fc6d4f4e43ac05bce7b16ac0552edb - initial_ast: 0e6f2e7b2c82ef8fb2e530557040d8214ff2ce50eb0c8248dab4e76f68d1318e + initial_ast: 07af6f05d46a6cd91085fb1aaf8a0fcb9cb2c05ccf60fd5fad5449e9fbf079b4 symbol_table: 3eec749e9dd6f72ae053f0af3753be405331fdf01739a80df8b1a90c03923d27 diff --git a/tests/expectations/compiler/compiler/group/point.out b/tests/expectations/compiler/compiler/group/point.out index c917c32b3e..290500e5a0 100644 --- a/tests/expectations/compiler/compiler/group/point.out +++ b/tests/expectations/compiler/compiler/group/point.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: be7d54bb4f2be072f524f7f4ab74b236fe19e7800c2c1bd8900a00601c2181a1 + initial_ast: 7031bc0fd844a95ff14f558d113c6c5701834489713c2e9050d42b80e32fa2d0 symbol_table: ac8c4425959cf548f2f0edc8aa637b1d827394f11fe2c10ecef366a803fe30a2 diff --git a/tests/expectations/compiler/compiler/group/point_input.out b/tests/expectations/compiler/compiler/group/point_input.out index 0769b0fbf2..e748d7ddcf 100644 --- a/tests/expectations/compiler/compiler/group/point_input.out +++ b/tests/expectations/compiler/compiler/group/point_input.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 1b5330a3356c437ddc09afc027d1365eedb24c56777772fd83b9167cfebb4435 - initial_ast: d938427434278d3bdde454de609a26f685ed2cb658d8915615732f27295935a7 + initial_ast: c90971ebee1da3c277fef3288af860eeca4997ba9807a8038a3d1bd03200d277 symbol_table: b914736fbf23a1386a58c96fd9011214dd8a7393446dad3222c8551d8db979e6 diff --git a/tests/expectations/compiler/compiler/group/positive_and_negative.out b/tests/expectations/compiler/compiler/group/positive_and_negative.out index 41234651d1..1756493b9b 100644 --- a/tests/expectations/compiler/compiler/group/positive_and_negative.out +++ b/tests/expectations/compiler/compiler/group/positive_and_negative.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: c97329be67efbf490a3ad79279230380b62768d0ebac3ad05921e48bf3d36465 + initial_ast: 32f2a58463cce89611be1ef90aa7f109f3c86c8c2ad87b11c4ab62127ac8c969 symbol_table: 7e69e6875d7b047f525e435533e6b299da0779cd28edbf4190f2b701c79d74fb diff --git a/tests/expectations/compiler/compiler/group/sub.out b/tests/expectations/compiler/compiler/group/sub.out index 5004b9a91c..ef505d4d3d 100644 --- a/tests/expectations/compiler/compiler/group/sub.out +++ b/tests/expectations/compiler/compiler/group/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a28b88dc36ace78ed0de93b56db7274f16521597ccf1e820a17fdb60a1e3d92a - initial_ast: 1b286c593d7a81c3e09ea3082d92c61243d7220565f361bd567e524db28cf2d3 + initial_ast: 97ab784d4cdbb80329f8284003c821fa956e5b4913277813136217849815200d symbol_table: 4bbffbffd675aec67af4ce2fbf803ec463900233ce1ad4049c7bb8092650859a diff --git a/tests/expectations/compiler/compiler/group/ternary.out b/tests/expectations/compiler/compiler/group/ternary.out index 4e6b9263f0..225d3e98a1 100644 --- a/tests/expectations/compiler/compiler/group/ternary.out +++ b/tests/expectations/compiler/compiler/group/ternary.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d12e492b73a208051457ad2ce9ed8dbbb5a8096f32f52d697c41972ba8b88d35 - initial_ast: 680e56eae3e22960fd7dee9220158b09ccb603cec05b0264065a5381625e77f2 + initial_ast: 5d6e9ede195a3cfc06f7a91b47937247e6ffc237b57e37859a6d0e5cc966b762 symbol_table: 52a5d14e586868e2465abde3c15f47d151290737d408944c1474483e3050e399 diff --git a/tests/expectations/compiler/compiler/group/x_and_y.out b/tests/expectations/compiler/compiler/group/x_and_y.out index ccbe2733f3..2714817136 100644 --- a/tests/expectations/compiler/compiler/group/x_and_y.out +++ b/tests/expectations/compiler/compiler/group/x_and_y.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 8767ce0a4618b0e2998c831edcab6eec5da3a8bf585ac96eb98399048e313c3d + initial_ast: 3cf73b90d40fce8273b69ccf99424ad3b5f8fce2999d06bb1413428280f17f7d symbol_table: f33f5b0c84aac58327880b146c570d74ed3118e93247b4a05680ae2c451db5b1 diff --git a/tests/expectations/compiler/compiler/group/x_sign_high.out b/tests/expectations/compiler/compiler/group/x_sign_high.out index 3fd32eeadb..4a6dbe9466 100644 --- a/tests/expectations/compiler/compiler/group/x_sign_high.out +++ b/tests/expectations/compiler/compiler/group/x_sign_high.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: f701a6fd8d1d446de7e2d298f3d453a1a5cde4e2e8c2a38a9d16db644b3e5fda + initial_ast: 0ae122eb2bd121db2f072a8d79afbe3d0ad1023e7a4aaee2e4e9f4ba5c1a3c36 symbol_table: 2d0db26fa84f8daad71afd4420718043de1c97757ae4fe4fa78e9874891d1d80 diff --git a/tests/expectations/compiler/compiler/group/x_sign_inferred.out b/tests/expectations/compiler/compiler/group/x_sign_inferred.out index 304f25d185..456342cc4e 100644 --- a/tests/expectations/compiler/compiler/group/x_sign_inferred.out +++ b/tests/expectations/compiler/compiler/group/x_sign_inferred.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: d66c27bd7b6fb38c9d11a8033b5164bd015f74d5cf41f1ade00d62a5d8949285 + initial_ast: 81f062d4ca72bbfb62d447cfe23d0658b3b40a4caf3ca1fd37db833a3a6ba9f5 symbol_table: c20979f64468655131a488980c1de31384fd7ff35561ed569c3db6f2d0bc19cc diff --git a/tests/expectations/compiler/compiler/group/x_sign_low.out b/tests/expectations/compiler/compiler/group/x_sign_low.out index 9d7795ac47..0ca7dfa48e 100644 --- a/tests/expectations/compiler/compiler/group/x_sign_low.out +++ b/tests/expectations/compiler/compiler/group/x_sign_low.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 2c30c331e9fc9c7685c43d74ac175881a34de43620935addd3299c43e7b3a743 + initial_ast: 2b60be6820f8dc537b2ab9ec70e4981d93d0c68ebdc71d9437345e57c66505bf symbol_table: f450d14b0bb862b0bec4a5f8d41eb92f7cf951dee469505fb20dbfa25972eb7b diff --git a/tests/expectations/compiler/compiler/group/y_sign_high.out b/tests/expectations/compiler/compiler/group/y_sign_high.out index 20e74e8f22..78d10e6df4 100644 --- a/tests/expectations/compiler/compiler/group/y_sign_high.out +++ b/tests/expectations/compiler/compiler/group/y_sign_high.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 1f0d73c3a677f0d0ea7734070cbc35aa456da10c25f24088d44cbcdabf09f48e + initial_ast: c92281b28b5166cfa0cb458bb6f21dcc71d67dfe1f8bb757945c575cbb92a549 symbol_table: 52760622da95d189f6e707df97fc6bba4216fa59022a4ae79d840b9c05fdf5b1 diff --git a/tests/expectations/compiler/compiler/group/y_sign_inferred.out b/tests/expectations/compiler/compiler/group/y_sign_inferred.out index dd4db75b2e..a33a378e69 100644 --- a/tests/expectations/compiler/compiler/group/y_sign_inferred.out +++ b/tests/expectations/compiler/compiler/group/y_sign_inferred.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: b38c8dbd470cd55d70be0b90130aeb6702c21638698351ab5de509d6d33eb441 + initial_ast: b5c2ab86061f7dcae809f6a707559c1738a0f0a2352270ca3ff91a3242d70af3 symbol_table: d3bf69e78619e63bc1c56c1efe49712b226f5d477e1c42491d0b31e24d5a98a7 diff --git a/tests/expectations/compiler/compiler/group/y_sign_low.out b/tests/expectations/compiler/compiler/group/y_sign_low.out index 87e41541f2..b4cfaada3d 100644 --- a/tests/expectations/compiler/compiler/group/y_sign_low.out +++ b/tests/expectations/compiler/compiler/group/y_sign_low.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 2d21a4e5492395067852feb4660f734bc44ba99cbf032886c6d200b127413a84 + initial_ast: 1d5f67161857e1ef3195099a1a04370ddf33dc3eebade9e1a5e0f6266c495a75 symbol_table: 026430e928e2236167d6587cb1885784f30bbc916f75d3a0f42fa7a3f2c6978b diff --git a/tests/expectations/compiler/compiler/group/zero.out b/tests/expectations/compiler/compiler/group/zero.out index e60c12ee89..23ab78f3d9 100644 --- a/tests/expectations/compiler/compiler/group/zero.out +++ b/tests/expectations/compiler/compiler/group/zero.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: c5ded6e2a1ec9381079bb3622d43b0eacdd4e3112ccbc2ef6c418e3dee1c6b43 + initial_ast: 31edb6eef4b9fa47acfb94f0f8f7ec9f50667501c7dc6bb5c643a65be90cbfb7 symbol_table: b181fa2d3c50419dbdaadbe2e91aa4a3e17baa614b0635f9ce6fa7367ead48eb diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main.out b/tests/expectations/compiler/compiler/input_files/program_input/main.out index 4d3d758f56..96ac4c9a6e 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/main.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/main.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 23e62412d2a9377334d90aaeb6629b73c77e045ce87f23bd6ae2e2cd242e70f0 - initial_ast: 8344a7fc1a6c3568122302a0a1a51ef56caa22da8f300da67798fa24d9607203 + initial_ast: 62a908a53573e228fec4b308f637909227856abaf327f527c23dd63e739d77d7 symbol_table: cac29305ef425fae4d6addd2f4718f0a5c17e9289e36ed0800f05029aec41725 diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_field.out b/tests/expectations/compiler/compiler/input_files/program_input/main_field.out index de028b638f..f6121fa84d 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/main_field.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_field.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 2b6bc4ade2305a65746066befacf6a0a18382f754d4d7911d0c6e0abef682114 - initial_ast: a2600da0a54e2c80ff26da17fc46a03909f39746d410cbef07b679ff688037bd + initial_ast: 4d5c44da11b6644f95211ba6ebac1a6ca45ffbc63248fbc42a92a26e109cb63f symbol_table: 14be7abd0daa58df1a7860e592d0e74a3342a7e02220e9dcf314e5241b2e335a diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_group.out b/tests/expectations/compiler/compiler/input_files/program_input/main_group.out index 01cab389c4..0b363183f8 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input/main_group.out +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_group.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 4001f721e97052bdea8fafe39846356011e335e40281e0082c0b406cd6a85947 - initial_ast: e914a3203506d1f6f581c9249b1a05725407441a797f715e1e8dd42c9af288a1 + initial_ast: 947309cb1c78f8b954bd55ccb34e84ce39f7988991c9f6c2ae6408257c979665 symbol_table: 3b68eff86b45e4f940b0a1031e19a64178b0bf802acb59f3b743e664f3010876 diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main.out index 1b12e15ddf..5b47937131 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: e626f055978f5125bc292065d74aab5b679229a5364f150ccbe1f07d0c167c3d - initial_ast: 9b844ce4a3b1cee1b74fa360babf86e63d9801c6d19b6c9b010149d1be4a92dd + initial_ast: 22df0e8dcc96e127df94438ebdd1111070afb5f2fede13534a9aeb0d20885246 symbol_table: 4c358989979d4d1695377272c96dfdd2b542d8a51d7287cd5f49648bb41cc80c diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_field.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_field.out index 3bfa74749e..7dc859a012 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_field.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_field.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3eaa98274698edacf455de40418ea012234a1355d5b50b9063ee0e06d3d26709 - initial_ast: 7f0e5dd7120dda510faad4ee0620b8d5195205f48baed233ab5d0d31edb3317e + initial_ast: b1647dfd919968219b01ee5ff48ba97b155d8d40702498a69ff712b59c4a908f symbol_table: cdc88125facd852bdece13f8d69d58b91ef178c446853d5fdacfff157754a617 diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_group.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_group.out index ea88f5ae39..3d90f9b6ba 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_group.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_group.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 4efe3ae5f2d6a95663ca302b60d4e430b63bcb7c5a19d638ec7613b7dc099825 - initial_ast: 225f5e0beac7bc8407d23f081dfe2dd38f76ceb09d6cdb42f84ead7c443f7548 + initial_ast: f88e91c98500ea74503f284eb75e2e25857d9092257166716025bc9a95584b9d symbol_table: 55bc8e2b9a06ca5c79234cece0340bb5ce3f83cb7929357e53398adcb279d93c diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multiple.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multiple.out index f7be8d3397..8702b09965 100644 --- a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multiple.out +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multiple.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: e7173f6b8aa8aa40bcb167fa4de0b5d5a7f1b6d245a78dcb5ad70a73b53ef7de - initial_ast: e54b6ffa60d6d5c8556f4c93a726034c4a252ae827c804afda31e66205b7baf7 + initial_ast: 314c2343d15bc5676eb5669e9a7a193936ce32ea4f2c7a1ab10719202314e4ee symbol_table: 7b106dad757b786994e20ab7d77ad40365d2425d70977eac8163802fcdcf4806 diff --git a/tests/expectations/compiler/compiler/integers/i128/add.out b/tests/expectations/compiler/compiler/integers/i128/add.out index 69013b3481..a390adcc3f 100644 --- a/tests/expectations/compiler/compiler/integers/i128/add.out +++ b/tests/expectations/compiler/compiler/integers/i128/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ca7500628480432228743b9eff2cac69e433bc0a9da6ce007cae38ef9c2b57a6 - initial_ast: 1b614e22a828ca14d569f458ec9a80fd6379587966ece6f9fe43091487c94f55 + initial_ast: 07374055a6d078ecbf9f3c76a3c63cef7b529a583333afc655d1f7b22c8fd054 symbol_table: 75a7b5f068d1a3aa4525940a14a052bd4821c0bd3c0d4a8c097d51fedbc7da70 diff --git a/tests/expectations/compiler/compiler/integers/i128/and.out b/tests/expectations/compiler/compiler/integers/i128/and.out index 973af518f6..4514c8d009 100644 --- a/tests/expectations/compiler/compiler/integers/i128/and.out +++ b/tests/expectations/compiler/compiler/integers/i128/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ca7500628480432228743b9eff2cac69e433bc0a9da6ce007cae38ef9c2b57a6 - initial_ast: 23795ebebd47d67d491b6bceb7971502e01b53092d9712ea8b01b9813de54950 + initial_ast: 210dcc0f1e9522a7a7ada3b633f1ce0401f8c53ad0acf3e59f60772b51f35899 symbol_table: a742e82f32759705a4d3a5c60b8e8301572b7a27ba98cabb65cf62ac928502f0 diff --git a/tests/expectations/compiler/compiler/integers/i128/console_assert.out b/tests/expectations/compiler/compiler/integers/i128/console_assert.out index 1489bdb104..b3133c40d2 100644 --- a/tests/expectations/compiler/compiler/integers/i128/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/i128/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 86fc147511a8405918da9d9f5e40b2daccb441e80b793287203d30b21bb5600a - initial_ast: ba53d62fc6008d5f596aa272b4b0d647f81105e9881142a78bb72b2f7b97f345 + initial_ast: e684deb39dd4d7d41b1d5062f5f025df84d1998d16a59871d53f211dd9d9cce2 symbol_table: 7cc5d72ca93dcbdcf6845170e300c67d2ae24453cdec6681d1d76d6734abd52c diff --git a/tests/expectations/compiler/compiler/integers/i128/div.out b/tests/expectations/compiler/compiler/integers/i128/div.out index 879c1a239c..3408f39c06 100644 --- a/tests/expectations/compiler/compiler/integers/i128/div.out +++ b/tests/expectations/compiler/compiler/integers/i128/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 8562aec00f8be8367748af8197e2add488cbae2e0931674b68581744dbaafe61 - initial_ast: 18173c7935b71697d3378aa0efe62a7481dd570dbdcf0bdc391ab07649ad5e55 + initial_ast: ae2ef5614de8c31c25df7bb8cea87eb00ac8c154fb4a0ead71dfc306dc836b66 symbol_table: ba4421a012de91b2502d9fc6e58c7197ad1f98197ae9680e3398b80b57cc8e21 diff --git a/tests/expectations/compiler/compiler/integers/i128/eq.out b/tests/expectations/compiler/compiler/integers/i128/eq.out index c5fa4d6e38..c947e43352 100644 --- a/tests/expectations/compiler/compiler/integers/i128/eq.out +++ b/tests/expectations/compiler/compiler/integers/i128/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a4d1618b78d6f649f06d5f58f5ae0bb45135717abf3feea0541698ddb0212ec6 - initial_ast: 4ccde5ae5904bb12cc50606a4ab05aa70db4290b15763afb313ec83a52a7e30b + initial_ast: 44bd05c77cfb936ae6363fd532803e6939b0893d887d4e85b205ab3517ecfefa symbol_table: 147e5a1e6562c81e3e4c24404b43c292203e1b73d16d8518a98d85e264493c6a diff --git a/tests/expectations/compiler/compiler/integers/i128/ge.out b/tests/expectations/compiler/compiler/integers/i128/ge.out index 37a57898e1..12058c13b2 100644 --- a/tests/expectations/compiler/compiler/integers/i128/ge.out +++ b/tests/expectations/compiler/compiler/integers/i128/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 14e51b70ecee1d7bbdd5c37abf0d03f2c620fc9d31d68135108e241d78f738a6 - initial_input_ast: d5462c67471a54461a3e8bdca815ec0700534c47e89ee9adc34f1243c53d1f11 - initial_ast: 2c55770339cbcd0f2f3e8528aae7a9f948adc4f24f7a84e47b47c41521919bb5 + initial_ast: 190357900b121a5278ca1cd8174bc13a092dd3babf9727c03fd27ab51066ba29 symbol_table: 527f8077d79a806e327a10844c26ad68bcea3092a1e3ca4015b92d8339869dbe diff --git a/tests/expectations/compiler/compiler/integers/i128/gt.out b/tests/expectations/compiler/compiler/integers/i128/gt.out index af1a24634b..5194017de3 100644 --- a/tests/expectations/compiler/compiler/integers/i128/gt.out +++ b/tests/expectations/compiler/compiler/integers/i128/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: dfdb458d96c001da809b9b656e1f32b1b3936303033136bb8fd8c99d9732dde3 - initial_input_ast: 8687bd99746f218264adc45a810fb6e16cf8ead9f64d63faa7b376e4e3907f84 - initial_ast: 285d42a44df4131187f424983c2cad3aeeb4ac6273a8cde470cf2c1909310d43 + initial_ast: 1b01fc5c167c9957c4f631fcf1e494444822f748f3abcc977d13263a0a74cb9f symbol_table: a11f905fe22b3bda39f07d2c754bf100378792d241ca40bd359dcdd47029842f diff --git a/tests/expectations/compiler/compiler/integers/i128/le.out b/tests/expectations/compiler/compiler/integers/i128/le.out index 6179ee3602..dfed5a65ac 100644 --- a/tests/expectations/compiler/compiler/integers/i128/le.out +++ b/tests/expectations/compiler/compiler/integers/i128/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 14e51b70ecee1d7bbdd5c37abf0d03f2c620fc9d31d68135108e241d78f738a6 - initial_input_ast: e34798d157f456fecf7ceed2e406c6b76e0b1bcda3a7110f56de0df10472b3c4 - initial_ast: 7c4c49947cd85e6b1b3d499a3468d06514e527e0eed7dcec95919e7af1736770 + initial_ast: 3396a4771011467bf2f248f6346e7c2c5dae8dc8b14eddc39a58d180538a506d symbol_table: 594c5f431622dbf26c74e172ee0230afc7515bc864de2e8d4c4a8dca77a19faa diff --git a/tests/expectations/compiler/compiler/integers/i128/lt.out b/tests/expectations/compiler/compiler/integers/i128/lt.out index e5f61bf7ff..6d5e6369aa 100644 --- a/tests/expectations/compiler/compiler/integers/i128/lt.out +++ b/tests/expectations/compiler/compiler/integers/i128/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 8ed1bfd98e5df545f33dfc3b622573a028950b9f44a6038d84d903839ce6b226 - initial_input_ast: bc33c98fd9b5eba7bd68ca76eea533e137e786f4b75b79421de10134b56585df - initial_ast: d1720975946b23cc3d046fe3ea5749381d7cd83f580d7ca84c1c118e42c02467 + initial_ast: 66cb035a3d249a394e8dbbe19cbc02f5cddb844a78bc80c838c7cab191fe9701 symbol_table: e997aaaf93a01bb0b4e30eb468cfe78a5956f9401aca6bacdae452bd4c00760f diff --git a/tests/expectations/compiler/compiler/integers/i128/max.out b/tests/expectations/compiler/compiler/integers/i128/max.out index 54b67bfb96..ac07012600 100644 --- a/tests/expectations/compiler/compiler/integers/i128/max.out +++ b/tests/expectations/compiler/compiler/integers/i128/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a2ab6a89c5952a113fbecdeb630917b4699c38dcda5971528ab35cdd5e92c216 - initial_ast: c2eaf36df608a847fd9e149edf053c5285e8f8fd3d208ca5cf308d03e90bab8e + initial_ast: 76fb816766ffe11700b4c2a7ebf8502f09b7a5ca9f616fcfb1fbfc083d70b91e symbol_table: 495dfe6db0ab7c20e48db8c10ffd3da7ef50ec17e4db98f8d9b1ed4aa2fd177c diff --git a/tests/expectations/compiler/compiler/integers/i128/min.out b/tests/expectations/compiler/compiler/integers/i128/min.out index 33f62fe102..dbcc402510 100644 --- a/tests/expectations/compiler/compiler/integers/i128/min.out +++ b/tests/expectations/compiler/compiler/integers/i128/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 1480b753150538db3f133e6491506ee264d39be8d1c0dab484cd81a20f24cdd8 - initial_ast: aaacdc16389e316762a661fa945ffda66cf1904da3213a2c29a442ea6b2c2d7d + initial_ast: 03f31393c00a98648f946675297b0c1bcefb2660ec10f96a955eec09fcdefecb symbol_table: 0138140a2caf579059df162c1a92b527056414a2396550814c3c84bd12d7cf21 diff --git a/tests/expectations/compiler/compiler/integers/i128/mul.out b/tests/expectations/compiler/compiler/integers/i128/mul.out index 6ca3ba2e99..32b90eb189 100644 --- a/tests/expectations/compiler/compiler/integers/i128/mul.out +++ b/tests/expectations/compiler/compiler/integers/i128/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 42fddcefe5cf53169d184a40cd71b49276704e081253906c01f79604ade70767 - initial_ast: dc84a6be925795e467362c83f9e930edf3097542454dd0b6441141a10281d7f2 + initial_ast: 275429c58b52b8d80540eeeffe81ea7182132b42bbcbf9314eb6d87cedf769e7 symbol_table: fa9c7261b63b0d768f87a8065354877126ba1738feac8f3e672e5d7965197fb5 diff --git a/tests/expectations/compiler/compiler/integers/i128/ne.out b/tests/expectations/compiler/compiler/integers/i128/ne.out index a426f5ed64..6a1b55a5eb 100644 --- a/tests/expectations/compiler/compiler/integers/i128/ne.out +++ b/tests/expectations/compiler/compiler/integers/i128/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 63066c216028b02a42d2eac61498268917858ed1821c2ae0e58717b82d7bbf8d - initial_input_ast: 7446cc6978fba2a498bc55383084c51e05a9bdba1eb03ddb311d523be65585ce - initial_ast: d143cf7b5bbd4c9d96968777a9c959120eabc1f353a03af591fab4f453d2fc3d + initial_ast: c9f475f9bad29101a941423e97e83757441cc28efa410434f9ae27839f07bafa symbol_table: 6df84e8c35b17fadf07a0cc4f163b2ff8bbbe55cbba53cd83d65cba2db965ece diff --git a/tests/expectations/compiler/compiler/integers/i128/negate.out b/tests/expectations/compiler/compiler/integers/i128/negate.out index 837987bfdf..4478728deb 100644 --- a/tests/expectations/compiler/compiler/integers/i128/negate.out +++ b/tests/expectations/compiler/compiler/integers/i128/negate.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: b7ef231f7dd6bc63f301a57ffd5da98fae92d14999aaf72c94c85aa28ee66ab1 - initial_input_ast: cfe2ed866172bc2b8ed033f9e5086dc5e518e7305631123537e5e7ce2697ec25 - initial_ast: 93be39b26ef0517d0db97a0ab0a26c4ac0aefc491dc79a95bdaebb6cab37e6c4 + initial_ast: fbb42eff2dd3ea8ef4e74f998d10ba76ea3dfb4f5789484fc876bc54c8b582f9 symbol_table: f43a32ec834f7d09347e6c6b1d625486e7633485be2331a46acb573d79a4cc76 diff --git a/tests/expectations/compiler/compiler/integers/i128/negate_min.out b/tests/expectations/compiler/compiler/integers/i128/negate_min.out index 1cc20d50fd..5bffc5aacc 100644 --- a/tests/expectations/compiler/compiler/integers/i128/negate_min.out +++ b/tests/expectations/compiler/compiler/integers/i128/negate_min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d2117e2d504b1c95edd7f81c2fb111787aba0b797e0f076fbb473971dc0d3639 - initial_ast: afab5075856790476e7b28fdabc56f437ac4b116d6565e61d8fc46f901577803 + initial_ast: 656d8d0ee36bd258a452ad524cf0761e432dc5e39ff990dd8c1aff5246cfd81a symbol_table: d5d7187bc4868636bebb87a40e06a058925bef5401c8f45b7f104c7b6b19f939 diff --git a/tests/expectations/compiler/compiler/integers/i128/negate_zero.out b/tests/expectations/compiler/compiler/integers/i128/negate_zero.out index 769ef4910e..cb065e405c 100644 --- a/tests/expectations/compiler/compiler/integers/i128/negate_zero.out +++ b/tests/expectations/compiler/compiler/integers/i128/negate_zero.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 34fcde78f661247ade77dd607c349139ab960d39b6a5e10efb7102e0f52aa9de - initial_ast: ae95bf1ba4754b99019cbf21842abfb41baf61e0a758e04262f5acad493671bc + initial_ast: 679872f43b04fdcfeb4cc560f3e2f95831adde9a40dea1cdaf28b73ce08aba90 symbol_table: 16c331ccf043feb4297a0852c91009c7f8a5c49014909b341e924ae0c5ed0057 diff --git a/tests/expectations/compiler/compiler/integers/i128/operator_methods.out b/tests/expectations/compiler/compiler/integers/i128/operator_methods.out index 4d7cb31555..a1b04e778a 100644 --- a/tests/expectations/compiler/compiler/integers/i128/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/i128/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 7a421e06f3d56a5ff35cde69dfc10576b6c08f46a54ba24a666faa06e05d22a6 - initial_ast: 272d75229a96f76ed8cfdfa86f41373dd2b2c2931e05237914aeaf262a0781dc + initial_ast: e7106189c908d27971e18c74d402859225869a735452ee6546d5c0958e459575 symbol_table: f54ceb4e723625968cba981d0b2a60ca4abe7dd0db60aff456a82053d735f396 diff --git a/tests/expectations/compiler/compiler/integers/i128/or.out b/tests/expectations/compiler/compiler/integers/i128/or.out index db3a10de39..02ce6b068b 100644 --- a/tests/expectations/compiler/compiler/integers/i128/or.out +++ b/tests/expectations/compiler/compiler/integers/i128/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ca7500628480432228743b9eff2cac69e433bc0a9da6ce007cae38ef9c2b57a6 - initial_ast: b6e1da7d4d009d8d22a5f292823b2eca21c2a0116d2725d23d4f464da8f61ea2 + initial_ast: da3f6e496c8765a7fd3bc91bac882ad9ff142b05b78d437161de77cfa9e93d77 symbol_table: fe91fa1a007ec9cd5db787e4678cf1aac51c6ac51b6ca6645534abde9273edb4 diff --git a/tests/expectations/compiler/compiler/integers/i128/pow.out b/tests/expectations/compiler/compiler/integers/i128/pow.out index 65ff473fa0..d8fb65bdba 100644 --- a/tests/expectations/compiler/compiler/integers/i128/pow.out +++ b/tests/expectations/compiler/compiler/integers/i128/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a2ddf46a6ab6a9ae23438bad4a04a03e699f74cf478054017008197940e1c816 - initial_ast: 9c710593fe5de30d04fad41dfe35dfb298e8d3f27a1148f866e9f283fe73cb19 + initial_ast: 40f8374b33869991660bf29065ce5a7bda015b3860e1d4d122ab47d6c9d8c527 symbol_table: a9b558f0e2976996dd11291b7b0417e89ca69178d2d8e24986ce85017dcd989b diff --git a/tests/expectations/compiler/compiler/integers/i128/shl.out b/tests/expectations/compiler/compiler/integers/i128/shl.out index e5b9f4af05..db41b5cbf0 100644 --- a/tests/expectations/compiler/compiler/integers/i128/shl.out +++ b/tests/expectations/compiler/compiler/integers/i128/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ee62d8508ac57ff5e421f4524903e8a65375db4e08db14fcaf0cec4f11974ce6 - initial_ast: e5a598bf7ad1daf0aff1e66c1fc0582f1bc1092ee82408902add1ec7b7a756e3 + initial_ast: 48cf3da6026d7c545126575a39d3210415f1fcb1732d668c6d22cdd7c88878cc symbol_table: a0949da0c6778c10242222140af0733f59e494055a5dc9b3aa6178ceae66956c diff --git a/tests/expectations/compiler/compiler/integers/i128/shr.out b/tests/expectations/compiler/compiler/integers/i128/shr.out index e33eb80594..d3de2a3fa7 100644 --- a/tests/expectations/compiler/compiler/integers/i128/shr.out +++ b/tests/expectations/compiler/compiler/integers/i128/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ee62d8508ac57ff5e421f4524903e8a65375db4e08db14fcaf0cec4f11974ce6 - initial_ast: 17351e6e183381eebc641570aef398b47069b1de4313baf027ab751de8586a0f + initial_ast: a1995d34c2fc6bec480cef2270472ffed393936d5f6f6f72bf3d720d65336b20 symbol_table: 0dd642732eec4756c401a3188bf743b6ad84f7591664c93c560e7b3757cb0b11 diff --git a/tests/expectations/compiler/compiler/integers/i128/sub.out b/tests/expectations/compiler/compiler/integers/i128/sub.out index 0e1f7e533e..02d05502d1 100644 --- a/tests/expectations/compiler/compiler/integers/i128/sub.out +++ b/tests/expectations/compiler/compiler/integers/i128/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 4b489f1abc0cef5123b21e23de7a754ec616820ece226c08584e511216a9bda1 - initial_ast: 0ab419d67d44b154ac4f3dba45598759b416b584231c0ffd55d22a122046f184 + initial_ast: e4c37027d24f38f95598bdc92a184b6ac411eb63addfecc5869b5d241f5732d5 symbol_table: bfa588d2110f19026945c27f89b0b0c82c42bb370f253bb769909bf10191e06c diff --git a/tests/expectations/compiler/compiler/integers/i128/ternary.out b/tests/expectations/compiler/compiler/integers/i128/ternary.out index 2c1c0828d3..409b1f8978 100644 --- a/tests/expectations/compiler/compiler/integers/i128/ternary.out +++ b/tests/expectations/compiler/compiler/integers/i128/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 79fd283874b08961452d9a787c30439a1e551a2866a636368f4d17f8e88985de - initial_input_ast: 31e8d186f6c363350a67a31ede99b55c376ffc7a2ae779dcf0aedb43cb94979e - initial_ast: b436d5433c4df5d8e025ff843609408dd591e05ade2868c61c0fcf7e10242d93 + initial_ast: 4de7b18747a3626dc77775180ad482caff806b2a6cf88318956471407bf000a7 symbol_table: 8a9672e411a204d821d48c0052000104cfb79332a41230151c5b2068c43beeba diff --git a/tests/expectations/compiler/compiler/integers/i128/xor.out b/tests/expectations/compiler/compiler/integers/i128/xor.out index 18ea445cc4..5e594ecaa0 100644 --- a/tests/expectations/compiler/compiler/integers/i128/xor.out +++ b/tests/expectations/compiler/compiler/integers/i128/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 24836b073b76f7a0d3248569022711039180676965e828443fa77db4ca49de81 - initial_ast: 7565e79f5b0702a13765da3559f1312391f7c81deb1318460c3326f6e78c8c17 + initial_ast: 67682b0f37d8433be92c854d4a66d7d48b55d50143af3dae7880c3520ae7bde0 symbol_table: b49663ae6742a54b2adce3f351d27741a069818b5de03c406088b81922898595 diff --git a/tests/expectations/compiler/compiler/integers/i16/add.out b/tests/expectations/compiler/compiler/integers/i16/add.out index 51f3aab4ca..beb237b89e 100644 --- a/tests/expectations/compiler/compiler/integers/i16/add.out +++ b/tests/expectations/compiler/compiler/integers/i16/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ca6ab55d11bc84ae5e5442cbc17ecf2f2ff6d31041d98a43c9710c2e3a7f7ff9 - initial_ast: 46b28dc81a779ef934ff81a3fc7f8af58adfcf3483701b74762eb2ac3c9842f4 + initial_ast: b869cd86791b366b69f05ea45ea7d37bf002fbbee22a6b08b319f9be9bf43597 symbol_table: a2a5374e27f9e4175bda35feddefc989dbee536a9a9323184d77da8f29c22439 diff --git a/tests/expectations/compiler/compiler/integers/i16/and.out b/tests/expectations/compiler/compiler/integers/i16/and.out index b3403d4c9f..6df6afaff7 100644 --- a/tests/expectations/compiler/compiler/integers/i16/and.out +++ b/tests/expectations/compiler/compiler/integers/i16/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ca6ab55d11bc84ae5e5442cbc17ecf2f2ff6d31041d98a43c9710c2e3a7f7ff9 - initial_ast: 44ec13a9fba63386b456081dddef454e5082c7c0852ac043e3b358ccf5462a83 + initial_ast: 809452097bde742b77243261863cd9d5b404f9e87f271ff0c3a51d024d7a3277 symbol_table: bdb224fe4c5a6958985b649494b834a44ca9f6dfa500ff68490a0e710beb63ad diff --git a/tests/expectations/compiler/compiler/integers/i16/console_assert.out b/tests/expectations/compiler/compiler/integers/i16/console_assert.out index eff680a7e2..5623ef38b1 100644 --- a/tests/expectations/compiler/compiler/integers/i16/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/i16/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 71d4c15605c3975991ba51378ef4148d6863656fdb491a93573bfc03dae3dc62 - initial_ast: 02d3a9bb8f117fb69aed081dcf4258af18c8c81c2933474095d13c6480d0bd30 + initial_ast: d24648724406b90c1de2b9361bd80216082a2d7bc08613861cd84718c82f1b5f symbol_table: 18b080b998dff3e057abe7078fb659d100695bd7e39e2252f42d610ffbffbf5a diff --git a/tests/expectations/compiler/compiler/integers/i16/div.out b/tests/expectations/compiler/compiler/integers/i16/div.out index 5570226558..1544f876c5 100644 --- a/tests/expectations/compiler/compiler/integers/i16/div.out +++ b/tests/expectations/compiler/compiler/integers/i16/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 17f36a9515beff0798792f878b29efd08dd2b9b1b34b08592dbf49709f48260c - initial_ast: 4b97cb522d1ed042b2baae78279dafb36c3309a030c060ebf04997bfeeeb607e + initial_ast: 22557d30c694c0b0e91c73a967422e8f8ec668125008e1157d49cda1bf5558bd symbol_table: 251b05bcad187289e88a5e9a91f7bb733190b42e85ea68a27b28a3eef4d911da diff --git a/tests/expectations/compiler/compiler/integers/i16/eq.out b/tests/expectations/compiler/compiler/integers/i16/eq.out index c5d3fad8ae..4b4cc33066 100644 --- a/tests/expectations/compiler/compiler/integers/i16/eq.out +++ b/tests/expectations/compiler/compiler/integers/i16/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 7c88546226f65808e9be3e925c8272f9583fbde6ae8b308116819664af8d9dd2 - initial_ast: fb175ee0b70b0525e55b99e1777f8652d8d716301ca64f2a48a2889c6b2d7a1e + initial_ast: edbc2daca6bb579a2f1b35b86eebd5f9e39768f8e3cc5ee4c92f2a2dd672af3d symbol_table: a7d6cc1e90bf64c4a27dcbbd7458019771ac4ababc9609b97b5896490fcecb3f diff --git a/tests/expectations/compiler/compiler/integers/i16/ge.out b/tests/expectations/compiler/compiler/integers/i16/ge.out index bc82545375..dd7ec07403 100644 --- a/tests/expectations/compiler/compiler/integers/i16/ge.out +++ b/tests/expectations/compiler/compiler/integers/i16/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 671dbf588ac06c9aaa98a0b93ae310030698c4459bcc8f5007d0b34e7f5a2fe7 - initial_input_ast: 1fae972c153c7e83794ba4f2b497e92499b793ef1a746da5be203b6d31a06d46 - initial_ast: feeb45c57443fbed0709951ccf89e45e309bd469f41b4ad124f51678d2b9ae87 + initial_ast: 8e3ffdad6178e550dc0cb3fb8b8591555c16f536b00015ede86e6f0540d3e610 symbol_table: 16df6021fab1161448d1214e6ec4bacfa9b0f8a5106f084466a050b919507eaa diff --git a/tests/expectations/compiler/compiler/integers/i16/gt.out b/tests/expectations/compiler/compiler/integers/i16/gt.out index 084af376fa..116717c14f 100644 --- a/tests/expectations/compiler/compiler/integers/i16/gt.out +++ b/tests/expectations/compiler/compiler/integers/i16/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 39fc24fd87f4bf15d0567508034c57f4de17a407812a715e62dc635b9b91dd8e - initial_input_ast: c5ffa1915a34f65b23e03c634e1941e89527338cd149ee5e4b9d0b4c0f36ba68 - initial_ast: 66eee6143976a9713e986e67ea10be05b2cbc59135b6c2e01b016730096d1c67 + initial_ast: e050abc2d6e8a404b96d2abea06aab386991334de50f563f48e14ca24f163000 symbol_table: 317fbb7bd126c05485ea4fa9ae0d3ab0712cc7a4a932a3ec373c71b53c2eb1c6 diff --git a/tests/expectations/compiler/compiler/integers/i16/le.out b/tests/expectations/compiler/compiler/integers/i16/le.out index 76f8565deb..a1936c6d8e 100644 --- a/tests/expectations/compiler/compiler/integers/i16/le.out +++ b/tests/expectations/compiler/compiler/integers/i16/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 671dbf588ac06c9aaa98a0b93ae310030698c4459bcc8f5007d0b34e7f5a2fe7 - initial_input_ast: 22a419208eeb7a661a55a2b61d7a3a9896af73320d4899320df9c830b3bb814a - initial_ast: 21dde9480d1e25318412bb007fb1b6eb80c231c1b8daa5629143612ee08b64b5 + initial_ast: e8ac37ec0185965b13ba25b6b43d6a2068cca9af6b2860dcdcf1fdbc462528ce symbol_table: 547d8bd9f4f724f7bc1987129c145fa8ab9aa92cb2e58f84116f384dcb51eb6f diff --git a/tests/expectations/compiler/compiler/integers/i16/lt.out b/tests/expectations/compiler/compiler/integers/i16/lt.out index c8dde936bf..1113f10435 100644 --- a/tests/expectations/compiler/compiler/integers/i16/lt.out +++ b/tests/expectations/compiler/compiler/integers/i16/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: c1eedaa7c6583b87a4e6bfd9d3698ce378f3fbbed0a87419549f5e4124ce9d40 - initial_input_ast: 7b40e77aec02ca9b383339c98fb220828a90859f46c18b24a32ad22fc2884d35 - initial_ast: 746131dc0510b654414fd522abf6bce240bdb06e569734032d30007cdc3598d1 + initial_ast: e6a44b63da2e6d70110b81ffad2b2ee38814f9baae5a19893bbd2bd12a0107c6 symbol_table: 1665ab35fbce1d5c3d83bafe311bd810bc5ac8aae9ea78b7a25ff5618d7f3342 diff --git a/tests/expectations/compiler/compiler/integers/i16/max.out b/tests/expectations/compiler/compiler/integers/i16/max.out index 06a1f9552c..5d363aa9ec 100644 --- a/tests/expectations/compiler/compiler/integers/i16/max.out +++ b/tests/expectations/compiler/compiler/integers/i16/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 940d740ba40284a1d3c3cf8737facd1e98968224dd93999dbcb336cb3f4ce571 - initial_ast: 73182061fd4878e8bb9254b3a6cd268011bffa9bd97319227abbfe32e05523e9 + initial_ast: e29f17572c095f5b8d230666be1a5cb70204f6442b238e11e3751779eb9d12ba symbol_table: 7ddbef5b930cdce68ed97ed630ba0270c0ca53469404d7193ebab7923c171b9d diff --git a/tests/expectations/compiler/compiler/integers/i16/min.out b/tests/expectations/compiler/compiler/integers/i16/min.out index 4e86172903..c9a2683407 100644 --- a/tests/expectations/compiler/compiler/integers/i16/min.out +++ b/tests/expectations/compiler/compiler/integers/i16/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 142f86218cc646677bedd5bdf510ff537782d7e60967de7ebe9fb1fb50d7026d - initial_ast: a4dcded36f8e41d46553f69dbb41d741d4bbc6e1a51feeec07d984ec3478b288 + initial_ast: 3a12a3a89691c3f0fac7474e27a76c5b9827ec7eb99eac99787d82208d7a0c82 symbol_table: c055ae68a50138d22ec1203aa51a919ab72b680d836a2344c6aaabc4dcd238cd diff --git a/tests/expectations/compiler/compiler/integers/i16/mul.out b/tests/expectations/compiler/compiler/integers/i16/mul.out index d06020e608..a6a0123f90 100644 --- a/tests/expectations/compiler/compiler/integers/i16/mul.out +++ b/tests/expectations/compiler/compiler/integers/i16/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 745a2b9284f3287f347d81001af05f7aeb8b713cdc357bc5845f1827dcd8fd7f - initial_ast: 99d3831269619452117d397eec686f382be8401b4da8b2ccb11bb208a9f4828a + initial_ast: 3ab1c6f4b724ebd5775fdb29630b9c5b976961d41d215ce31a1a90ca1c949c6d symbol_table: cabf141530ad80c7281474580d8b372b045f2c05d141467755a4073ad1319ec4 diff --git a/tests/expectations/compiler/compiler/integers/i16/ne.out b/tests/expectations/compiler/compiler/integers/i16/ne.out index 6bab4df8b8..be2a0e8d13 100644 --- a/tests/expectations/compiler/compiler/integers/i16/ne.out +++ b/tests/expectations/compiler/compiler/integers/i16/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 0f4ec75d633030e364406d8e84674688511acd657b3e40614f54e8af9bc7fa8d - initial_input_ast: f5ba26c4f397d3678ad4296f5149592d1310e4d94bc52a274601ec8454dac549 - initial_ast: a7e84d28edeedf8ca6fc030c1770c27327777555c172081f427ac39064863e22 + initial_ast: e471222556c892e1fe10660f24a793473d5d2975ca0151ab705804b6b360a84c symbol_table: 5a63b6a441ad209c46c963c0b2c8d22f5b0cac06878111ba85a465781bf709a1 diff --git a/tests/expectations/compiler/compiler/integers/i16/negate.out b/tests/expectations/compiler/compiler/integers/i16/negate.out index e4f1613975..1a2a44931f 100644 --- a/tests/expectations/compiler/compiler/integers/i16/negate.out +++ b/tests/expectations/compiler/compiler/integers/i16/negate.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 664f047973ba9818641a3c6a85834963a8e757af1a449f6a797b9562a8b138de - initial_input_ast: 6efaf882a26d26eb45f16ca255bcb648f018f647dd15ed158e26e543836fb6cd - initial_ast: 1dcafa9d7207ebae87aea0cfc6bfaa3436f03323c70367ec2e9cc181f2551e3c + initial_ast: e6d527f134ba45e580a248e9dae401f7f71eaa5dd3c41548600fd10a8ac830ca symbol_table: 58ebb5880bfd3f03b8e478649debaaea4d0c991797c6ee03736306ebde1911e1 diff --git a/tests/expectations/compiler/compiler/integers/i16/negate_min_fail.out b/tests/expectations/compiler/compiler/integers/i16/negate_min_fail.out index 190f8db0de..2b8e149334 100644 --- a/tests/expectations/compiler/compiler/integers/i16/negate_min_fail.out +++ b/tests/expectations/compiler/compiler/integers/i16/negate_min_fail.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 7643261a1792f68251258ad1b6be18e95528a86816b3772140d130b2784736cb - initial_ast: 8bae3917d6f3efb7398b83f3b4a2126916f70e84cbc5a96ac0499dc90f42c1dc + initial_ast: d36246adcfdf393eecf1ad64aecf858e960e22ba69c87369d53347392cbfb4a4 symbol_table: 3f25d73945c78bfe592ce34d1d25692ac9ef2f78a4de4c1b269a85e0b0c9eb07 diff --git a/tests/expectations/compiler/compiler/integers/i16/negate_zero.out b/tests/expectations/compiler/compiler/integers/i16/negate_zero.out index 88651b9505..b4d0998a05 100644 --- a/tests/expectations/compiler/compiler/integers/i16/negate_zero.out +++ b/tests/expectations/compiler/compiler/integers/i16/negate_zero.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 76a0fe2199754831329d9b089d2c02f73d7457aaed6548372169318675b85f48 - initial_ast: 989a7f6dec2d131886ef8cfcb7b7f6fdf7a900ca405a855921aee28f5e22c946 + initial_ast: b748784d3716f6dd8f82c2d42ea826ec857a3f681756cac9ccd9b8c6e0c0a841 symbol_table: e75c57060143b086106291be77bcb92a635af8c16b27f1f862d85d5d573f323d diff --git a/tests/expectations/compiler/compiler/integers/i16/operator_methods.out b/tests/expectations/compiler/compiler/integers/i16/operator_methods.out index cc83e30684..7c8aee34ee 100644 --- a/tests/expectations/compiler/compiler/integers/i16/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/i16/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 1919858036addddfaeec6f7f5c06b8d4aad4e18f0167d9da1c61a7704dd51fe5 - initial_ast: 5e3b5f4aa15418442f82d5a6ba930a980f9a976d362a93f6a475049e696fe02a + initial_ast: 8b4dd434c9a8fde0e845bffa9a82369172093a71ce41c32b9fc98da93b1a1db5 symbol_table: e1310e7a3242f046a8e4cfd0b882e92572cc96f76b739edf8a3d81fe838e074a diff --git a/tests/expectations/compiler/compiler/integers/i16/or.out b/tests/expectations/compiler/compiler/integers/i16/or.out index 285d28b87b..5b3619cfb8 100644 --- a/tests/expectations/compiler/compiler/integers/i16/or.out +++ b/tests/expectations/compiler/compiler/integers/i16/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ca6ab55d11bc84ae5e5442cbc17ecf2f2ff6d31041d98a43c9710c2e3a7f7ff9 - initial_ast: b457b7ceb71955eac78e6ba0d21e09d2a421028918bfaf59c3cb3d907ad4c35e + initial_ast: 50e3321589352a7adf53fee57319185cc20f0acaa43282637b79baab19b4f6a8 symbol_table: 4c080bfc407c55cf4496518c1d2fb958dc9ffbc0cb7d01b9960444c388715f85 diff --git a/tests/expectations/compiler/compiler/integers/i16/pow.out b/tests/expectations/compiler/compiler/integers/i16/pow.out index 49b23e2929..92c62826d8 100644 --- a/tests/expectations/compiler/compiler/integers/i16/pow.out +++ b/tests/expectations/compiler/compiler/integers/i16/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 1c847e4cf1052419262e993cc6f50a0a8d49a4a219bef07de6916a788e2dbac3 - initial_ast: cb9d3519764549f4742af9d0016cbb8d34b0df310fec1c4abeed51921eaae1a1 + initial_ast: 716c8440a95e3b5c34f745dba8673afd75414a9e2350eebde49ae661ee42083d symbol_table: 5f363580c69b6f35f4460104e76b74cd57f75f5aa514d81cd8235883f790404c diff --git a/tests/expectations/compiler/compiler/integers/i16/shl.out b/tests/expectations/compiler/compiler/integers/i16/shl.out index 6235150e3d..c3f929bd87 100644 --- a/tests/expectations/compiler/compiler/integers/i16/shl.out +++ b/tests/expectations/compiler/compiler/integers/i16/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d147db0bf287fc9f96e67ec89e3839ffe5ee498b2d2e1c055df938d64fe9db59 - initial_ast: 45d27b9a65dfe19075566810abc36e87c7b8c8ab201c6522e17baab840c9bfb7 + initial_ast: b08570e62709b72faf734d27cd4569de7b33605716fb4320cc141a02c35c43fc symbol_table: 5574b67bf196f90fb3e7ce012c4320a543e9830f42b13de6f5e145e0e2b936db diff --git a/tests/expectations/compiler/compiler/integers/i16/shr.out b/tests/expectations/compiler/compiler/integers/i16/shr.out index fd2f192c94..e15b6930d4 100644 --- a/tests/expectations/compiler/compiler/integers/i16/shr.out +++ b/tests/expectations/compiler/compiler/integers/i16/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d147db0bf287fc9f96e67ec89e3839ffe5ee498b2d2e1c055df938d64fe9db59 - initial_ast: eb6b7ecd3ca900933b71ee71471911625af62692bc7cef2866612f55d07d7036 + initial_ast: c8a29025afc34fcb2dc833f9534adbfff15358e4d0f0b392218e8e84e0891705 symbol_table: efb3351576d42c09fb29e8c984728fd35ef8984702d7165b0ae3894da819370b diff --git a/tests/expectations/compiler/compiler/integers/i16/sub.out b/tests/expectations/compiler/compiler/integers/i16/sub.out index a6a63ffc78..869769c78e 100644 --- a/tests/expectations/compiler/compiler/integers/i16/sub.out +++ b/tests/expectations/compiler/compiler/integers/i16/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: b7ad97cd1531c1826eadf4c9c2b96d4d92ca02d158be18f4ebe1746ed99153aa - initial_ast: 84d4776207c597ab70f1b7deedaf954d27490b9e94c22df2696fc5b5b582a3ae + initial_ast: 3f1690cb0dc84ce45dfa66417c90c9be57369288de1c83ec6bbaf7575feae55b symbol_table: 6f46b9c5c3fd51a4e9ba3a28bc768c1b770a471abc353696d6afba246cb81377 diff --git a/tests/expectations/compiler/compiler/integers/i16/ternary.out b/tests/expectations/compiler/compiler/integers/i16/ternary.out index 64ec24c580..df43e875f5 100644 --- a/tests/expectations/compiler/compiler/integers/i16/ternary.out +++ b/tests/expectations/compiler/compiler/integers/i16/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 41317d43452e14f1a4cdaefef0a9bb53149a3fde47bca46f2352dbd43c9ab881 - initial_input_ast: 56b6de335469ea51e45abf216b593b72fff3010892504485016a893f0a8ae182 - initial_ast: cbecc720951c22969e179da054ff99c23117c682b13d12e7b8cd08701291bbd0 + initial_ast: 36d350451b3be6c9b38f3b095fc7a0f7a4d11e4b3c007a14fd350e6cd032b323 symbol_table: b9eca2816364b509f8748ffde93edbf654285648e1557ed28380754d8a07d0b8 diff --git a/tests/expectations/compiler/compiler/integers/i16/xor.out b/tests/expectations/compiler/compiler/integers/i16/xor.out index d8f5e627c6..69517bc894 100644 --- a/tests/expectations/compiler/compiler/integers/i16/xor.out +++ b/tests/expectations/compiler/compiler/integers/i16/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3166a0fdadb4026ed5652f84a4b701b19532a4c19904ad075455ec9a6fb2c724 - initial_ast: 1534a4c26d5849fa67da858cb8fbd3bec8cc0f56fa38ecdd140e0b5cbe3caec7 + initial_ast: 3ea0d125b5c5aac27684dad2c55608ef8372c98964ec5c9c9d04ff4e9b648aeb symbol_table: c2db740a844a64e84fadd06da77a78f0982571524f6840ef904d11c41fe2e4ee diff --git a/tests/expectations/compiler/compiler/integers/i32/add.out b/tests/expectations/compiler/compiler/integers/i32/add.out index 16bdd06219..de90cf6437 100644 --- a/tests/expectations/compiler/compiler/integers/i32/add.out +++ b/tests/expectations/compiler/compiler/integers/i32/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c3f745ae09f3550b07ee1d548a4080fa602c77c54c8339d190755e61c041d9d0 - initial_ast: 7b36608a1fd0ade72eab6f84e196e9930796441342f8480a1e4c1c0ef482e331 + initial_ast: 1b3646ec051ebdd0571a6cc5e54dd88b494c24cd2c197045c413894dadcad587 symbol_table: 91d57b027d297a7a36e4b4f28ea920fe85ae43d6560d67615b3306e7a81bdefa diff --git a/tests/expectations/compiler/compiler/integers/i32/and.out b/tests/expectations/compiler/compiler/integers/i32/and.out index 94eb47c4a5..13011e2390 100644 --- a/tests/expectations/compiler/compiler/integers/i32/and.out +++ b/tests/expectations/compiler/compiler/integers/i32/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c3f745ae09f3550b07ee1d548a4080fa602c77c54c8339d190755e61c041d9d0 - initial_ast: 886e2311c639636cde2128f6f427f5ab4a9c8283c33f3164ac0e54dc46456a33 + initial_ast: 58eae139e14d45468ac3f8aa2de8eebec731aca1649fb9249ac572f0400c9f4b symbol_table: 5945590d46e7452c54d441148a22fd5ee8cf29b01a147c0b9483e0c4d5c322fe diff --git a/tests/expectations/compiler/compiler/integers/i32/console_assert.out b/tests/expectations/compiler/compiler/integers/i32/console_assert.out index 63a663e550..5e3c605cc3 100644 --- a/tests/expectations/compiler/compiler/integers/i32/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/i32/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 18e0670d3bdd1b94387381965ed18bb2f52da2fd25ed26303079ddd2ad532ec7 - initial_ast: 13917e7bcc353f65fcc5d2b105d8508618fbdeaf64753fe29617a00aba3ea7f4 + initial_ast: f10907e6afbcd4f39d9c6397f684fb9e461d9b95863f22a177784121d3f79fdd symbol_table: 17f43dfe4ccb14b86cc30382fa7ee7c9fb222d599c657e344165f6deda58719f diff --git a/tests/expectations/compiler/compiler/integers/i32/div.out b/tests/expectations/compiler/compiler/integers/i32/div.out index ce5bc9224e..6c1a55d595 100644 --- a/tests/expectations/compiler/compiler/integers/i32/div.out +++ b/tests/expectations/compiler/compiler/integers/i32/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f4861b2879e1a7a0787897c313e56f53cf05f4ef416c1db99d650a7f50c0169c - initial_ast: 2ab4f1609184b8619a2d63b477ae14f5c4ad3879ba53824587b6102badeae5f2 + initial_ast: 7cfd4cf2770cc577919934a24a8741844c365c2662852da408fb2b48536cd601 symbol_table: 9e3afbcb5f6e608103adde426ca8d31f26afaf41a96bcf62f11eaf2c35c837a5 diff --git a/tests/expectations/compiler/compiler/integers/i32/eq.out b/tests/expectations/compiler/compiler/integers/i32/eq.out index 26f94be18f..76c45f916f 100644 --- a/tests/expectations/compiler/compiler/integers/i32/eq.out +++ b/tests/expectations/compiler/compiler/integers/i32/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 2310cea3660b80b688fc47915171d9804aea93a8e3a160020df15b78f2c44e92 - initial_ast: 5d1b65038a2a64f72be3d9e61dcd08227a39c84336ec978930755670fc29a9b1 + initial_ast: 4da18080cbf0f3f41dc8b853c4ee55e8020fbfe248c0c292ba4f8d043118baae symbol_table: 538ff52363f252b0e406b83165be287d74649fb3acc59d17d148b57efcbb7ea5 diff --git a/tests/expectations/compiler/compiler/integers/i32/ge.out b/tests/expectations/compiler/compiler/integers/i32/ge.out index 80a38f4c95..83c47c0559 100644 --- a/tests/expectations/compiler/compiler/integers/i32/ge.out +++ b/tests/expectations/compiler/compiler/integers/i32/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: d8b075a0c14b12b53de228108da7cf61ba2e7892b134075063684769996a7e45 - initial_input_ast: c12a655964529a33ba9795df3794474b3f6a9b9f5fe121fe688345d40d65bf00 - initial_ast: 65f5eac09cf0e8849658fa971856b2a656ae22c20265935b838291001004a182 + initial_ast: 99a0a40dcdc605b5a28d1ad78de6d98d81222b4fa70a50d4b907a7c454fec166 symbol_table: 59a9dba2a5e67df024a522643b2cd746cf63640c2f5b27d87fe9c3d24cb43a3c diff --git a/tests/expectations/compiler/compiler/integers/i32/gt.out b/tests/expectations/compiler/compiler/integers/i32/gt.out index 9b828a9cf7..0d83c659d9 100644 --- a/tests/expectations/compiler/compiler/integers/i32/gt.out +++ b/tests/expectations/compiler/compiler/integers/i32/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: a83eaf3c244972c04e15c0c911e9fb46ba56556d3ecfd5ec3561dd7d42341138 - initial_input_ast: fa3b9cb73dc9a270ba1167643daf66562ed80880be98fa7a0e34175792bea230 - initial_ast: 1c6fe1a02a349d970a8cb3f4c62daea3d59f5c945de9cc6e0371a884ed443f00 + initial_ast: 2011bf78585b33d3e4cf6d15c2f5e78cbe560164de5500498ccdb1992057189f symbol_table: 7ac2113c2d402d49671b93a45d60db9ed711845e20d33921825259a424ce7907 diff --git a/tests/expectations/compiler/compiler/integers/i32/le.out b/tests/expectations/compiler/compiler/integers/i32/le.out index 33e4a6c972..e4509840c3 100644 --- a/tests/expectations/compiler/compiler/integers/i32/le.out +++ b/tests/expectations/compiler/compiler/integers/i32/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: d8b075a0c14b12b53de228108da7cf61ba2e7892b134075063684769996a7e45 - initial_input_ast: c4310c1bdce965b70f52ba768a13f976e0611adcec05feaffc3530c03dbcd8b5 - initial_ast: 9a5f5f44954607e59ed87088b645ddfab3d2aaaa75fb54708cd76be570c61b05 + initial_ast: e3aecaf6a5adfcd4f82cde7fa2360ae63738141788c8de35eabedecf7da26dde symbol_table: 2ab0e5fe3a9ee52f83ec32398fe641df6d6bfa82b8507f1fd12ab561ddb15239 diff --git a/tests/expectations/compiler/compiler/integers/i32/lt.out b/tests/expectations/compiler/compiler/integers/i32/lt.out index 2ecb66794d..4107e8587d 100644 --- a/tests/expectations/compiler/compiler/integers/i32/lt.out +++ b/tests/expectations/compiler/compiler/integers/i32/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 30d30fdd6bab9733171c511d47c8617b4a54fd50c701260d2b7843635e4c734f - initial_input_ast: d3105d0be6b536c10caeff8d036665f6ca6b7f3fddc25d5fad126a82ba7a7ce9 - initial_ast: 8bdc43be322a079f6364bd2923a80edb873bef224f38d916be4c826a056545ea + initial_ast: baeb8485c3dd4abc78da1a07b1847933d49d68a0628b86e94efb72f41caf77ca symbol_table: 5916d5680354d3a029cc048d2c23b7e574d1ead928b6ead7d761f185174ae3a2 diff --git a/tests/expectations/compiler/compiler/integers/i32/max.out b/tests/expectations/compiler/compiler/integers/i32/max.out index 7e495a79c2..1b1649f359 100644 --- a/tests/expectations/compiler/compiler/integers/i32/max.out +++ b/tests/expectations/compiler/compiler/integers/i32/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 76a0fe2199754831329d9b089d2c02f73d7457aaed6548372169318675b85f48 - initial_ast: 65f140e78404ef7d81e5e7bb678cd67e6b0db19fb02866d6a2778aec4ef94c7d + initial_ast: 65641e2f97d65daaa4cb8b2ce4e64b36cf5df1d817877e4e4d93da09ae1377a2 symbol_table: b01b9d0b6652648f07617710ffec4f95f3739fa9972d8590fb0f525b38208f1e diff --git a/tests/expectations/compiler/compiler/integers/i32/min.out b/tests/expectations/compiler/compiler/integers/i32/min.out index d210b6db78..ac24508fe3 100644 --- a/tests/expectations/compiler/compiler/integers/i32/min.out +++ b/tests/expectations/compiler/compiler/integers/i32/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: e6e80b1d0e3a62b708072dee54289625035fb2a2ad6f2128a4688166e1f2c830 - initial_ast: f7e778eff55a6070426291072ded2e902dc38dc3cb283171388a5feecf4c3689 + initial_ast: cc34252c82189a05725700a7ca8b244bc62516cae0e0f36818f2c23e144471a6 symbol_table: 5108df812b06aa69113b9d7bd3638a3d9eeb587a586857daec49fde6e8926695 diff --git a/tests/expectations/compiler/compiler/integers/i32/mul.out b/tests/expectations/compiler/compiler/integers/i32/mul.out index 40ba03ac87..a6812431ef 100644 --- a/tests/expectations/compiler/compiler/integers/i32/mul.out +++ b/tests/expectations/compiler/compiler/integers/i32/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 27614bbc1bce86a65fab168ceb3b6109b70aa5cdcd9d47fbccc665de98a8a8fa - initial_ast: ff1c30a4d80192a25f734f78d5445036b29a03fc89b4c745edfbf13a7f8182b5 + initial_ast: 5e07edbe3d9d0cb4a197c0d3f50728c6749389efae49b82f4a026a8c104a8bc2 symbol_table: 97809796dd33bedd6b3823929aae64b52eead71dd648720a66d33d8d1a49dd93 diff --git a/tests/expectations/compiler/compiler/integers/i32/ne.out b/tests/expectations/compiler/compiler/integers/i32/ne.out index 6edad2edf5..d180ce4dd7 100644 --- a/tests/expectations/compiler/compiler/integers/i32/ne.out +++ b/tests/expectations/compiler/compiler/integers/i32/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 713c1cedf6fd5178e71d0fa26662b09e0ade6971c3587f89fc5a8e03a756e981 - initial_input_ast: 95e799eeb1e1cbc6c3f6fcd5c7a361d1c6476ae66a5ff09c0f5ad423129ff0b2 - initial_ast: 00799b68af38e59a26c96ff075c17e5ea3c4b3f2a7ec7961d83c5046f0db4848 + initial_ast: acbc9b1bc845f51e1fab0706653740f027b1f921d4a2df8eb4ba7025040550a0 symbol_table: 08f02d52e567049dffdd1fed04e03a7f205a6c39b456e9ab9ead6a94aaa8d7f5 diff --git a/tests/expectations/compiler/compiler/integers/i32/negate.out b/tests/expectations/compiler/compiler/integers/i32/negate.out index 453e6f041f..c62c24431b 100644 --- a/tests/expectations/compiler/compiler/integers/i32/negate.out +++ b/tests/expectations/compiler/compiler/integers/i32/negate.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 8b9feb5e8f0718841d67d61ff8add7ea9b6570873b6c4f404bf58c6da9e23c9c - initial_input_ast: 78e3a8bf17a0abcdc7dedd89d596366b20931da74e85add4ee8478e3086242e5 - initial_ast: 644f03b75c31ce3d800d38926f7ac4f9703e0f641c410c8b08dc50be562c68a1 + initial_ast: 1487e617ff9efe4c253eb92d4157ed1dc0ec05f382ecc1c284f68054b039f3f1 symbol_table: eeb81dc442a9962c4af0650f25ac1b41611c2dddc87c27aa986e6e0179bd5bfa diff --git a/tests/expectations/compiler/compiler/integers/i32/negate_min.out b/tests/expectations/compiler/compiler/integers/i32/negate_min.out index 57eacf98f1..b1af426954 100644 --- a/tests/expectations/compiler/compiler/integers/i32/negate_min.out +++ b/tests/expectations/compiler/compiler/integers/i32/negate_min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: bdf7f8a6f92b7acd8c798becc30b2f6a8cf6b0ed714c168c5a9e5559988b2185 - initial_ast: fa6e575688e26f54f08125cb9f1d5b89bc19d52511f8ae0edabfccb371601236 + initial_ast: 23557f6f914cfc80fc44061787663ccfda3e5e4a0c2d7d84fab1bf17dbed6bcf symbol_table: 5b5d6200c702aabe152a2e345837922d1dace86e91ef0878fc3db00a63904229 diff --git a/tests/expectations/compiler/compiler/integers/i32/negate_zero.out b/tests/expectations/compiler/compiler/integers/i32/negate_zero.out index 9b8c2b3017..d5572050a6 100644 --- a/tests/expectations/compiler/compiler/integers/i32/negate_zero.out +++ b/tests/expectations/compiler/compiler/integers/i32/negate_zero.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 76a0fe2199754831329d9b089d2c02f73d7457aaed6548372169318675b85f48 - initial_ast: 80800155fa6f5042d3b36ad0eb26ff9cfa8e5096ee6f0b1e119badd12f9b9370 + initial_ast: 71719649303efd4e908d722f9b11a29a0839ef0ee607e43c0258077ca8f250ae symbol_table: e4322091e554934f93e743f47ef99bd0bcae6a70ee214cbc6fb4f7849a95f287 diff --git a/tests/expectations/compiler/compiler/integers/i32/operator_methods.out b/tests/expectations/compiler/compiler/integers/i32/operator_methods.out index 9c32af7934..f325e04c15 100644 --- a/tests/expectations/compiler/compiler/integers/i32/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/i32/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: baa9efa368cc52d60f6299586aa61afe1d88ddd2c80a289da7e5599765a9399c - initial_ast: a530e96ee9e05238c5e5eda85c1795baa9e8a4777690c3faad8eab7b472af06c + initial_ast: 66b84e1d00a4a3f0d1b5f9d31b87164601ed43d42d53af7af93f2cc46ed7e015 symbol_table: f62d56a5b6c28a14b90681c800320ea9c0401f0db9fe089d165286bafa670dee diff --git a/tests/expectations/compiler/compiler/integers/i32/or.out b/tests/expectations/compiler/compiler/integers/i32/or.out index fd612326a0..f126ea1451 100644 --- a/tests/expectations/compiler/compiler/integers/i32/or.out +++ b/tests/expectations/compiler/compiler/integers/i32/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c3f745ae09f3550b07ee1d548a4080fa602c77c54c8339d190755e61c041d9d0 - initial_ast: badaacd9e32e212e705faea5ad68b1d00c8ea199eda46adb82c92e6f3c0d7751 + initial_ast: b4cb63dabed4bfc41eef6b18928a7daa040c785a7b492322b71d88262a6277a5 symbol_table: 59b8df1d2b1c065535bb67a608b3b7eceed7a2491a7451bbe1c2177fb71f072b diff --git a/tests/expectations/compiler/compiler/integers/i32/pow.out b/tests/expectations/compiler/compiler/integers/i32/pow.out index d1ceba2eda..ec829c1420 100644 --- a/tests/expectations/compiler/compiler/integers/i32/pow.out +++ b/tests/expectations/compiler/compiler/integers/i32/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: db7a1f929101bb73938127dcaebc78bf1fd13c0b1f29b49c143c652c76513869 - initial_ast: 6073682a7fe2b0e095c4ba485a0b77caef415071c83637ae87292d19c2336fb8 + initial_ast: a1201c174a83b160b07adad2ca0f5d454c272d3b3bf3dfbeeb6f46704906fc30 symbol_table: 83972ea7ed0bfd3b836c5b53798fbc7c6d404e1121bd40a7db08f059a8e7d915 diff --git a/tests/expectations/compiler/compiler/integers/i32/shl.out b/tests/expectations/compiler/compiler/integers/i32/shl.out index 5fcf69c0e2..336060ae5e 100644 --- a/tests/expectations/compiler/compiler/integers/i32/shl.out +++ b/tests/expectations/compiler/compiler/integers/i32/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3bc0aa0df75ae0548bec6bec2193fe1f94319ecb8d99f3d7367cd1ec29ee0519 - initial_ast: f1869a3fee55353c1884ec75eaa10100f21138f2ac33b3443f84738e9ae9c423 + initial_ast: f5ff0fbfc9790c0c98e1191d737f01655ca758cdd7aa87be3eede353a9bb6728 symbol_table: 607cd600389cd0202baa01e0998904f44134d7db10f64bd52ae584a11dddb83d diff --git a/tests/expectations/compiler/compiler/integers/i32/shr.out b/tests/expectations/compiler/compiler/integers/i32/shr.out index 1b5bd9244f..6a70e30a99 100644 --- a/tests/expectations/compiler/compiler/integers/i32/shr.out +++ b/tests/expectations/compiler/compiler/integers/i32/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3bc0aa0df75ae0548bec6bec2193fe1f94319ecb8d99f3d7367cd1ec29ee0519 - initial_ast: 83bc67677621455c8304e0eea9f3a92421b56e97032622c9b1b013b67103a7d0 + initial_ast: 18f423e7006efa104ac7d3ea5b2022c8836829e331de264f52752ee567b5a3ce symbol_table: 62eec7410246d20c43271d5ba0c2031d0b08de9540ea4c3f159c5f26ad96b190 diff --git a/tests/expectations/compiler/compiler/integers/i32/sub.out b/tests/expectations/compiler/compiler/integers/i32/sub.out index db42e5aefc..16756800ab 100644 --- a/tests/expectations/compiler/compiler/integers/i32/sub.out +++ b/tests/expectations/compiler/compiler/integers/i32/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 65a577110ee76e6af14d3ee0ba6d8b3d43238bf40f0bf17ce5fb0d7db958c468 - initial_ast: 9710348226bee346293cbac4dff1817e96d4f2cb04f0a2a60acc338025ae29bf + initial_ast: ad55d6d9e395b2def76a7e6189ec3a600abbbc12b65878b668f869e44e9ade4a symbol_table: 3cdb40addf49907ad044d01873be938299bcf55d573d843de205ea7198635f94 diff --git a/tests/expectations/compiler/compiler/integers/i32/ternary.out b/tests/expectations/compiler/compiler/integers/i32/ternary.out index e2793d7017..a33418f445 100644 --- a/tests/expectations/compiler/compiler/integers/i32/ternary.out +++ b/tests/expectations/compiler/compiler/integers/i32/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 496933437ac1f680efb3cf8c373ad409750a55f0587f1c9cd5ae89a3ff2fa9d7 - initial_input_ast: 26c16da9f3d023c364aceae392e4772d61d7c6e168b1b69df55ccb937e2f9b8b - initial_ast: b125747d2e835b5eba4cbe573ffc45fee31af6dfc35dd79934be80011a711878 + initial_ast: 3c335651b8022514466d79e85c6c500f0abacfe9582bd407857789cd11e7bb45 symbol_table: a6325dccaa62e33b218094d162d688034d983faf12a56ed0e97d5511e8006cd4 diff --git a/tests/expectations/compiler/compiler/integers/i32/xor.out b/tests/expectations/compiler/compiler/integers/i32/xor.out index 30bee192e6..dcd594fa2e 100644 --- a/tests/expectations/compiler/compiler/integers/i32/xor.out +++ b/tests/expectations/compiler/compiler/integers/i32/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 782064ee84e1826a4cf4a19b4c68964e8f901a3fa86ad68f13fbee8b8d79fc5f - initial_ast: 9d4c77a02df0bcd3330a5c3d571cbf5a5da9e2fb90776f7218cbf19c96d62953 + initial_ast: ccddbd9586431df0bd57644bdfaa123af18aef55d6257a802d06ee1b63555f10 symbol_table: 58d9e8a43638ca94e50faef51a13093beefe5de977bf76d703b3e1d8e7e758a2 diff --git a/tests/expectations/compiler/compiler/integers/i64/add.out b/tests/expectations/compiler/compiler/integers/i64/add.out index a2199b73f4..2e7656c7b6 100644 --- a/tests/expectations/compiler/compiler/integers/i64/add.out +++ b/tests/expectations/compiler/compiler/integers/i64/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 816e4f653059a71bcad0180283b41156a125963a270269574ccc2a89fa4db47d - initial_ast: 05458b439b8e8bf496921241eaee342f40e7008e63b3061a552f8fd7cf54a8d3 + initial_ast: a4aaa16ad2f02dde089066fe74a78413a372672a563e9cd63503c274e355660a symbol_table: a068224c7eec1e805932f5dd588782f88bd2fd9ba4172b756244cfdc5267d881 diff --git a/tests/expectations/compiler/compiler/integers/i64/and.out b/tests/expectations/compiler/compiler/integers/i64/and.out index cee4994aef..76ebecc4cf 100644 --- a/tests/expectations/compiler/compiler/integers/i64/and.out +++ b/tests/expectations/compiler/compiler/integers/i64/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 816e4f653059a71bcad0180283b41156a125963a270269574ccc2a89fa4db47d - initial_ast: a3d0ec262339b240393bf6204977c2a3f97b533bd37e84ddbda54fe165183915 + initial_ast: e1fb9bd3be54e70a0856609f8843c639bd83cd4d8abda812d3b2fb229582fb2f symbol_table: d423b9dc3ebe537a9188ce0da8d0c596bfb17824230173e9803e7a91948ea613 diff --git a/tests/expectations/compiler/compiler/integers/i64/console_assert.out b/tests/expectations/compiler/compiler/integers/i64/console_assert.out index 9c602150da..15e61e6653 100644 --- a/tests/expectations/compiler/compiler/integers/i64/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/i64/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 00d45fcaa517eaee18db545e00d5b07769a572368255b8300a14998d72601c18 - initial_ast: 6cab3109e6f43ec3ea60a3f507d119dfb9d519139775496356c3064eca95b854 + initial_ast: 09ec608f41abd9d671935f29c1cd7e201f33215833e4183f55a2fe79cf9afc21 symbol_table: 9c3b609e8ceeac0eab0242d4c82170ef38b8d0fcac6fec9c0d832add3a24b8bb diff --git a/tests/expectations/compiler/compiler/integers/i64/div.out b/tests/expectations/compiler/compiler/integers/i64/div.out index a18ccc5b44..13545659b8 100644 --- a/tests/expectations/compiler/compiler/integers/i64/div.out +++ b/tests/expectations/compiler/compiler/integers/i64/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c2344cdff713dd1a5cdf911aa4586bafdb97a243fd34f3d719410013b47f4b2c - initial_ast: 5ec3122bd1219e4cacd9229aae7d8de54703b1ec7e732b0b9151a3fa1489f9dd + initial_ast: 4b98bdfa2620aaa5b98c134919ed5337914cc9f51855e162270f304c3509dfc8 symbol_table: 3a23086d4f62440c9d0cda4504b5ed5e3f25b3c9e0eee866e1e5fa392e285a48 diff --git a/tests/expectations/compiler/compiler/integers/i64/eq.out b/tests/expectations/compiler/compiler/integers/i64/eq.out index d61df73f0d..09b91c7bcd 100644 --- a/tests/expectations/compiler/compiler/integers/i64/eq.out +++ b/tests/expectations/compiler/compiler/integers/i64/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c682c45660fd69afe580acd3988f4329d87c63e43d553c36642a4e0ef6b210e3 - initial_ast: e34b664d31cac9ea0ddf73661dc33cbb992248c18bdc79cf1b1d034a58c7cbc7 + initial_ast: 8557928254d8c21c7e2058ae0d413a3565b37ce582ef10bbaee610c5b5c126c2 symbol_table: c7504422b6fa6207defa0f0c39ffb1b474c517bb07955c3320ab6c58d83dbe50 diff --git a/tests/expectations/compiler/compiler/integers/i64/ge.out b/tests/expectations/compiler/compiler/integers/i64/ge.out index 4d4e6ca981..d07d7172ac 100644 --- a/tests/expectations/compiler/compiler/integers/i64/ge.out +++ b/tests/expectations/compiler/compiler/integers/i64/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 6857878da12ffbcc4376888a5b0a47e72cc06de198bf8b3581c462f6ac31dc5c - initial_input_ast: 7e434642385a187243e3e5753d8fbdde3fcd867e9243ffc54edc524b41737544 - initial_ast: cedd4d20735f3be317aba47f5e41a705a7ebb33d40def2ef303fb03543044004 + initial_ast: f7f13ba671fd5c76a7ddaeb88e92b2ad524ab8068a1873d328ec3e118a304175 symbol_table: 29b920533fbfa038780e518060d52bd9a5ff6f24c9387091b0929d728064ee59 diff --git a/tests/expectations/compiler/compiler/integers/i64/gt.out b/tests/expectations/compiler/compiler/integers/i64/gt.out index 70cd9cc46e..c0b0c78344 100644 --- a/tests/expectations/compiler/compiler/integers/i64/gt.out +++ b/tests/expectations/compiler/compiler/integers/i64/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 2b0b85dc45e03a920d2bfbdbc540abe18b61f4435eea735300bfbbf1f5f3d8ea - initial_input_ast: 3fd4444b24b8e16c62ecf0b00fc49d32c65db6d13ed37bec5fbfe04848c9e6d1 - initial_ast: b40a17c27a7fca729cd071e5b237724b3c8bca3e31b97bbc80cc13e4e2fa0fac + initial_ast: 3d74f258de200191d6ca014f3ebf770f84eb80733bc5e15297ace778ba7465c4 symbol_table: 5f72bb98b06d7990ec3e64d35d898073c5570400b875909ede0989d68927a114 diff --git a/tests/expectations/compiler/compiler/integers/i64/le.out b/tests/expectations/compiler/compiler/integers/i64/le.out index 54de4974b2..07ff7ccd65 100644 --- a/tests/expectations/compiler/compiler/integers/i64/le.out +++ b/tests/expectations/compiler/compiler/integers/i64/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 6857878da12ffbcc4376888a5b0a47e72cc06de198bf8b3581c462f6ac31dc5c - initial_input_ast: 99afc178f7cdcbad22602eb65284213301656250e2210a665de43395fef85784 - initial_ast: 0140c571bcea49e5ff34c4a2769d119f91e61f64a3afa54f13f851ae3a0e1c2c + initial_ast: c447a346374098a1f6c333904d3b42525fb51b165561996dfa24a2108680096b symbol_table: 44112aa704fdcf2927e2f0d398280b4603f226d118e25ff3d90e121a1be04bfa diff --git a/tests/expectations/compiler/compiler/integers/i64/lt.out b/tests/expectations/compiler/compiler/integers/i64/lt.out index 539fed8c87..ebd0282eef 100644 --- a/tests/expectations/compiler/compiler/integers/i64/lt.out +++ b/tests/expectations/compiler/compiler/integers/i64/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 6eecc6aa76c05b3cee492e00a5c7411070cfc056d6c96e29d4c87bddf049909b - initial_input_ast: f59d4a5626491f759e85846d2770353b534d95a1d2caed3fe97c029b3dfd848a - initial_ast: 618d0c57c329a31e5f6e5ebcda323f81ca9711085b200a4a51696105dc932c24 + initial_ast: 0639333eba431ee73648e8d9a802db5e10cae59258e0bd3c157fe457213a6ca8 symbol_table: ea55fe93a40dfe155d585f4222db22e8ead527eb2ad652e48d601077fc0ccda6 diff --git a/tests/expectations/compiler/compiler/integers/i64/max.out b/tests/expectations/compiler/compiler/integers/i64/max.out index 4bc6d8bda3..5d3800a364 100644 --- a/tests/expectations/compiler/compiler/integers/i64/max.out +++ b/tests/expectations/compiler/compiler/integers/i64/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 632ec5f14f9e070c225d727c5fb5e6dd16d0f47d3ea0b408acb66142ed5eb233 - initial_ast: c96c4692ee525c6c7c57b407c2360f9993bbe7dae003119bf134bbeb873bed49 + initial_ast: 441eb9e20bd64b6826895ad65408bb0bcf3fb9aa3041c5c582b8cb829ee5e3c5 symbol_table: cb2212564ae3ed70755444f5c57b4ce7c53622e64150f6a15531f97b73dc7f68 diff --git a/tests/expectations/compiler/compiler/integers/i64/min.out b/tests/expectations/compiler/compiler/integers/i64/min.out index 7fb7a0e7dd..c44bfd365d 100644 --- a/tests/expectations/compiler/compiler/integers/i64/min.out +++ b/tests/expectations/compiler/compiler/integers/i64/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ad738add6c03b6224ccba9d8d735b6645444f9c16f3b652ec4c0903fa4bb33aa - initial_ast: acd812a7eddf5054444ab7a07922c8fa5f4476bbbe80104fb82b3afcdeffe64f + initial_ast: 1c37a6c11db9dc5ff7c2be6cb87d1900ea2302aecd66eb396cd1f768804a99da symbol_table: 2cdba8ac70dcc9d7f69a8ee1612dceca6b574043a4ebdd1b468786a271136ad6 diff --git a/tests/expectations/compiler/compiler/integers/i64/mul.out b/tests/expectations/compiler/compiler/integers/i64/mul.out index 7b9727b72a..10bdd1928e 100644 --- a/tests/expectations/compiler/compiler/integers/i64/mul.out +++ b/tests/expectations/compiler/compiler/integers/i64/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f84b0604594bcebf725f53c7dae3609f276f916ecc9ada555d6984df08f2b13a - initial_ast: ba14426c236b56b55a1dc00c0b4ff11fde0cf83d370676d40c2dfcc3d0305aeb + initial_ast: df201d064de97f5159dc972b93ff4b84206047722c9ce25554b7eef548a0a244 symbol_table: dd0d83c0bf95fc5db6f10896c03a8f2928cdce655f025bf831bfe831896ed770 diff --git a/tests/expectations/compiler/compiler/integers/i64/ne.out b/tests/expectations/compiler/compiler/integers/i64/ne.out index d9a8efa6c0..b6aa1b4588 100644 --- a/tests/expectations/compiler/compiler/integers/i64/ne.out +++ b/tests/expectations/compiler/compiler/integers/i64/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 53f7088f9b1246b2a5a4888f773a137266abcab7f86139e17ded34d7dfd8bad6 - initial_input_ast: d2e3ace89dca587a3f27a36d6ef8736dd713b541923835f2ac7ea5d4acd68c6d - initial_ast: bfd8b293a098cbf87412ab8a1828c8d45c330e8ce111ce3b9767c0081613688f + initial_ast: f115cf62490b73b195fc75ac977786c450be243c2fddab88ef4435631b05a0c1 symbol_table: 9f12ef2d29fa2b770a4f653b98bddf47532ba5e4db8a2bfcdee4bea9a0a5ca1f diff --git a/tests/expectations/compiler/compiler/integers/i64/negate.out b/tests/expectations/compiler/compiler/integers/i64/negate.out index 859d7b5d45..615d15c702 100644 --- a/tests/expectations/compiler/compiler/integers/i64/negate.out +++ b/tests/expectations/compiler/compiler/integers/i64/negate.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 5ac05e1cc879d60426482c7baa8678d1fb55ef8ac0900a901d6c2b7cddc30308 - initial_input_ast: d3ff584044e6a8a943927df5c394d0c8e776e1c99dcbcb24f15218edab344452 - initial_ast: f44c669039a5bcd6d737e6153e8038126d3781ee0fe62d957a521654ff431e8b + initial_ast: 7e734992a702686fe2fc22ff9fac91c0b4db8ea4be9b54ac37f7e6ad161152dc symbol_table: 2d5608c50a692eb8cf4d5ba824ee8c852553f0149f8f07fbb3b90b9f2edd43ba diff --git a/tests/expectations/compiler/compiler/integers/i64/negate_min.out b/tests/expectations/compiler/compiler/integers/i64/negate_min.out index eb385ba062..e1597d3df0 100644 --- a/tests/expectations/compiler/compiler/integers/i64/negate_min.out +++ b/tests/expectations/compiler/compiler/integers/i64/negate_min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d0a6313f717ff07413b8ba9109b9d055e1b4e12f56422335f82ba410137d2c00 - initial_ast: 50a9a46f3d67dd54d8be31b5d9dba6cc386bfcb4819a650aaa6b2766eb072aa3 + initial_ast: 13e221038b63fa5bdf940834c4cad59be102a27efa80faf50d9f15d94b580453 symbol_table: f906ba4cecba6ab5cfa4a1885c6c9727169eddf8b57c1f2624f4c521b4cf26e2 diff --git a/tests/expectations/compiler/compiler/integers/i64/negate_zero.out b/tests/expectations/compiler/compiler/integers/i64/negate_zero.out index f86e10be5d..bdb2084d25 100644 --- a/tests/expectations/compiler/compiler/integers/i64/negate_zero.out +++ b/tests/expectations/compiler/compiler/integers/i64/negate_zero.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 76a0fe2199754831329d9b089d2c02f73d7457aaed6548372169318675b85f48 - initial_ast: dfba34e9dcbbcf24e33bd558bc309de48850e5230d77a3c2a5dd20cec4d97215 + initial_ast: 45f4fc4debc5356e399c0d3a2f6386bd7b6c9a9e656ab85e031e3dfc2a3999f3 symbol_table: 2cc8ee55234106278ad79440cba5023a1bcab591dce962649005c8c6d575b9fe diff --git a/tests/expectations/compiler/compiler/integers/i64/operator_methods.out b/tests/expectations/compiler/compiler/integers/i64/operator_methods.out index 7058b91552..076c707266 100644 --- a/tests/expectations/compiler/compiler/integers/i64/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/i64/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 5e5277b920b7ba4bcffaa670a86bb6c45998ecc3540fa7392446bc050db795f4 - initial_ast: c5113aa50af404cab30854f5f9c86bf30ddd6de72678898893f6d98d3555875d + initial_ast: 6c43a1ad5bc369f5cd506e8609361278b9f07020b098f2d2e040e10b48e5b78e symbol_table: e7e813778e9c2c0c290229b5a8ad15924880c693fd1a3e15645894ff3b735907 diff --git a/tests/expectations/compiler/compiler/integers/i64/or.out b/tests/expectations/compiler/compiler/integers/i64/or.out index 62c45e9797..2741b7ca38 100644 --- a/tests/expectations/compiler/compiler/integers/i64/or.out +++ b/tests/expectations/compiler/compiler/integers/i64/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 816e4f653059a71bcad0180283b41156a125963a270269574ccc2a89fa4db47d - initial_ast: fedaad1d53eb0762d2d45597ba631002220d9cc2fc0feb5f332e78c78e5a6f5a + initial_ast: c64fc87cc51f5307039246c26df461e6cb7e5d0a656f30bfdbce8fb4333dac87 symbol_table: ec1f05e4e4537931602996337765e494f0d466ac049d4ed7b475c5fa2ad2b978 diff --git a/tests/expectations/compiler/compiler/integers/i64/pow.out b/tests/expectations/compiler/compiler/integers/i64/pow.out index fb92331f93..724c1bbaa6 100644 --- a/tests/expectations/compiler/compiler/integers/i64/pow.out +++ b/tests/expectations/compiler/compiler/integers/i64/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 45ec89924eb54df73ffff462969863faebc2cae4f8c23fa42fa4a37796212bed - initial_ast: 1c75c2839590828da7babc6b2ce9f2e9c246edbaf4099f541e59d9805f79144f + initial_ast: 4bfb62750517d6a76c99ae8101c9823bcbfdffc6fe8a221b152e7b5e47a14dad symbol_table: 69ea41f99bf6d0d9f5cce394165ac417c9be15e48e398fd8a4d2d096ad517dc8 diff --git a/tests/expectations/compiler/compiler/integers/i64/shl.out b/tests/expectations/compiler/compiler/integers/i64/shl.out index 5688c39474..0f148406ac 100644 --- a/tests/expectations/compiler/compiler/integers/i64/shl.out +++ b/tests/expectations/compiler/compiler/integers/i64/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a6ff55c9144f97d22d9d2565f4f6501bdd12db6393c12af8765415175a8d4369 - initial_ast: 22db13b18ec57a5c42483dcad52bff9b04863daade91aa2f7dbd085a3ab854b2 + initial_ast: e9b1d7e5a0c714dd6c8e4462b6da5226e1852805533f76df6ee8740eecc4f57e symbol_table: 4754d412e2e5773a714d1f940a2ac6d8bf11839dd42841fbd2d5e6d1155e6506 diff --git a/tests/expectations/compiler/compiler/integers/i64/shr.out b/tests/expectations/compiler/compiler/integers/i64/shr.out index 5e442a4704..f5810cde4c 100644 --- a/tests/expectations/compiler/compiler/integers/i64/shr.out +++ b/tests/expectations/compiler/compiler/integers/i64/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a6ff55c9144f97d22d9d2565f4f6501bdd12db6393c12af8765415175a8d4369 - initial_ast: 7746984ff57a1968c738b59eea47f9922ff5d2ff8ac8806d32f84cf1abbe5bd5 + initial_ast: 62b4f3dcf7dd80633c305b8f271dcc96c006a533426de9372aabc38e02494b1b symbol_table: 830c2a358e1b256afc5295b5145311b952811103ce18e402b6f171165317ee8a diff --git a/tests/expectations/compiler/compiler/integers/i64/sub.out b/tests/expectations/compiler/compiler/integers/i64/sub.out index a5cdbf24c8..9c7d58e420 100644 --- a/tests/expectations/compiler/compiler/integers/i64/sub.out +++ b/tests/expectations/compiler/compiler/integers/i64/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 22e2a316ce039bd533d9624c4eeaa3a34ea4ef1fb53943386696048b8ab1411a - initial_ast: 844b266751cc5f65a15104e2886d9fc0f6e80682c1d9ababcbfabf6c8a3f337f + initial_ast: 04066970593aa644ae37df5e12ab27f199bf9c49985d74f9cefba65eb87a5b64 symbol_table: c8bd1266577970427c416d0d3b0e742025e9d57714754f5f754b2c35b86e08c1 diff --git a/tests/expectations/compiler/compiler/integers/i64/ternary.out b/tests/expectations/compiler/compiler/integers/i64/ternary.out index ca3caf02e3..fa3ba3b3ea 100644 --- a/tests/expectations/compiler/compiler/integers/i64/ternary.out +++ b/tests/expectations/compiler/compiler/integers/i64/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 6e699c3a8f606d3dd85482128f5e1e9cdc1358657e9ce54b409966398c1719fa - initial_input_ast: 2a79896e2d6dc7c1c8ebd14ef9e00db1c124810f2c8e3fbbe23aed75ed1c0f44 - initial_ast: 01df68650cc645bfcacbb896e33aa562b2338ba40cc94ba609425fa5c9781603 + initial_ast: 33a63f44654f1d38cc148f07fb7e3d31371e26eefc50fc8b9a8e202ad9f3668a symbol_table: bb5174054ce865f7162a08ad98663e071ce7ce7cddeea62410f63eb174f50180 diff --git a/tests/expectations/compiler/compiler/integers/i64/xor.out b/tests/expectations/compiler/compiler/integers/i64/xor.out index ee0e23ac2e..6a3395c18c 100644 --- a/tests/expectations/compiler/compiler/integers/i64/xor.out +++ b/tests/expectations/compiler/compiler/integers/i64/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: afccd04ee03ff51a876dc0a22f1b0a330abdc5fc4f8399925121cf295f9ac97a - initial_ast: 632e034dce7badfa9740f577a60b852167a0d56c2f91c9371341f526a91e6a38 + initial_ast: a96600037f54ccf79db839041ab69bd393839711d1fb238652b15d50df56bf3f symbol_table: 313c0f810508fdc05ed5b1a9c75ff06b932a71f64fd7887200b81c3c687afb70 diff --git a/tests/expectations/compiler/compiler/integers/i8/add.out b/tests/expectations/compiler/compiler/integers/i8/add.out index f951444ea0..477bc6e504 100644 --- a/tests/expectations/compiler/compiler/integers/i8/add.out +++ b/tests/expectations/compiler/compiler/integers/i8/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 418ca183b24a932ac3abf2861e019adc5050583c575b453b43ab155704f425ce - initial_ast: 9b8ba495d57b7e5e66974c0b736d83359ca5f66216e2f53d08ace8fd39d84e1d + initial_ast: 63e2aafe9fb89024ad67fb1718bb06769c34704d5980f6ef641c895fedc11782 symbol_table: 8e0b9ea83bee50df3f311a5b17320cbfd292664cde1ab1b3edf889776a75ec07 diff --git a/tests/expectations/compiler/compiler/integers/i8/and.out b/tests/expectations/compiler/compiler/integers/i8/and.out index f30c919ecd..6c87527824 100644 --- a/tests/expectations/compiler/compiler/integers/i8/and.out +++ b/tests/expectations/compiler/compiler/integers/i8/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 418ca183b24a932ac3abf2861e019adc5050583c575b453b43ab155704f425ce - initial_ast: 3e0325063d4c324921fb5f95b25730c974b67e7411f9b93a9e6ae57afc1f2d87 + initial_ast: 22143f41f383a6b56f36b26ea4bf59a204dd083cd7ba7746ae6089b68b506cbb symbol_table: b2781521776404f87ded730bffe858f59999b1bb841aef2e67f88a4ff9414ca5 diff --git a/tests/expectations/compiler/compiler/integers/i8/console_assert.out b/tests/expectations/compiler/compiler/integers/i8/console_assert.out index 8821833225..422fab76e5 100644 --- a/tests/expectations/compiler/compiler/integers/i8/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/i8/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: df994f50ec870c32faab82a33e242eb013d207ebd7646a04ebfe21f3f5715cd3 - initial_ast: b36cea1e45e81ea04534e2620bc95b71dd9ae0ee8d47ead3b41c8dd5df544bd6 + initial_ast: 6b4636bdff1da74783315f0599c5c0b70f224fe56dd6dc44dfaf498862ea49d2 symbol_table: ec0d883067d5458d30fab9eaab97dd146ac6e3af22f392cfbec8316dbe11bf44 diff --git a/tests/expectations/compiler/compiler/integers/i8/div.out b/tests/expectations/compiler/compiler/integers/i8/div.out index 4d25e8107a..84931c1faa 100644 --- a/tests/expectations/compiler/compiler/integers/i8/div.out +++ b/tests/expectations/compiler/compiler/integers/i8/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a2921e14c8159b911edd438049c7f2b1d85dfce9b4420abaa60049b687367e65 - initial_ast: fd4c5657c6cc5579329731c6186d14db6c7a158b465dd0ff4c73707568548ced + initial_ast: a4c4475f9596674ad4ce8103520ed08e9f73d2d7aa8308fca18cae283782de32 symbol_table: 4555275e0d2377a7e4d2523e35b3cf3a272ce209027e89f311ebd49ea5b6f129 diff --git a/tests/expectations/compiler/compiler/integers/i8/eq.out b/tests/expectations/compiler/compiler/integers/i8/eq.out index ed69318d86..b7ddc15476 100644 --- a/tests/expectations/compiler/compiler/integers/i8/eq.out +++ b/tests/expectations/compiler/compiler/integers/i8/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 7a7da641486797f409636f344cbe4980b3bc61434b10e9666d5c173385e17373 - initial_ast: 37c94b0dfaaa2d2b715e8ffb6c26d4fe86aae89faa487c6c21a35c512540cd49 + initial_ast: 9afabff955660379d53c088500039f578752a8c1871616a2d3992611dae70372 symbol_table: 5d1547db2068fae457e038ce9262b15bdaa4ee657f9fd5b5f1f917b0193a56b4 diff --git a/tests/expectations/compiler/compiler/integers/i8/ge.out b/tests/expectations/compiler/compiler/integers/i8/ge.out index 590597a78d..d958c708a0 100644 --- a/tests/expectations/compiler/compiler/integers/i8/ge.out +++ b/tests/expectations/compiler/compiler/integers/i8/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: e35cd317b5834dad614daf0af362b96312bb2bc34c3ee3e4143530935351a9fc - initial_input_ast: d874a35e98cadeb480fbdbeffb5233394cba9406f9dfde4c638ddd34861ee0da - initial_ast: 651761fcdec479761f8043e695a2ca57151e9385532e3f841ae6d5e7cf0928c9 + initial_ast: f61e842aa2128a10eac6eab0893e43e289b3fb32aba206da43668c7e6d04ad58 symbol_table: f981c9e364b7efd9bcc7de8da1b7ce9c9b8254106fc7c6a3aefcddb54b531ef3 diff --git a/tests/expectations/compiler/compiler/integers/i8/gt.out b/tests/expectations/compiler/compiler/integers/i8/gt.out index e925339afb..fc40cb1f55 100644 --- a/tests/expectations/compiler/compiler/integers/i8/gt.out +++ b/tests/expectations/compiler/compiler/integers/i8/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: e63b31415b8dcf4698a24700cdcc3669d89f860ed11f6c84923cd8f4d6bb527e - initial_input_ast: e0350ec947989025f7b5cd685b0cedcb493a58cd79b3da90553962ac33cefbf4 - initial_ast: f974570f122729023efdac44f2fca35c07db99e8427ccb1e5c17f7745d16bb1e + initial_ast: 80a5075332b01642b12161eb2e7389d63b4756ab38cf4f1ea184fa58103152a2 symbol_table: 64dccb617e1075d0b3d7ff23c23c1a2699339dd91884f944dfee19be7103d08d diff --git a/tests/expectations/compiler/compiler/integers/i8/le.out b/tests/expectations/compiler/compiler/integers/i8/le.out index bcc8db8764..b74f8c0345 100644 --- a/tests/expectations/compiler/compiler/integers/i8/le.out +++ b/tests/expectations/compiler/compiler/integers/i8/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: e35cd317b5834dad614daf0af362b96312bb2bc34c3ee3e4143530935351a9fc - initial_input_ast: 1f482c22510f50d78c14b5d94b21ae05e514dec423caf02561297898b416c109 - initial_ast: c26c1e325b108735d938459dbc191b3a693a98c982c01b13ab91652661b6f53a + initial_ast: 1fda31b30dffff030098220fd53e5e2811a2235aa49d93bb9cc9159b458a7da4 symbol_table: 61b2ad15c5f8d15fdc61b6d98836799356c4a8a9d3415b3b93d16263485f22e7 diff --git a/tests/expectations/compiler/compiler/integers/i8/lt.out b/tests/expectations/compiler/compiler/integers/i8/lt.out index fce0ab9fdb..b0b92690db 100644 --- a/tests/expectations/compiler/compiler/integers/i8/lt.out +++ b/tests/expectations/compiler/compiler/integers/i8/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 19169cbb3c5a59a1e5490bd2bda1fdb09104022b499b31c3645c24ea109e9aa8 - initial_input_ast: 70185fa43618a91a29ca84dfc2d422c69a4a5da2e9055d7de54a13cdb5d4231a - initial_ast: 03b007765c7a7cf6a728387d84ff1f80eff204b082e2da3cef5328c7023c874f + initial_ast: 87fca23168c5112f92f906213d7c04d41da2f9e69f0c9b5f2bd2803e9c511597 symbol_table: e6251d92adc77f2a840325b377f59e2fdb93271b8ed219598b656311a166956c diff --git a/tests/expectations/compiler/compiler/integers/i8/max.out b/tests/expectations/compiler/compiler/integers/i8/max.out index e7517f2f12..f684779786 100644 --- a/tests/expectations/compiler/compiler/integers/i8/max.out +++ b/tests/expectations/compiler/compiler/integers/i8/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c7cfa681865a1c0623cfd356162d0c6750f3e06fb72126585eace0aeb21bae77 - initial_ast: e6a3fc15235e0706a85f82641374f0467228c50837e7b846596320d536efd87c + initial_ast: 142c791a86d2da044a635ff809795467c0fe56fddab2da461701b86c962f24ba symbol_table: 1b3e9d243de52bd4c605c6202a07fc6bceeb01559c6d07fe3c13338c426ac9a2 diff --git a/tests/expectations/compiler/compiler/integers/i8/min.out b/tests/expectations/compiler/compiler/integers/i8/min.out index 84a9b1054c..f2d3247a73 100644 --- a/tests/expectations/compiler/compiler/integers/i8/min.out +++ b/tests/expectations/compiler/compiler/integers/i8/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: bdf7f8a6f92b7acd8c798becc30b2f6a8cf6b0ed714c168c5a9e5559988b2185 - initial_ast: cbd2798a107921e8e712cece748a71b5bcc92757c652b3ccf39bb06ea2a6db05 + initial_ast: 1f4036acfcc74868d883a3a476bb7f0d2aaf54c0ea507f1afaefe03074479965 symbol_table: 35926c3af44cca918545acb2ef583e041658e31c4a7731e208fea44feb09cef3 diff --git a/tests/expectations/compiler/compiler/integers/i8/mul.out b/tests/expectations/compiler/compiler/integers/i8/mul.out index 4da05466d6..087c22c585 100644 --- a/tests/expectations/compiler/compiler/integers/i8/mul.out +++ b/tests/expectations/compiler/compiler/integers/i8/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f94c9c57a09035126762720835869947bf4abb61f29f9e6ae15bed04e399338a - initial_ast: da3cb088ebebe03c45e29571b20cd3edf89f071616e5e7a0e86881d705cc4418 + initial_ast: 1379ff6afd8de96e5215bd72dbedfd66c70514aa943a792b931e3133cd897416 symbol_table: e4e5cb710e548721cdc09133278331806efd3ef860c81010e14b6da902c63fd6 diff --git a/tests/expectations/compiler/compiler/integers/i8/ne.out b/tests/expectations/compiler/compiler/integers/i8/ne.out index 5f952df42d..90a4893f91 100644 --- a/tests/expectations/compiler/compiler/integers/i8/ne.out +++ b/tests/expectations/compiler/compiler/integers/i8/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: b1cd26a625c709bb94ee5913524afc6b1b83a8c1515922ba8b14dda385e0ca68 - initial_input_ast: 671b2b3f086c62570bf29a08fe2e5adc48f71725317b0e3803acebe92dc846d8 - initial_ast: 9f19e8654dacc11a69d9f2fc56cf167d656ff2a0c37c236682f2ae4844a4383e + initial_ast: a9aa58a0fe6c81df3487e38da263ed454ed0a1ce4dc47a9ba68d7b04c3c96588 symbol_table: 27e9ff31dfd70c3355a9a0944292bc80f19262479b3e2cf1d66e897f77903e12 diff --git a/tests/expectations/compiler/compiler/integers/i8/negate.out b/tests/expectations/compiler/compiler/integers/i8/negate.out index 53d92d0c71..5f2361ca8f 100644 --- a/tests/expectations/compiler/compiler/integers/i8/negate.out +++ b/tests/expectations/compiler/compiler/integers/i8/negate.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 0e496fab37ba66e63b3906e0fbb11dd2449210b056394c910f90fb02c7c35ec2 - initial_input_ast: cc84f02e75bbc4ff7389b2e60e3fc598ebc32c9eaac36a43f8a4687a1ee5f1be - initial_ast: 9263cc43456a22284eeb274a610b7d027663512a59d9c258c8ba80c862764cd1 + initial_ast: 5fb5076e1a8680b6c35c60533c57f33c7b05afe5a18cc467c03f26d308e341c7 symbol_table: a78bc27e15eca8b0f2aa6a289351955b7c525a4d3617f9d59a5b0989d577ddbb diff --git a/tests/expectations/compiler/compiler/integers/i8/negate_min.out b/tests/expectations/compiler/compiler/integers/i8/negate_min.out index 845d6a4555..27f76d6f1e 100644 --- a/tests/expectations/compiler/compiler/integers/i8/negate_min.out +++ b/tests/expectations/compiler/compiler/integers/i8/negate_min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a1bd925fa2e13279fba1cf269924a81f2dc45c5dff42f62c3d6a4f1e7a368613 - initial_ast: 6f9d33d3d24c97deed44cfca0c697a96d9ff75f26cc0dddde32c397d4c0c742b + initial_ast: 5bdc65e289dac3fab12e24fe51e16b4a773b805e1034e9180e6b7275ec585a8e symbol_table: 41d846fa1adfa0b4eb4ce77bd2691018d3e642516727dd5cee6f3db269528dfb diff --git a/tests/expectations/compiler/compiler/integers/i8/negate_zero.out b/tests/expectations/compiler/compiler/integers/i8/negate_zero.out index 1627ff653c..5202a6fb00 100644 --- a/tests/expectations/compiler/compiler/integers/i8/negate_zero.out +++ b/tests/expectations/compiler/compiler/integers/i8/negate_zero.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 2f8bdfd57bd177ef6ba420992c9b8246f27a332126ed41021cf718db1f89fce2 - initial_ast: 84dfaa1d77da000ea8bc1d3e8e35e379dbf1ac123b070bb557a6b3c48953d3b9 + initial_ast: 2e23e03a7908ff1bc84c11ddf13945d7fd25fc5084f5c60f1b9d5d95978714f8 symbol_table: 2b6a5dd88525428542fb220c4d8e501b41655d4040b29e2ef89c9642f0c4efc8 diff --git a/tests/expectations/compiler/compiler/integers/i8/operator_methods.out b/tests/expectations/compiler/compiler/integers/i8/operator_methods.out index 62c7784398..1de80aad51 100644 --- a/tests/expectations/compiler/compiler/integers/i8/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/i8/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 15ad88e6dd28c72e4202ecef608cf1b1db73eceba4024607a1ece070f7f31942 - initial_ast: 3b8d8d8a958e5b64ebe5fc5f810ae977b229fe0aa853b937a828602d008cfc8f + initial_ast: 6e44db0cf93401d21372b7dd688b0826efcb01036ff50b54862d12235201446e symbol_table: 520c04593aac56a31728b35e24b74e81e884be8bb40a7669ae30772ed3cf87f7 diff --git a/tests/expectations/compiler/compiler/integers/i8/or.out b/tests/expectations/compiler/compiler/integers/i8/or.out index 4471897fd4..9014e0e5bd 100644 --- a/tests/expectations/compiler/compiler/integers/i8/or.out +++ b/tests/expectations/compiler/compiler/integers/i8/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 418ca183b24a932ac3abf2861e019adc5050583c575b453b43ab155704f425ce - initial_ast: 1fc1622d1639f9ef8978b490eb13e9c50b974fc59c9cbad2eadf6b9d3aa76ee0 + initial_ast: 18cfbf8e9f363d7477ee0c7509fd909c7f4929ffa2b4c2f46113d85c0f2b481d symbol_table: 5266cce1cdf8224771fcdd2e36dfadd30d9f3f5bc9722db2316670a5ed83b0b1 diff --git a/tests/expectations/compiler/compiler/integers/i8/pow.out b/tests/expectations/compiler/compiler/integers/i8/pow.out index 3ebf0c22c5..1164ccfb97 100644 --- a/tests/expectations/compiler/compiler/integers/i8/pow.out +++ b/tests/expectations/compiler/compiler/integers/i8/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: fce55063674f3154f8ddb6d64c4fcdb82203cd3e19017c797e5509e75227d226 - initial_ast: 7121f01141a3f00744a0a8ecde5ad19cd50fd646076b7ea890f547508001080d + initial_ast: b616f39c56d8c281d96a690906c8ba6bbc81831a653a2803cf92477bff148621 symbol_table: 9c77abb7b704660e85bd78e304db4d62efb80051fbd4e07c5a8afd72ddec24b4 diff --git a/tests/expectations/compiler/compiler/integers/i8/shl.out b/tests/expectations/compiler/compiler/integers/i8/shl.out index 80fa1a0b01..2b867a3ed6 100644 --- a/tests/expectations/compiler/compiler/integers/i8/shl.out +++ b/tests/expectations/compiler/compiler/integers/i8/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 46761fa9dc62c5871413b18e0da193bb98f1401ebf32e057eb7afe369fddcc1a - initial_ast: e785516d28304ea36f090a4e0bf3a0613fbaa2b41ca24fb177ee50fb0c329187 + initial_ast: 0e3218faca332771d9e3b01ec42562dfa4738b2452a97dbe0eba14c4ac22ca42 symbol_table: 25693a7adb577f7419c27015fb097fc96fe95f71762343d9e8d7053422973a3e diff --git a/tests/expectations/compiler/compiler/integers/i8/shr.out b/tests/expectations/compiler/compiler/integers/i8/shr.out index b52ec0dc80..aa26262d9a 100644 --- a/tests/expectations/compiler/compiler/integers/i8/shr.out +++ b/tests/expectations/compiler/compiler/integers/i8/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 46761fa9dc62c5871413b18e0da193bb98f1401ebf32e057eb7afe369fddcc1a - initial_ast: 43e0f566063496aa29433a93d668755fe05b60ea554652ec3f18be6b72325d47 + initial_ast: 6ae8451b1b11dfaa8bcafd29c398c14ce99b3ee4a39f6d9758c9bbca5453c44d symbol_table: 33aea3edb28878ab9a2a87d0c534e7b8d89492d1f142321fa1b6d3aa089e075f diff --git a/tests/expectations/compiler/compiler/integers/i8/sub.out b/tests/expectations/compiler/compiler/integers/i8/sub.out index 2eef10fcd8..53780673c1 100644 --- a/tests/expectations/compiler/compiler/integers/i8/sub.out +++ b/tests/expectations/compiler/compiler/integers/i8/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d6ff175d17561f3b4a70c3b7b2dc6232593c77a2614e2161eeebe72d96cf9843 - initial_ast: 29a4ac5d0f91e74f8bb730798ed1d61936a39ac408298df0a13f5b86df2e747f + initial_ast: f8bcaa0b34d642cb37c8be5ab7eb226dc565a5802d69795eb197e8b1e5b45d0c symbol_table: 3d953695db053c4d923905b7ba2cf4a07258eab1073ec32350a42b1ff21e062c diff --git a/tests/expectations/compiler/compiler/integers/i8/ternary.out b/tests/expectations/compiler/compiler/integers/i8/ternary.out index 0ecc39416c..b023686a1c 100644 --- a/tests/expectations/compiler/compiler/integers/i8/ternary.out +++ b/tests/expectations/compiler/compiler/integers/i8/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: d9c9f985b366f3218f7a382946e2e661652a62c6cbd1c210e4bf283e9e45a0e4 - initial_input_ast: 9dddec9d0f1cac8c804a46cded65f8902bf28e181149c73bf6c4d5be8fe6e21f - initial_ast: 4ae6a7c17784482c06a7d426b8be8cdfacf52c141ff42cae950a8054d9d628f7 + initial_ast: fbeeedb9bf32f4014d27172da623e262db55ae27ad367d09e31cb71bc4b974cc symbol_table: b21d2e90eac903afce4b0b3d2b7683d7861017f4debf75b7f772dfef57912a99 diff --git a/tests/expectations/compiler/compiler/integers/i8/xor.out b/tests/expectations/compiler/compiler/integers/i8/xor.out index 0a6ce0727c..dfaacc1a30 100644 --- a/tests/expectations/compiler/compiler/integers/i8/xor.out +++ b/tests/expectations/compiler/compiler/integers/i8/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 049a158cda473ea574f3a1a41b7b12044d952feaffcd7fe391507fbb542a51a9 - initial_ast: f9707c8221f87750e35dba0c0db3a0cce3e705058ddd0282df9072166daf362d + initial_ast: 8a8881ec1d45699722c00fb217887df56d7c5f6ba997c126829e9e2047592a60 symbol_table: 76e82cf351d3ca832c6a4feee4df18b1c01d445d5fd727f317199ea7e2cd172f diff --git a/tests/expectations/compiler/compiler/integers/u128/add.out b/tests/expectations/compiler/compiler/integers/u128/add.out index 8550fa355c..f592d5d993 100644 --- a/tests/expectations/compiler/compiler/integers/u128/add.out +++ b/tests/expectations/compiler/compiler/integers/u128/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 0b4b4bf798b6f2dfcf78b0d4f72c37c8c8c240ba2668fcbbcaa29fff825a4cee - initial_ast: eb2d9bd724ce3b7ae6ccbfaec8b24d974fa95e0c7864abf766bf9865a44e72ce + initial_ast: c09bcbdf96f73f93cdf12a30fcb17f317f484279ef95a405ac024b497d89e2ff symbol_table: 85b962b65942577bd29569717e56d2d69e66f7bcba0179cf8d2baec07f7e8af6 diff --git a/tests/expectations/compiler/compiler/integers/u128/and.out b/tests/expectations/compiler/compiler/integers/u128/and.out index a5c6ffb07a..e36a5b0597 100644 --- a/tests/expectations/compiler/compiler/integers/u128/and.out +++ b/tests/expectations/compiler/compiler/integers/u128/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 0b4b4bf798b6f2dfcf78b0d4f72c37c8c8c240ba2668fcbbcaa29fff825a4cee - initial_ast: f6d5d7bf6e71c8831f1c77ac19c52b69729f714f1e28b2f712b3dd1e0dbc6272 + initial_ast: d09e17e06ecf81563bcf4cd91f0b1ff31683f7e76717aa9dbae3a38b6b0093cc symbol_table: 8633b857bc63a9594822c85c3059ef6a3549c714292105afab1fd5bacc037704 diff --git a/tests/expectations/compiler/compiler/integers/u128/console_assert.out b/tests/expectations/compiler/compiler/integers/u128/console_assert.out index 0a9da161ea..946b9446f0 100644 --- a/tests/expectations/compiler/compiler/integers/u128/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/u128/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d33717e99abedf3d3ad1ca7e18212fafc940639a0005c934ee43b7ec10131e94 - initial_ast: bdebc852781b9449ec04b8682c875732f3ecd26c24ae271f517e0393b88dac6d + initial_ast: c7ec9e92e0ac15c17db0c5d40b53c394d4da748f7f37ff2fee74baaa956165ad symbol_table: d4076bbf2b0c5f3d746fc83776930936a1652df9937f5010ce7984f53c670018 diff --git a/tests/expectations/compiler/compiler/integers/u128/div.out b/tests/expectations/compiler/compiler/integers/u128/div.out index 4d1a367d6e..8398ef7883 100644 --- a/tests/expectations/compiler/compiler/integers/u128/div.out +++ b/tests/expectations/compiler/compiler/integers/u128/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 312caa259bb60c26c8e61169dcfa1dc94174d1a50c35a6d889ef1eed7880532e - initial_ast: 60bc2b4feddb64c20588dff6a1b7b8aca851b258dbdc0ca167e86429c14684b4 + initial_ast: 470aa930cedf15168fea1fcddd49d7cedd5410599ae372c5bea9948aef2bd7f0 symbol_table: b860f0736b19cbc0a9e9bc36c631aa8950663669440f273a1def28dc9d3ffaf7 diff --git a/tests/expectations/compiler/compiler/integers/u128/eq.out b/tests/expectations/compiler/compiler/integers/u128/eq.out index b75f39e1da..3789cfa99a 100644 --- a/tests/expectations/compiler/compiler/integers/u128/eq.out +++ b/tests/expectations/compiler/compiler/integers/u128/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ed076eaaf99eeab4483cbe3f371ca5bead0ebb316e7b9e02708bf35dfdcc15e0 - initial_ast: 42a0cdfbd13873ba208fb1fe9b243a034b8d8ce3fadc49cc5f3538bf420aaef3 + initial_ast: fa1d49c14840d8af2266f95e90b0c7534afb43af6c8365a96796b88a1069f9f8 symbol_table: 810f788ffb3a6bcb04d8ca7b2ad3ea01877ea76777e34e4625418328a1093073 diff --git a/tests/expectations/compiler/compiler/integers/u128/ge.out b/tests/expectations/compiler/compiler/integers/u128/ge.out index 198821dc1b..a95735d91d 100644 --- a/tests/expectations/compiler/compiler/integers/u128/ge.out +++ b/tests/expectations/compiler/compiler/integers/u128/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 114a06e1bb4a0c3728adc7668365d8deea159ccffc14b1977ba2bba2b05f3987 - initial_input_ast: c8fc11e4265deb71385cf129d8cac917eecdc35c993f569bc339e49fc26e0dab - initial_ast: aab61bb86b46f6fed437ec9fd515403ec9a06e43e5c6266c1b68be399ec5c0ee + initial_ast: 22866aca009cd492205eb33e5de776e410d245afad2b944536236fc5ffc7becc symbol_table: 19da08d5871f5527b71d95b2915abfded4f83f044ade9473911e8ae3ae1f8d07 diff --git a/tests/expectations/compiler/compiler/integers/u128/gt.out b/tests/expectations/compiler/compiler/integers/u128/gt.out index eace31f96b..169b15d8df 100644 --- a/tests/expectations/compiler/compiler/integers/u128/gt.out +++ b/tests/expectations/compiler/compiler/integers/u128/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 490a83da761d8daffa5b10e1d9785fe301129b18eaa8b4be8550a1037c92e037 - initial_input_ast: a9fbdd31d60c3b135c46eb07ffc291d906e61283f66b5ddda81080adb1b72c4d - initial_ast: 70e05592a11a1f98430e4f37ae4814eceec2cd402f6e4af63e4e511dd54f5b3a + initial_ast: 97e1caf8274c2e27e34f2218ab5aadd7a14ce8e518e7adc021c5763b7ea3de42 symbol_table: 89707a7895e99e75f57702b9b6ec1c6b2f3c47ed08cc9dc574e444b3659d18e4 diff --git a/tests/expectations/compiler/compiler/integers/u128/le.out b/tests/expectations/compiler/compiler/integers/u128/le.out index 369de4b24e..5c2567a1f0 100644 --- a/tests/expectations/compiler/compiler/integers/u128/le.out +++ b/tests/expectations/compiler/compiler/integers/u128/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 114a06e1bb4a0c3728adc7668365d8deea159ccffc14b1977ba2bba2b05f3987 - initial_input_ast: d86e46eff4d53385160f9e227d120be02cff1d0bd25359f7dcd99cd98a7b6689 - initial_ast: 157f05d319366f899a98d2eae455a9f9f07f7e820f0466e34f822c1a012d8b2a + initial_ast: aac1210ac91250cf116e6b8c4af27d042526704975d394f694b875ee7c7bdca4 symbol_table: a9272e3c4642bf4d1729d1ede11f4116b76f22a07b245197e8bb8d49a97bcd52 diff --git a/tests/expectations/compiler/compiler/integers/u128/lt.out b/tests/expectations/compiler/compiler/integers/u128/lt.out index bf6f5623c0..74e3a2a251 100644 --- a/tests/expectations/compiler/compiler/integers/u128/lt.out +++ b/tests/expectations/compiler/compiler/integers/u128/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 81a226fee5bd7855328403195937bf7dbad374f94e29afa8b750b5b1a3aa47dd - initial_input_ast: d68bda01a4ba78c58809ac0c8286b56fafeb17702abf7a6cb9a7195a3aef8317 - initial_ast: b78be2228271135bf04bbe7608da53041afffdffa05e0c7a5237907ad9695670 + initial_ast: 6e319b6448230333f01fcbc23928f2d07a7d52ecf356c42ba5a9f17f85030c6d symbol_table: 9fb210efb68e147ee91dda83bbc74fe51067b5fecd0260dd75f8e3e9e368ced3 diff --git a/tests/expectations/compiler/compiler/integers/u128/max.out b/tests/expectations/compiler/compiler/integers/u128/max.out index 7254ccc8f3..3eae7977b9 100644 --- a/tests/expectations/compiler/compiler/integers/u128/max.out +++ b/tests/expectations/compiler/compiler/integers/u128/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a2ab6a89c5952a113fbecdeb630917b4699c38dcda5971528ab35cdd5e92c216 - initial_ast: cbfda49216a1ae47be2b829806e29ac0721bc4b399c372d45eaef11119605037 + initial_ast: f74810c683ca376b62ab74f8c03d59de896c3463a348a2e7c83c2891fe11d235 symbol_table: 9c203cd288a2f3577f640688fee03a294455dca3bfd408450b9ed4cd8a66ee3e diff --git a/tests/expectations/compiler/compiler/integers/u128/min.out b/tests/expectations/compiler/compiler/integers/u128/min.out index b661847505..c2be5ad1ce 100644 --- a/tests/expectations/compiler/compiler/integers/u128/min.out +++ b/tests/expectations/compiler/compiler/integers/u128/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 886b77241861e32ee76414a8f86e04b86943325113b6b28e9d6805ee61c936ef - initial_ast: 77a81134f78c3391f5cff0be4bfb0b83d86375b013bbf16b21bbdd2fbab69722 + initial_ast: c4ed389c216c8febadfda804cdfd5f84de0ed16592ad293434304819fcde32c2 symbol_table: a65fd445b64a716c9bc40bb14096fbbb96f8a48dd0150107719dad4df3f711b7 diff --git a/tests/expectations/compiler/compiler/integers/u128/mul.out b/tests/expectations/compiler/compiler/integers/u128/mul.out index 6f7a455dac..3b0168a571 100644 --- a/tests/expectations/compiler/compiler/integers/u128/mul.out +++ b/tests/expectations/compiler/compiler/integers/u128/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 55275f9363fdc61c58cf22cc7fea6f1c5314bf2d1c31866a9609b83b050983a3 - initial_ast: bd69ac3aac0ec96b5d373a3bd10392c7ccae2b7a0b6ac9a24b58e1ce5012d95c + initial_ast: 5d6b4ef63ae8e4fe01ee2d19ca2de4f3183af25a84b9d9aa47c4759f9119e3a8 symbol_table: 492476caf2b1e39802f7f2020a5fc5e7d2324d2b1e20ac2ac76143999021bd10 diff --git a/tests/expectations/compiler/compiler/integers/u128/ne.out b/tests/expectations/compiler/compiler/integers/u128/ne.out index a5a267cc12..7e19272616 100644 --- a/tests/expectations/compiler/compiler/integers/u128/ne.out +++ b/tests/expectations/compiler/compiler/integers/u128/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 6092164adf1cbb62c9bc7b5c9615deb73f2d4ca73eca6ae6fa732f7e8a2d6fae - initial_input_ast: 0a73021a07d37a00e70a521b9271d9849c871e4df9395fd866009d3770fc8b9e - initial_ast: f51d951601832d28c761369f53f963d92826b112f6a90d51ea8c04b66c85f6b5 + initial_ast: 401daa77a0b0589d3eb44f7de5efd367afa3c2626463363aab1fde57eb5d90d2 symbol_table: d7ae64f36f0070a56e827f3364bfd08d912442a7b8edcb06e02aab28bc27eb95 diff --git a/tests/expectations/compiler/compiler/integers/u128/operator_methods.out b/tests/expectations/compiler/compiler/integers/u128/operator_methods.out index 5342a4d7b9..346faf57f0 100644 --- a/tests/expectations/compiler/compiler/integers/u128/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/u128/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 90091db06f755dc2e8c920d26390f0dd6a9f7f5401148ab01e46dc77a3900582 - initial_ast: 804c0b3e2eb907802332d6768cb3df70a4d25711e57467d8a41fef59a22b3ec6 + initial_ast: eb4bcc4d57f7f83b382b706f040d3a032a956cb9b262491d42ddfa39caada74b symbol_table: 35232e953001caf05436ab868a14c8961f168f069fbdd2d3e80b3081154e2fe8 diff --git a/tests/expectations/compiler/compiler/integers/u128/or.out b/tests/expectations/compiler/compiler/integers/u128/or.out index 6a95ee4559..8734e67983 100644 --- a/tests/expectations/compiler/compiler/integers/u128/or.out +++ b/tests/expectations/compiler/compiler/integers/u128/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 0b4b4bf798b6f2dfcf78b0d4f72c37c8c8c240ba2668fcbbcaa29fff825a4cee - initial_ast: bca72d953da4d4583ffed27bf5d4942ea5cd85bb9a89e84ec78adcf9fca3400f + initial_ast: 6532d8f436c711698a26f08331718f5cb61dfe1e3d41120d91b4039a5b7db683 symbol_table: c8842d9700fabf587fd28f5019bae7e5abf4e75bebeb57cdde89c43cb795da4a diff --git a/tests/expectations/compiler/compiler/integers/u128/pow.out b/tests/expectations/compiler/compiler/integers/u128/pow.out index cc359db0dd..f73cd73cb2 100644 --- a/tests/expectations/compiler/compiler/integers/u128/pow.out +++ b/tests/expectations/compiler/compiler/integers/u128/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: cc62ad97c13fbb4e272c794e2055e18d7451909c8d827912d0c14f430f8f8812 + initial_ast: 736df282a3b5ffff601dd67e443891125ca67486745f642c1a629df51f139651 symbol_table: 3369bb224fc76977901bd0c162932d08760213d30a0f1ccdf06fd25c45610ade diff --git a/tests/expectations/compiler/compiler/integers/u128/shl.out b/tests/expectations/compiler/compiler/integers/u128/shl.out index ec50b38b13..56b2598e2d 100644 --- a/tests/expectations/compiler/compiler/integers/u128/shl.out +++ b/tests/expectations/compiler/compiler/integers/u128/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 7c048b2df7402d5ae82869bf59ed5e8e37dc37b297e6da315414cdf92f3fe47e - initial_ast: 9555f12bbdb146b54010ebd80f701da7632754148ec5a7e443e71d95b3c80a2d + initial_ast: 8c4b9d867aa5af79625cf321b0fa23ba73d6903c50dcb0ef8a9793a30fdb6948 symbol_table: 08a662c9b3bb0ca82bc79e01a43ac513e20b86c32051d8b14af5a715602f91d0 diff --git a/tests/expectations/compiler/compiler/integers/u128/shr.out b/tests/expectations/compiler/compiler/integers/u128/shr.out index 08bc513b59..cacf428fcc 100644 --- a/tests/expectations/compiler/compiler/integers/u128/shr.out +++ b/tests/expectations/compiler/compiler/integers/u128/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 7c048b2df7402d5ae82869bf59ed5e8e37dc37b297e6da315414cdf92f3fe47e - initial_ast: 04be5cafae764ccd8c02a5bf2123e955bf0587b2d6d710de07a792cf5d7cc4fe + initial_ast: 7a81a139806e719f879fe3f93c6e2af93128c2fc36dda6650ae435ad18b36d99 symbol_table: 2e776b56f9f9d121e5a78ae302c8990b1862c59a893d2302559673ca2f9a1abd diff --git a/tests/expectations/compiler/compiler/integers/u128/sub.out b/tests/expectations/compiler/compiler/integers/u128/sub.out index 4175294900..a0dece37e5 100644 --- a/tests/expectations/compiler/compiler/integers/u128/sub.out +++ b/tests/expectations/compiler/compiler/integers/u128/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 423b332f76b482591a7a7c3003662aea94e81ac3341e384e6ab510287a33fcd8 - initial_ast: 345a7f0fed19b6a03810ae851a981fdbbd9d5f8ab0f981583fbc9c22173be2af + initial_ast: f18ff230b4a7482f58667af30686b4010d20b119db1e3875d912efd8ffd83b4b symbol_table: e912494e08433871177197dc0704564f9b2153f8310c337f2942910a4322727a diff --git a/tests/expectations/compiler/compiler/integers/u128/ternary.out b/tests/expectations/compiler/compiler/integers/u128/ternary.out index f7de7042dc..f30cbb4fa3 100644 --- a/tests/expectations/compiler/compiler/integers/u128/ternary.out +++ b/tests/expectations/compiler/compiler/integers/u128/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: f8a5839bc3ebd5a43da88b4956a763ab9ab3bc2a08cce1e63b4bed90a372cc29 - initial_input_ast: 7791bee70cecfb5adf16a8d4e309a9cde2802bb110f038ded316b751d904e37d - initial_ast: 796497d252092c6265cf527e748c71fedd8aa3001033d51460889b3683b7e0d6 + initial_ast: 73d43529cae30694437cb5762150833c654639587f2e24df0a93312afc1e5b1a symbol_table: 861b84e4240b96a0f87b9b401b1ad2b9142fb257fb3bbaa2c5971657be173c76 diff --git a/tests/expectations/compiler/compiler/integers/u128/xor.out b/tests/expectations/compiler/compiler/integers/u128/xor.out index 4d29dffe26..51c208bc21 100644 --- a/tests/expectations/compiler/compiler/integers/u128/xor.out +++ b/tests/expectations/compiler/compiler/integers/u128/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 9994d676560e6f9ddec4a1b225e6fd50646f1b236db21dcf7dc04771bd2cafaa - initial_ast: a33afdf46485631730da32a1692fd2a11dfcf20f4b40d9991a63b25e597d9d98 + initial_ast: f4d4a7bd9cdc74592091682ae635a0c6e34ce98fec41dc193f4353dca9840974 symbol_table: 7b8962271b265ff5b02b7fe8b0dbd12f483911779de605258ad1f31b56c56810 diff --git a/tests/expectations/compiler/compiler/integers/u16/add.out b/tests/expectations/compiler/compiler/integers/u16/add.out index 297180ea8f..677e2eac04 100644 --- a/tests/expectations/compiler/compiler/integers/u16/add.out +++ b/tests/expectations/compiler/compiler/integers/u16/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 645d8b76a8e35f3c5c40b8a8d7edaf61869ba567db8856ff407c6c6ca93e15ab - initial_ast: 881f78393ecbe323eb2239d8ebc19e1a3147bbe77b002a7c2aa5d6f10d6c3b9b + initial_ast: 0efce2048d443bc625ffe58dbc7af9d7cfcba635825a8dd3480708cc660ab57a symbol_table: fc9af6255d47fab1a9381ef8b213992b64318d93d06aff86fe311d922219d2e5 diff --git a/tests/expectations/compiler/compiler/integers/u16/and.out b/tests/expectations/compiler/compiler/integers/u16/and.out index 1c01918e3a..1f4cc36839 100644 --- a/tests/expectations/compiler/compiler/integers/u16/and.out +++ b/tests/expectations/compiler/compiler/integers/u16/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 645d8b76a8e35f3c5c40b8a8d7edaf61869ba567db8856ff407c6c6ca93e15ab - initial_ast: 8db9f41fbbf8c1abee010372dc35922f91c49aeb20460ed3cfbb6729543e79d0 + initial_ast: 520b6831317851ecf843501a2d1424b63829404ea50b0318b96045fda54bef1c symbol_table: 26a3b1e6e09b0ddd05be6ce9c92593f6721faaced757eb395fd0923516c652c4 diff --git a/tests/expectations/compiler/compiler/integers/u16/console_assert.out b/tests/expectations/compiler/compiler/integers/u16/console_assert.out index 890b621329..abb184d303 100644 --- a/tests/expectations/compiler/compiler/integers/u16/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/u16/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 93f0939fa8d2a71a8de2232636f6fbed581078acf2d6350b551a85b68d3a35f3 - initial_ast: 4f8b671fca80355648b2018e17d8801237424c6969f53e3a31fc8f0fea3351d5 + initial_ast: 68df919b5fb7b992c5e900b16a3c02ef9e2fe737d0ec61d67859c5b22a3630c9 symbol_table: f853476b0d85194a0854b75ac10f909fb99f9113c51052cd1a5f0bf85bc08c33 diff --git a/tests/expectations/compiler/compiler/integers/u16/div.out b/tests/expectations/compiler/compiler/integers/u16/div.out index f8134b0e87..7462bd46f7 100644 --- a/tests/expectations/compiler/compiler/integers/u16/div.out +++ b/tests/expectations/compiler/compiler/integers/u16/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c5d860d9e16d54ba0e74b3d163c409c5ed8228f0716d439faca960550b23941c - initial_ast: c1ba9f99db6095d423df58e571b9528e0294029a486e13062bfde9c16a4becc6 + initial_ast: f72e0c7991f49f2d668f6693a50615eec8a2ddf54f1a92e51f84c34be6b4b240 symbol_table: d503fb2e671a7551cd4a748b105340c9bf66410fd12b3dab6b25dd1b695ba11a diff --git a/tests/expectations/compiler/compiler/integers/u16/eq.out b/tests/expectations/compiler/compiler/integers/u16/eq.out index b6d613f95d..98dfce558f 100644 --- a/tests/expectations/compiler/compiler/integers/u16/eq.out +++ b/tests/expectations/compiler/compiler/integers/u16/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: aacc264ea8f875d044fe9d32dc074877f55b566fe3f5a95a1bbf7193797aa520 - initial_ast: ae109686fa41c074b883fad7e7bb5e4cd4e96badaac5628d77ca559eee924d17 + initial_ast: d8ec08bd1f7422819148f21816252bb209fe01589464ac91d6129d459b27ddd7 symbol_table: c29e55549b8d692f7280790b7f7f199f76936be35d38900c16fef826d466f7f0 diff --git a/tests/expectations/compiler/compiler/integers/u16/ge.out b/tests/expectations/compiler/compiler/integers/u16/ge.out index e34a60bdbe..784c4ac329 100644 --- a/tests/expectations/compiler/compiler/integers/u16/ge.out +++ b/tests/expectations/compiler/compiler/integers/u16/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: a0711a6ed49dec13228ba659a9b314d9ce6676d662813bd195dad9137ff9bc5b - initial_input_ast: c44e22bafbeb5729fbdbbfdce638ff6bccbcebb1ef4958a578915665a9251de9 - initial_ast: f83ad320d9b921f08828e003c01138dffce369d173424e658be3d85908e5da40 + initial_ast: aaa4dc4173cb9fb0c05876f6fdee19e4a81d0c5afc82f7a8b488b0cdfc1e69ae symbol_table: bc6049481a826874d2972746387c9a1a47a457ef22c3ed177fd71ea4b013e479 diff --git a/tests/expectations/compiler/compiler/integers/u16/gt.out b/tests/expectations/compiler/compiler/integers/u16/gt.out index 566e8fb4fe..64fd3743a8 100644 --- a/tests/expectations/compiler/compiler/integers/u16/gt.out +++ b/tests/expectations/compiler/compiler/integers/u16/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: bbcfb719bb3775418cdc7eacc87fea6bb4b463a8ee5baf1ca448115098de0442 - initial_input_ast: baaf3113b1461d0808023e5bcc59d482aa451aa5bff5815bdca2249c1a75515e - initial_ast: 5bbf9200e77520a0ec04cd4365c4e4a867cdaa285d2033a6d2876dff8946ac1e + initial_ast: a142b4368f83dc792a96dfa115f4d8527acb2f87530b5693e26a40efcc9f1c8e symbol_table: 8a398f6aebf358c24e9dd587ce92952ec81b01091b8083fee417004729239fb1 diff --git a/tests/expectations/compiler/compiler/integers/u16/le.out b/tests/expectations/compiler/compiler/integers/u16/le.out index 0dacdf0fda..a539edba0d 100644 --- a/tests/expectations/compiler/compiler/integers/u16/le.out +++ b/tests/expectations/compiler/compiler/integers/u16/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: a0711a6ed49dec13228ba659a9b314d9ce6676d662813bd195dad9137ff9bc5b - initial_input_ast: da98deac955107d3b01e18edeaa906c66b216e029e09959f12a02c64c8b64259 - initial_ast: 33d33351a257f8289d5a9e369255a2355b2fd019164f2a63dd654cb3781b2b89 + initial_ast: cccd56dfff8508f810dc3acae53bac2d3e03afaec697f83bf45cd922ad5a3a63 symbol_table: 2a51ae115af0bdbf3cb60638f584a49945eaa4d44fbeed603042e4849d22b611 diff --git a/tests/expectations/compiler/compiler/integers/u16/lt.out b/tests/expectations/compiler/compiler/integers/u16/lt.out index 6fd4b9ec11..ef4557c157 100644 --- a/tests/expectations/compiler/compiler/integers/u16/lt.out +++ b/tests/expectations/compiler/compiler/integers/u16/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 9383a4837a0adb9b494229de1f4fd4cb519a0afcf273d83dbd78c25c568fada5 - initial_input_ast: 7bb6ab59dd3331f3e0121a736939323f73be4053f91859d186c620fd0e14244c - initial_ast: b3e000b954840afa50b9876a3a8d674eeb253ff7fd8a77c1859975e623923fd0 + initial_ast: 811b1d04a4474b7f3b943caebe9e5fcca1f9fe7e77cc84e6fb85d40d0d66cb55 symbol_table: fbf494506c1a385c0c7fe2a129526511d24000d2d384dcab652c5d945cded4dc diff --git a/tests/expectations/compiler/compiler/integers/u16/max.out b/tests/expectations/compiler/compiler/integers/u16/max.out index 9a53dc6bfd..fcf2021a8c 100644 --- a/tests/expectations/compiler/compiler/integers/u16/max.out +++ b/tests/expectations/compiler/compiler/integers/u16/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 940d740ba40284a1d3c3cf8737facd1e98968224dd93999dbcb336cb3f4ce571 - initial_ast: 5b36844ba31d95877c4569448b5116569e20fefbb15cb57126138a095fdf9d76 + initial_ast: 09d4426d341f39c8164181d9793ffc37acc5a43f2148d5f0d646f146c24d00fb symbol_table: bec7306bb310d7e07b27c36388823bb20beb01af214bb0f1fa99408146b6ef28 diff --git a/tests/expectations/compiler/compiler/integers/u16/min.out b/tests/expectations/compiler/compiler/integers/u16/min.out index 08b80915ff..48632676a9 100644 --- a/tests/expectations/compiler/compiler/integers/u16/min.out +++ b/tests/expectations/compiler/compiler/integers/u16/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c7cfa681865a1c0623cfd356162d0c6750f3e06fb72126585eace0aeb21bae77 - initial_ast: 20b52f80d03bfbbb1638e841512e651a6601e2e59b7a92dac92b29e3ed4c7018 + initial_ast: 4dcfa3acfc7cf76ebcdb36fcb337052b62b0f5855559845cd1ed70942a89dc64 symbol_table: 5deb78bbe52d2923543b4ea4f5646b9236d4b1c5142d80e8cf78b365f825dd54 diff --git a/tests/expectations/compiler/compiler/integers/u16/mul.out b/tests/expectations/compiler/compiler/integers/u16/mul.out index 4433afe982..2e9f36913a 100644 --- a/tests/expectations/compiler/compiler/integers/u16/mul.out +++ b/tests/expectations/compiler/compiler/integers/u16/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 2189415cb99cd7a07d28f5b9fd1f3d5e0da2150942d12da98fe8109c4988b6a3 - initial_ast: 0841372512786ef9115b51258e55c966f4395b51869122304761c8de470f600e + initial_ast: 56f9a8d2c0275f7dfd5894d5a5511a528bef0c016fc5569030c8f83d31fb76a6 symbol_table: 67524bfa6b96b5b199531ea90427d4cd70f525e265de92d04cca02f3d45e6b5e diff --git a/tests/expectations/compiler/compiler/integers/u16/ne.out b/tests/expectations/compiler/compiler/integers/u16/ne.out index a36eddd096..48fb76798e 100644 --- a/tests/expectations/compiler/compiler/integers/u16/ne.out +++ b/tests/expectations/compiler/compiler/integers/u16/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: c044ccf036223e8e8de1b69ffc11755c88021eb7d6fe33f1f51afafeb8b88999 - initial_input_ast: 1927266ff190c94fb9739e2a59c73f17d4ad9cd9b47ef4022c9905087dbe8eac - initial_ast: 2028bb126c0bfc76f63011335a1c377315e096275f84d5636b46889dc7b98630 + initial_ast: 142411669f9231a6caf241a77f9b0382d071adb97f38057cef33152035bd8d57 symbol_table: 8b86b6d82c6c27d86bd474a3beb85a2f3dbc994e06bc108c4c52d0cb5949279a diff --git a/tests/expectations/compiler/compiler/integers/u16/operator_methods.out b/tests/expectations/compiler/compiler/integers/u16/operator_methods.out index 4294c79349..5f033df56a 100644 --- a/tests/expectations/compiler/compiler/integers/u16/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/u16/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: fd9e082741dbeb3963fd5ef3d4fd4c242176c66b4e502b71e92a0832ec5afb43 - initial_ast: a3ddddeacc5d4a6ec5de818cef4527ed68a753ff52b88227b714c5f46b6ede91 + initial_ast: f600a9703875417713535777834d9185aa0423dc52202d8509a47c24a3ff0845 symbol_table: 176a11c6b691769a75d9832a8a39cda404f9793519cab4f2c69b2f74e8b232fc diff --git a/tests/expectations/compiler/compiler/integers/u16/or.out b/tests/expectations/compiler/compiler/integers/u16/or.out index 24d814fc26..d0cdc35499 100644 --- a/tests/expectations/compiler/compiler/integers/u16/or.out +++ b/tests/expectations/compiler/compiler/integers/u16/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 645d8b76a8e35f3c5c40b8a8d7edaf61869ba567db8856ff407c6c6ca93e15ab - initial_ast: 588f4a0bb05f32ede3a81eff0f0aecb48c816652e430779e7251ab04cd5eba01 + initial_ast: b4885ba3ede33a33d77dd109dadd3eeedb830964f2c2be6342e1181b7a91642c symbol_table: 5c0ca24cef788d1986846c082bb05fe137660e3d0886fa56a6bbcef6f9c5adbe diff --git a/tests/expectations/compiler/compiler/integers/u16/pow.out b/tests/expectations/compiler/compiler/integers/u16/pow.out index 5a6ff712d0..e5221bc4c2 100644 --- a/tests/expectations/compiler/compiler/integers/u16/pow.out +++ b/tests/expectations/compiler/compiler/integers/u16/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 2c0abac302ea0ac78650b87145d06eef89469d5fa6234bddc566bc5e918863d3 - initial_ast: 8f10ab14e52d4487a5732e10b939ebda4f2845f688f3a1d0adb52350cd4e4ea6 + initial_ast: 70419a837c7fe4db7f045518fa2ae6be9f4dd22a2db46d3385f91c2ac22f9952 symbol_table: 768253f26147ac3a4f966c3264e1ce2c82170f332d5933f479a3fbbaace09ccf diff --git a/tests/expectations/compiler/compiler/integers/u16/shl.out b/tests/expectations/compiler/compiler/integers/u16/shl.out index f7230216b4..ff65823971 100644 --- a/tests/expectations/compiler/compiler/integers/u16/shl.out +++ b/tests/expectations/compiler/compiler/integers/u16/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a84132ffbda80301c620b10a61957c60ff0cf52c846824353d74deb4b8fb95aa - initial_ast: ae5f43a4821634c5e7afb32f4c188c7174bb5dc176d1bc18d503a4e7f7d44202 + initial_ast: 4c9bdb19e63c3defb3b2217d2aecf610702dc309860a3a28af4fc26ea2b32e95 symbol_table: e1d220cecf6e52f6d651bd26f9894a629d820aec555cf867610da5d80da9525c diff --git a/tests/expectations/compiler/compiler/integers/u16/shr.out b/tests/expectations/compiler/compiler/integers/u16/shr.out index 4fc6133bb1..dcd3bad615 100644 --- a/tests/expectations/compiler/compiler/integers/u16/shr.out +++ b/tests/expectations/compiler/compiler/integers/u16/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a84132ffbda80301c620b10a61957c60ff0cf52c846824353d74deb4b8fb95aa - initial_ast: bd66ff650b6bdf7eff9ec3fae6366dd92dde2331709572ca7fdbaf43c9870778 + initial_ast: 6397eb7568ea82b82d5a91f7ea15e15d393418d756ae018d855bf09246261986 symbol_table: ddc0f90ff6ea32630dd3916ad8169767379c75677a54210c48efae577e59490e diff --git a/tests/expectations/compiler/compiler/integers/u16/sub.out b/tests/expectations/compiler/compiler/integers/u16/sub.out index d9a52b4d93..f9f386a99b 100644 --- a/tests/expectations/compiler/compiler/integers/u16/sub.out +++ b/tests/expectations/compiler/compiler/integers/u16/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 6fb34b6b6c6597f200d98d39d7ec66d5026257323f6e11cea02a2c07d3a482bd - initial_ast: 26c3d0f074620792f291d3f04b79aa2e07ae05744833e003740885b20671536c + initial_ast: ec2e2b4718488d2d07cbe5758260ae2d9d68c827177bd76cc1e5457f65017566 symbol_table: 110177e4f38eec1ce7a4cfc3394abd48fbf0abc8c026aa80f6740854ddf0c601 diff --git a/tests/expectations/compiler/compiler/integers/u16/ternary.out b/tests/expectations/compiler/compiler/integers/u16/ternary.out index 4082db2355..cd3a7a3357 100644 --- a/tests/expectations/compiler/compiler/integers/u16/ternary.out +++ b/tests/expectations/compiler/compiler/integers/u16/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: d61da749e968cb3fb5ff715944606a2fbfe0e9e82a5505eb6de502b12061612d - initial_input_ast: 6058927814d865491ab33221eebd68e6b860e154845faf69e17ccca306817367 - initial_ast: ffea65584b5cee8eb86cad4a12daa591260088a13c0d668fa2f3e88708bbca99 + initial_ast: 80358eaf5d798403150ea7b58b5b45cf3d3a42f1f37152450d359afe309f2b31 symbol_table: a7928661efb06f2c8ba228d5874a051d7f1a89b8ac43a86a6f696c71cafe8c99 diff --git a/tests/expectations/compiler/compiler/integers/u16/xor.out b/tests/expectations/compiler/compiler/integers/u16/xor.out index 3eb2507e24..397b6eeb55 100644 --- a/tests/expectations/compiler/compiler/integers/u16/xor.out +++ b/tests/expectations/compiler/compiler/integers/u16/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c3ec83ed5d2dac98587cbb57952a6dec4a77fe4079c02d69813b75e4c7688dd9 - initial_ast: 248b51993df093a4b5225e584ed128f5e493c6a5b02fba05d0c2e0a48f2abb5d + initial_ast: 8fa7fafe1a99b406cc460d5ef0e6c50ea4397c25e7c36997db4cc23810ef4465 symbol_table: 709b12a2dedc742eb14c7e6b612970af873982c55e0bd4e840932f662ca1b120 diff --git a/tests/expectations/compiler/compiler/integers/u32/add.out b/tests/expectations/compiler/compiler/integers/u32/add.out index de6895f40e..d52e656829 100644 --- a/tests/expectations/compiler/compiler/integers/u32/add.out +++ b/tests/expectations/compiler/compiler/integers/u32/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 24ab39bf0500a015a0573619c40908da20bfbd3bfd4546bb65b6332033c44ac5 - initial_ast: 6ffca452376371665daff7c2b3f88ed18e4b2eb74b675db1adefb82bf65313c3 + initial_ast: fc9b2c59dcc3901aa963eb618fc50a6d32f778010863b35e1b06a63d15fb695d symbol_table: 6ff06ce993f0b5ec8c66ba9e75c5928183dbb6850903db4be5113f04af0ed76c diff --git a/tests/expectations/compiler/compiler/integers/u32/and.out b/tests/expectations/compiler/compiler/integers/u32/and.out index 5eefbd0650..1cbb23e202 100644 --- a/tests/expectations/compiler/compiler/integers/u32/and.out +++ b/tests/expectations/compiler/compiler/integers/u32/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 24ab39bf0500a015a0573619c40908da20bfbd3bfd4546bb65b6332033c44ac5 - initial_ast: 7420f606a7cc0472f37bad469c11d6eab94aee5d4eb31ee5b38e6544aa20c021 + initial_ast: daa2a43799f16cb796d6b97c170c600e42b550ac37a9494edc30b52612843358 symbol_table: 3342cc5fa728477225d5c52b0c8279b13aac977506fbfddb8bb16536f0114751 diff --git a/tests/expectations/compiler/compiler/integers/u32/console_assert.out b/tests/expectations/compiler/compiler/integers/u32/console_assert.out index f6a41f48f3..50120a66dc 100644 --- a/tests/expectations/compiler/compiler/integers/u32/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/u32/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 03bbcc62085e4dd3fea97b5ab55d5a69ee2195c016c5142a591e2c560e531cf7 - initial_ast: 60a5e8e52446d26cae8db7fcb3466bc742a03caeb192e50a7e12f2bd9571fea8 + initial_ast: 09903ab2024e24699030dd6f922b1cc87885a491ebe86bb1d59d157380233f9a symbol_table: 91a6e056fd1be16164f5ce3584ddd1379dd57804d8f86600a2539d5cbf69d9d3 diff --git a/tests/expectations/compiler/compiler/integers/u32/div.out b/tests/expectations/compiler/compiler/integers/u32/div.out index 455bacb18a..79dcbf332b 100644 --- a/tests/expectations/compiler/compiler/integers/u32/div.out +++ b/tests/expectations/compiler/compiler/integers/u32/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 6087c103d4a36793c6956bbc15e83d950a3dfd699a67af67371b24b5eb4f54ca - initial_ast: aa6a56d48a3f63d99ff03f655c24b3a631116f22ce0b8d532f11bd92e7313669 + initial_ast: e6a1184fcf21d1fb2539eeacaabeebfbb8c99e8b588f0c09ae95b6fa60ba77fa symbol_table: 8d74342a843483c6b40c01a16837fd88bad7dc23ced778274c122d544b80c16f diff --git a/tests/expectations/compiler/compiler/integers/u32/eq.out b/tests/expectations/compiler/compiler/integers/u32/eq.out index 5ae608d25e..df044808aa 100644 --- a/tests/expectations/compiler/compiler/integers/u32/eq.out +++ b/tests/expectations/compiler/compiler/integers/u32/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: d1acfd7d802258ef14c025fc36ff6a50cd2d47b9ebca5a6bfb6c9050a343ca5b - initial_ast: 16d3074ca15a0998338ed6092a67e1b337cfb4f0d2d1963b11c204d74783435c + initial_ast: 3930060cab3cda894f9b46576de10b68e7413c6a1779df7f89d4a825d8c33dfa symbol_table: bf9f7466ca3f1f251a1020c27f1bd2da1e9df41aa9ec0ebbe9566ca15ca6d187 diff --git a/tests/expectations/compiler/compiler/integers/u32/ge.out b/tests/expectations/compiler/compiler/integers/u32/ge.out index 765cb60318..b0913e1ae2 100644 --- a/tests/expectations/compiler/compiler/integers/u32/ge.out +++ b/tests/expectations/compiler/compiler/integers/u32/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: d153359c184e6f986eca5f61efb1e108490d7cdc3243494aa38c099ccdfe9a23 - initial_input_ast: a256bf07a585892d533066903adb8ad5052c091f8075646f85301faac29269bd - initial_ast: 75f324581c6ed763fafe7851c15dcb0681ada358417f900d918b4b9216f59e1c + initial_ast: e061368c428c10ca120d110797fa08fd3b1a5e38a272ee6d5c1da7e9da39cb4d symbol_table: 33289cb1ae2c24c67eb595c1e7ba2d3e5781e7636a58bbb18470e85ddaf6a097 diff --git a/tests/expectations/compiler/compiler/integers/u32/gt.out b/tests/expectations/compiler/compiler/integers/u32/gt.out index 56ccf8b772..60603d1fde 100644 --- a/tests/expectations/compiler/compiler/integers/u32/gt.out +++ b/tests/expectations/compiler/compiler/integers/u32/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: c23e9a8097d2aef46d355bb51082c0160068704c7116cc887e28293d14ea69b8 - initial_input_ast: 2ac67c7a3a56989674505fd4862927415cbc16cdefb72d7d3eb3e6ac1d7ad43f - initial_ast: f3dcbce0ec3b117484bbd781db6a02586adcb892a978b09dd0d44dc602520824 + initial_ast: a9de078a8c6ea3a6ad5543eb56b15f866207d25faddbd8b0240aa37da2d45749 symbol_table: 87020d2ad022a8b9be61375c39d7ac099e86f1e35b6e55fb8fdb19688ff7dbf2 diff --git a/tests/expectations/compiler/compiler/integers/u32/le.out b/tests/expectations/compiler/compiler/integers/u32/le.out index 57f5d2bd24..a2546a953a 100644 --- a/tests/expectations/compiler/compiler/integers/u32/le.out +++ b/tests/expectations/compiler/compiler/integers/u32/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: d153359c184e6f986eca5f61efb1e108490d7cdc3243494aa38c099ccdfe9a23 - initial_input_ast: f51ca874221687df1657767748ac98387250608d7f0e5c8102d944dbafbbee34 - initial_ast: bd78135ad83490569fe1ba55bfc6c3f17ccdcf3cfd084bdae846cc4427087c97 + initial_ast: 3d9967a1c55dfea678430b673ef71f117719a2d239f170843a6ead8d5c6a61db symbol_table: 62d131a439325ccf29958918b8ff9531431efe4c3f9f256502c9e71272fde925 diff --git a/tests/expectations/compiler/compiler/integers/u32/lt.out b/tests/expectations/compiler/compiler/integers/u32/lt.out index 1ba75127be..ce0d709541 100644 --- a/tests/expectations/compiler/compiler/integers/u32/lt.out +++ b/tests/expectations/compiler/compiler/integers/u32/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 6af82ba7cfaa60ee0dfa8db6a145d2459bb5255acb4e175329a31d16723b58eb - initial_input_ast: 7d3520f07675ac488044c92eec0b2ee1dc38cfe2f9ec850fe020aea60eeb7a3b - initial_ast: 6e386b1d2340ed0997cd6d766b40f228710c240b9c2f64c01744da884c8d7b73 + initial_ast: 7111e358e69cfc0bf425c821b892ed379ddeb7e704053f660a7149b633f09f18 symbol_table: 4ee1d6b6a6b122bade0b7b39b761bfa9bb440c8f89508b577ed67cf152714625 diff --git a/tests/expectations/compiler/compiler/integers/u32/max.out b/tests/expectations/compiler/compiler/integers/u32/max.out index 5d3de7d996..b4e82b2295 100644 --- a/tests/expectations/compiler/compiler/integers/u32/max.out +++ b/tests/expectations/compiler/compiler/integers/u32/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 76a0fe2199754831329d9b089d2c02f73d7457aaed6548372169318675b85f48 - initial_ast: f251582e32c11d39bb67fb32888cea285a9f731ad199a9197f9231b986797654 + initial_ast: c05447aab11b1d797ac4b137dd2a62b15cf2473d296c70c3bf4b0e39ad943cff symbol_table: cc35eba61d9056f2a1c49d88f7b1ce915dcddc22a35d4426590f3e1c084292f7 diff --git a/tests/expectations/compiler/compiler/integers/u32/min.out b/tests/expectations/compiler/compiler/integers/u32/min.out index eaf68fd4e8..63f1c5bae1 100644 --- a/tests/expectations/compiler/compiler/integers/u32/min.out +++ b/tests/expectations/compiler/compiler/integers/u32/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c7cfa681865a1c0623cfd356162d0c6750f3e06fb72126585eace0aeb21bae77 - initial_ast: c47cf2966939b28e33be53ed416b759fda0d7e285ccfaa935aabaee39f53f348 + initial_ast: 84a1b63182db76d7e1ecf8bf85011f71337b4c756abc57f4eed16d6ccd7404f7 symbol_table: f4928deaa7f57c4f89bb8a9bfcd445dd5ea2334b24bf597394cd02f7596ee859 diff --git a/tests/expectations/compiler/compiler/integers/u32/mul.out b/tests/expectations/compiler/compiler/integers/u32/mul.out index 5fca7805da..bf09dc18a9 100644 --- a/tests/expectations/compiler/compiler/integers/u32/mul.out +++ b/tests/expectations/compiler/compiler/integers/u32/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f8b5b2b0523a7b105beca036d64e7faafd2f3565269eed4ab47b57a4552f803b - initial_ast: 1b77431e2b5be60169b105e72791131c70cb940af3e934fdb0a3713083448006 + initial_ast: 445a52143c5561473e614674752bbfc1f0ab670b799713d2006989dece28d8d5 symbol_table: c8d574a07d984011594cd03bdab453577a66de7aa485e17849b8d30839ab6f04 diff --git a/tests/expectations/compiler/compiler/integers/u32/ne.out b/tests/expectations/compiler/compiler/integers/u32/ne.out index a5c47dd09e..421633f2d7 100644 --- a/tests/expectations/compiler/compiler/integers/u32/ne.out +++ b/tests/expectations/compiler/compiler/integers/u32/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: c36a3ceeb3e7d90b2bf76e7cbce130286c71a0cb86e6671f64bffa99f48e6491 - initial_input_ast: 8c66de958fbaa62572701b17e8fee53c7c5a51473c5deabd7d3279a73b271f21 - initial_ast: 09b1cfd5a3f610406d8f4fddb1c74576aa5efe6a20b5cebb9e4d874123ca9ff9 + initial_ast: a2fce2693c1000822f5e3841994646404df0ffa0f343354362ab19d1da92ce22 symbol_table: 2ffeb5b590edb28b43fcfb4bdcc6912a500861b1483244d38a9bde2b809888af diff --git a/tests/expectations/compiler/compiler/integers/u32/operator_methods.out b/tests/expectations/compiler/compiler/integers/u32/operator_methods.out index 3a32c69117..6a39733361 100644 --- a/tests/expectations/compiler/compiler/integers/u32/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/u32/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ea9df7ef3cc00db98b36855cf13c1091b7d8270ac2b9fe72b36bb7001e93e807 - initial_ast: 77104ae3151cbd27b4d1848bdd8dd4eec481fc179274e028eeeaec213965c353 + initial_ast: 21b59fe60396056673a2f23d87a7544ec9be134f4a5ec02a922a6a0c3ee120ff symbol_table: 306a3645bfedc3b416b80c6b3774129bf53323c953d99d7c43832416478e168f diff --git a/tests/expectations/compiler/compiler/integers/u32/or.out b/tests/expectations/compiler/compiler/integers/u32/or.out index 90bf21365a..1818eb9fdb 100644 --- a/tests/expectations/compiler/compiler/integers/u32/or.out +++ b/tests/expectations/compiler/compiler/integers/u32/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 24ab39bf0500a015a0573619c40908da20bfbd3bfd4546bb65b6332033c44ac5 - initial_ast: b999fb68844e62a16b2065399e38bca201ae4360cd703fb9f89a6b353b6d5730 + initial_ast: 135d3a6df58371792424ff8dc87d24b7938aef33f4e13cb016a39de0c9aba20f symbol_table: 7316cf87c3e4cd5d44d718539c5157363ad2660b240f622e7822d46b9914f408 diff --git a/tests/expectations/compiler/compiler/integers/u32/pow.out b/tests/expectations/compiler/compiler/integers/u32/pow.out index 29eddf6e3e..5911daa834 100644 --- a/tests/expectations/compiler/compiler/integers/u32/pow.out +++ b/tests/expectations/compiler/compiler/integers/u32/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 1b21a26a6e63949b68f60b4d8d5aceddd14582b1e7a97b8170c0575ec9b8c62d - initial_ast: 83948e3b306ccdd74b74d341409f213908f1349a7d06eba737c05a0485303b1f + initial_ast: 2daddd8a1b6d1fc3bd84b9b72a59f711fe6e2afaed0bf248796ad4f967f8a6bf symbol_table: de3c502b4c82d434663028637ad0351867b493e3e7e956dba308cc190ba0611a diff --git a/tests/expectations/compiler/compiler/integers/u32/shl.out b/tests/expectations/compiler/compiler/integers/u32/shl.out index f729c62447..323e527e43 100644 --- a/tests/expectations/compiler/compiler/integers/u32/shl.out +++ b/tests/expectations/compiler/compiler/integers/u32/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 0942fc3a0aaa64dd019acd4dcd23a548b11ad692ed1af1703201286bf3474552 - initial_ast: 127bb0832ac7584e195d6b51411f73839ff9d845a11a0ee9968718901440e063 + initial_ast: fe46e8d2f3a5f44c9e0298175ee1a9afdea56eb55cc7d959be20dba5cabf5c04 symbol_table: fb3d46fc3d95e6bce11f9a9d750413003af5be754309e7815c09c812daa84041 diff --git a/tests/expectations/compiler/compiler/integers/u32/shr.out b/tests/expectations/compiler/compiler/integers/u32/shr.out index 8da779bee3..4cb9450b04 100644 --- a/tests/expectations/compiler/compiler/integers/u32/shr.out +++ b/tests/expectations/compiler/compiler/integers/u32/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 0942fc3a0aaa64dd019acd4dcd23a548b11ad692ed1af1703201286bf3474552 - initial_ast: 4009bea65283b5f83cd412fdbdf8661c5a7b347cc96bcf8dce5608b3f242d7f6 + initial_ast: 9289596bee932cb6a10e55ecf4f8fae109c4ee8f1b450c212546d9887014e618 symbol_table: 4314d90f85efdfdd0a99a45b775f6b032a4872bd2f02501a1a71f5f531c827e9 diff --git a/tests/expectations/compiler/compiler/integers/u32/sub.out b/tests/expectations/compiler/compiler/integers/u32/sub.out index 3e779fd671..9173d802ee 100644 --- a/tests/expectations/compiler/compiler/integers/u32/sub.out +++ b/tests/expectations/compiler/compiler/integers/u32/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 8bea12e1a0f364a123045ecb496654c9448a99278cc875dae01f17b2d9fb3485 - initial_ast: 58d887c6a06d8d7cafce9ba275a2a65c3b8380e1b928bccc00e1d8e7c6df095b + initial_ast: dbd7ac04b429e55feb60410fa01f02152ca2b763ee1a6d7d3324314991838072 symbol_table: d4310691d3e4ebd32d0daf09959bb283958cbc21e380f4b0dbc2acdaa8ec2814 diff --git a/tests/expectations/compiler/compiler/integers/u32/ternary.out b/tests/expectations/compiler/compiler/integers/u32/ternary.out index 659d7d3680..7ad2d14eb1 100644 --- a/tests/expectations/compiler/compiler/integers/u32/ternary.out +++ b/tests/expectations/compiler/compiler/integers/u32/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 27f7025a824f61583d50487c11fc97bd272d7dd79c002f0123252457885d7aef - initial_input_ast: ee9d28f19ee516c2adbca501a7e239df0a8c55189994a7480fabfa1baa79cb54 - initial_ast: ebade8a35daf27ffe41b95f92ac358b6dfd9014428442a4ac05f58b2da3db5f9 + initial_ast: a501d6b24248229cc476db3c38556aacb27ad8a2aa6398569a13c2fc87cb122b symbol_table: 8284d3b33f9ced79baf054d55f75b359035654b6ad1f1cfd84a51e2ee6e7ff2b diff --git a/tests/expectations/compiler/compiler/integers/u32/xor.out b/tests/expectations/compiler/compiler/integers/u32/xor.out index 565feae2bc..5e1b7baf18 100644 --- a/tests/expectations/compiler/compiler/integers/u32/xor.out +++ b/tests/expectations/compiler/compiler/integers/u32/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 7c48dc804dbb838ac85e31f9d913f494e82e941e19a7d0488f8017aa5b421d43 - initial_ast: e2e9b8f8db418b2ad09704a0b3e3f851dd95ff6e66968ee6d9f99cb96365bebf + initial_ast: 1a2b553b70b259e98ab8a4ec91d4b9561894f243239b881cc05a5b25243d6363 symbol_table: c835424abfefaf8edb53c1b6f7d136300eb8b931a185655cb218cdacf8ff5e0b diff --git a/tests/expectations/compiler/compiler/integers/u64/add.out b/tests/expectations/compiler/compiler/integers/u64/add.out index 37020760fb..2f4ffd9a27 100644 --- a/tests/expectations/compiler/compiler/integers/u64/add.out +++ b/tests/expectations/compiler/compiler/integers/u64/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: b50fe7e5fcca4c73fff46b376e3eedec9ae02e15ca9f2d4f33f3a1b77b3f9168 - initial_ast: 181895f1470625ce559396cbec1fef2f099932ffc3d6e5383ea4e9e66f74b30e + initial_ast: 340164d2eb54080cf67f584148ece7d5873c20a570a6bb0173d2d7fe8512e97b symbol_table: feb2633a6e533889f6d0727d747943f113c06939c9c7f642799efc17ae7fa3e5 diff --git a/tests/expectations/compiler/compiler/integers/u64/and.out b/tests/expectations/compiler/compiler/integers/u64/and.out index 35e2fd51d9..daf06b62ef 100644 --- a/tests/expectations/compiler/compiler/integers/u64/and.out +++ b/tests/expectations/compiler/compiler/integers/u64/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: b50fe7e5fcca4c73fff46b376e3eedec9ae02e15ca9f2d4f33f3a1b77b3f9168 - initial_ast: 8ac42059f2ab5edd89e14ea2b1546af4fa76663f38a9378de3964e8cd6b96074 + initial_ast: 17d5fbf0845373e1b8b4dad54571cfc95015715414cb1b11e89ec0b3e2e2116d symbol_table: 32c1bbb7840d0c5c96608bc6dd048086efce8887e9461e17c0ffc98fde7c9e55 diff --git a/tests/expectations/compiler/compiler/integers/u64/console_assert.out b/tests/expectations/compiler/compiler/integers/u64/console_assert.out index 9e622a33eb..436804c186 100644 --- a/tests/expectations/compiler/compiler/integers/u64/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/u64/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3d51bf3df58d2d1681a5d016d678cc89b339975bd257812cd4cd60160fb433ee - initial_ast: 3a214f5157f48a2684b0a5dacae5b846a591c3e18385ab8cdf550ad38fa7f020 + initial_ast: 5b3f45f81f96fd2606f09a1936b302b896a610c3f72f4d1549648cf506fe65b4 symbol_table: ac9e61a4c28bf284f0fe18e8ccafa7c34c469039bd7cf2d9771750362f586d35 diff --git a/tests/expectations/compiler/compiler/integers/u64/div.out b/tests/expectations/compiler/compiler/integers/u64/div.out index 7c80994b5f..b2eaae9307 100644 --- a/tests/expectations/compiler/compiler/integers/u64/div.out +++ b/tests/expectations/compiler/compiler/integers/u64/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: beeb0a9eacf523f7e10c566f746ffb272b789646ba1a471cea54faeeeb535464 - initial_ast: 44cb0ce3ebf54619235f41075a9684dd67bcdd1119f8ea74cc7501dd7fad0c33 + initial_ast: a79fed9ce5b7424f09ebfab59dc874c2b43cc71955d4c8d0d8c1f9277288d5be symbol_table: f7a687b45c1bc3c1c90675e1507417c240e2655ae5b6554fbca6a66a42c1f7b5 diff --git a/tests/expectations/compiler/compiler/integers/u64/eq.out b/tests/expectations/compiler/compiler/integers/u64/eq.out index 403bf6fa65..08c9553d16 100644 --- a/tests/expectations/compiler/compiler/integers/u64/eq.out +++ b/tests/expectations/compiler/compiler/integers/u64/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 1e05ac8daa4ebb9edbb2929a2a30db4a0f38a0bce1498d8b3a2983566ba73f2a - initial_ast: fd903ff4e36bc6d6d6764f69e5c3d7a40927756b449932a1f197cd6d95c5228c + initial_ast: 0b87059e5a0ea16416c02be3dbf974dadaa25fcb273aa5095300bb86eb9c9a14 symbol_table: 1e113dd2c8ea40abe537b2ccd1245d7e171e443dfc24307f45c3877751a334c3 diff --git a/tests/expectations/compiler/compiler/integers/u64/ge.out b/tests/expectations/compiler/compiler/integers/u64/ge.out index e8d8e7289e..f10106da83 100644 --- a/tests/expectations/compiler/compiler/integers/u64/ge.out +++ b/tests/expectations/compiler/compiler/integers/u64/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: c93814cf63d02ad8a937f8b60f81eae00e522352861e2fd10a2188a0384646d4 - initial_input_ast: 2d62b4fb5f26898f99626d4ed69d0b4a24ee08262caf04bcbb1867b462f451f9 - initial_ast: 161635cce1ebc26bbdadadb026d46e168959f6506b99f3be843f4e0191c497bb + initial_ast: c7c41443c2274ec7eab0282ab90404692aabe60fb959d9797f5ed93295740ac8 symbol_table: d66fb561d2d98ab7efa2fcd0dee9555ee60cf250f0b485d044265d9566d09f8d diff --git a/tests/expectations/compiler/compiler/integers/u64/gt.out b/tests/expectations/compiler/compiler/integers/u64/gt.out index ef58d65adb..148ab006a4 100644 --- a/tests/expectations/compiler/compiler/integers/u64/gt.out +++ b/tests/expectations/compiler/compiler/integers/u64/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 9ee8856bfaf5e7fc4d635092b4f7ea9501e3ce319694acebe8cbcaa3783e866c - initial_input_ast: 2430f4c73831f48ad743c32463ad9a84e3e9039bec5ff8332dcc98932363fd66 - initial_ast: b726132d80ce8907a642c77091cbffe206ec13adb48d94fd1794f5e56498c1c0 + initial_ast: 2fddc57755bd974f2e5a7e605edbcca484741fdd7e04b9eb4c661e848c1f728d symbol_table: bb3128535cb5aa89dccbcab7c81053adaa75b6aeb8b125efc722cc232f84cd48 diff --git a/tests/expectations/compiler/compiler/integers/u64/le.out b/tests/expectations/compiler/compiler/integers/u64/le.out index 808e8d1186..cfb7b37cf7 100644 --- a/tests/expectations/compiler/compiler/integers/u64/le.out +++ b/tests/expectations/compiler/compiler/integers/u64/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: c93814cf63d02ad8a937f8b60f81eae00e522352861e2fd10a2188a0384646d4 - initial_input_ast: 9fdfa77c361e0f36264bdc79549782e5c4accc35538700d984cd89863f9e2683 - initial_ast: d3567f802994e58ff892c7f64ac8edd3e6705e806cb70fc3bfff47232d198d3d + initial_ast: 8324cc493c146c4b8265d86573e0c5d6ca185040fc0dd24398f43711d43839cd symbol_table: 7b4fe8955520299e53db34512524630abdf61238f236e6c269366713f8be4137 diff --git a/tests/expectations/compiler/compiler/integers/u64/lt.out b/tests/expectations/compiler/compiler/integers/u64/lt.out index d45d520bcd..3d0faeb008 100644 --- a/tests/expectations/compiler/compiler/integers/u64/lt.out +++ b/tests/expectations/compiler/compiler/integers/u64/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 7f5c6e459e8b00635226d3719b7d729913c93525e47053278a015fd24079c37d - initial_input_ast: 35ef77a451dbc9df83934e68b1407ab2f8fe9014a8a59704475ec3c3942ef89f - initial_ast: 97c7536f4182d31e536e1bfd219e82e57b2520de6f26d38821949b52e663e745 + initial_ast: fa31b24abd921d4af729dc4d00df07a76b4eba1b58c83d68287c1dc4fd3effce symbol_table: 5801dd7f2f2deb0029f255db69f5b2945c48e6872e55b2cdacf0d0fb115eec22 diff --git a/tests/expectations/compiler/compiler/integers/u64/max.out b/tests/expectations/compiler/compiler/integers/u64/max.out index 5a9c44e642..2cd0f0aa02 100644 --- a/tests/expectations/compiler/compiler/integers/u64/max.out +++ b/tests/expectations/compiler/compiler/integers/u64/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ad738add6c03b6224ccba9d8d735b6645444f9c16f3b652ec4c0903fa4bb33aa - initial_ast: b398514373bab7593f8a987a48530c99a3359979179719bbdade73d2df8543ce + initial_ast: ed6f4f209a48619099bbc178763027c1cb6de50f7e4eb7db9ec359e917b67322 symbol_table: e75cd52b66d30ce5e0fe81b53d86b4fb478b34eab8f4e15d6a46aac6dd8ade56 diff --git a/tests/expectations/compiler/compiler/integers/u64/min.out b/tests/expectations/compiler/compiler/integers/u64/min.out index ea1bad26d6..b63a35e483 100644 --- a/tests/expectations/compiler/compiler/integers/u64/min.out +++ b/tests/expectations/compiler/compiler/integers/u64/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c7cfa681865a1c0623cfd356162d0c6750f3e06fb72126585eace0aeb21bae77 - initial_ast: 38e79c2d229f30e9c602fca2349b0d70fa703deaff445768df04bedc6788566b + initial_ast: 12ba9963cb5250d4d1d98a9fee0b7dd116e5065f8a83f5e79cdd623bf24307aa symbol_table: bcd92751d52d81b13a02ea9e394bc7f6876911e0cdb45836c418e453bc29158d diff --git a/tests/expectations/compiler/compiler/integers/u64/mul.out b/tests/expectations/compiler/compiler/integers/u64/mul.out index 3f9fb97cb3..8c921bbfc7 100644 --- a/tests/expectations/compiler/compiler/integers/u64/mul.out +++ b/tests/expectations/compiler/compiler/integers/u64/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 0758dc997baa1ce2e35b7680289f58b145801d64671f55b98a163d84b76982a2 - initial_ast: 54873ed5ce413b71de10d9faafc95abe80f92fcd894dca026414766d0332f9e0 + initial_ast: 7d318ef8d005392a4bc79f3316f5847ead2d452787a5ad0c057b0b48e150baa3 symbol_table: 4e39bb0ad10823bf2e21b857f2130e706ecc2d75753d968ef9d864f60b0d9ef7 diff --git a/tests/expectations/compiler/compiler/integers/u64/ne.out b/tests/expectations/compiler/compiler/integers/u64/ne.out index 717c3f63cd..745fc7338d 100644 --- a/tests/expectations/compiler/compiler/integers/u64/ne.out +++ b/tests/expectations/compiler/compiler/integers/u64/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 2c6f07fb52fcadfd42be53ab06838ce4ddc609995c7f4cbc3799f6daf92cc32b - initial_input_ast: a090b0a76971eb5a83b3460b0e9ad051e293b1adc169b8a59eece9a7bcda4e56 - initial_ast: 6a7608fbb9bc6934334f04bb4b3b368abe1f5567bf0ad02bf50fe095d09b85ba + initial_ast: 824860fcd0efb5e8f59935166bd2c810068f6bffa23e5e0c02d6d95b6d88ec21 symbol_table: cdf8b67bc50de4d083d5697da3f6c2dfd8375e4ad94ad722d391bef9a7bfd433 diff --git a/tests/expectations/compiler/compiler/integers/u64/operator_methods.out b/tests/expectations/compiler/compiler/integers/u64/operator_methods.out index 2e39dab6e5..9fa4d7b4d1 100644 --- a/tests/expectations/compiler/compiler/integers/u64/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/u64/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: e5791e3381c49b3897104d9715a9e452f7009eb7fe621d5a63280dbbe50b3c54 - initial_ast: 78a33538d986a60a4a6488280c2eca28a3c9fe6652e36594198af424ea430613 + initial_ast: 25d05cdcdbaf148b060a54daa3de4b7d87a1b7189d667b0831bdb12cd0a28af3 symbol_table: 6eee5d786a56c0ac2c255aaddd2251e9b9c277bbd419071feee75dd5bfb221b1 diff --git a/tests/expectations/compiler/compiler/integers/u64/or.out b/tests/expectations/compiler/compiler/integers/u64/or.out index 4e71c9c2e1..d5d542d250 100644 --- a/tests/expectations/compiler/compiler/integers/u64/or.out +++ b/tests/expectations/compiler/compiler/integers/u64/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: b50fe7e5fcca4c73fff46b376e3eedec9ae02e15ca9f2d4f33f3a1b77b3f9168 - initial_ast: abe887f97f1f8d0369617925576f2a8e259b7a1356c427446772ebd9b8c2a7db + initial_ast: f9763d0d8b774b35e807316ae6dd33dbe858881d7e4c45f80d05639c4c0c46bb symbol_table: 3d9bd800d0eeb02a21244f25c48d2e02c67853888ddb7bc13e7c47b368026375 diff --git a/tests/expectations/compiler/compiler/integers/u64/pow.out b/tests/expectations/compiler/compiler/integers/u64/pow.out index fb13a45362..915ca8c74f 100644 --- a/tests/expectations/compiler/compiler/integers/u64/pow.out +++ b/tests/expectations/compiler/compiler/integers/u64/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 21f494ba0942bd81a0971d1c7d591585cb72d198a89963e561baf0a1b007ac87 - initial_ast: 38289e6d2c892d42b300ceb6c5f9f18744dd0f59bc880f88e292d1a8bd583ada + initial_ast: 8fb5e2247aeac433dd36ae4239d96120b5720ab6d95670531b020b5c0d5ca1dc symbol_table: 9840b73b2785a5a0d6322b8d207d8f3d4880513273154bfe32889e4a3768e959 diff --git a/tests/expectations/compiler/compiler/integers/u64/shl.out b/tests/expectations/compiler/compiler/integers/u64/shl.out index c953ebd13e..ead0e44fed 100644 --- a/tests/expectations/compiler/compiler/integers/u64/shl.out +++ b/tests/expectations/compiler/compiler/integers/u64/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 429335969b6c3ba968362b30d24c4aac270bc21f7675ac64235e979c324549b3 - initial_ast: c6472854aa8a0b7d2e6a7f0aeab92883c3bd0e8410cca6d6c4b8653f4ec720ce + initial_ast: 6886e667f1d6755f4de7173442beb567647c923e341a8d2be04557b6c6c951ef symbol_table: f4fc8f466567de01cd926560fdd1a26ec1ddf5d280126336bf029d999966ff7b diff --git a/tests/expectations/compiler/compiler/integers/u64/shr.out b/tests/expectations/compiler/compiler/integers/u64/shr.out index 2da22eae3e..2bb0d0c8fc 100644 --- a/tests/expectations/compiler/compiler/integers/u64/shr.out +++ b/tests/expectations/compiler/compiler/integers/u64/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 429335969b6c3ba968362b30d24c4aac270bc21f7675ac64235e979c324549b3 - initial_ast: 7fb6156e741a9b99b15bbba294026265814b4ea4561aa60811b70587808e83d6 + initial_ast: bf9740eebdc55fe0c35c7ec027c0ef328ab92e2a5228489a20911bbbe7deab37 symbol_table: 9efa7be40daba50719633d0ec23d04b63afa10f24b0bbd864309396a5d86a9bd diff --git a/tests/expectations/compiler/compiler/integers/u64/sub.out b/tests/expectations/compiler/compiler/integers/u64/sub.out index 2d013a39f5..8af32d80fd 100644 --- a/tests/expectations/compiler/compiler/integers/u64/sub.out +++ b/tests/expectations/compiler/compiler/integers/u64/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 083ead671da49260e9309556752e7e3bed665ae954c744b8d067a9919fb01222 - initial_ast: cff5a84ecb44a1e8813acaf6ccceb6dde9bf0ce9aec362a006450d966a320aec + initial_ast: d5e74554cc310acf5a55a5d5a1bdd53eb03af925ea01be634ee8afe84639a505 symbol_table: b45aa8f96336f1482ee8b975da10370d344bbd6a8a3cfcdca782bd2aa01a246e diff --git a/tests/expectations/compiler/compiler/integers/u64/ternary.out b/tests/expectations/compiler/compiler/integers/u64/ternary.out index 8b97854ded..cc9fe5f09c 100644 --- a/tests/expectations/compiler/compiler/integers/u64/ternary.out +++ b/tests/expectations/compiler/compiler/integers/u64/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: c016901c75fdf8a1f458788af0598e582030b2957dd8c630b74148e2f3c908f6 - initial_input_ast: 1d4cb77c5bba30e598cca54089f1530603af93a6feebc53229a968978036eb1c - initial_ast: cefa9b12bdbc2157749c61cfb65d32eb60d02b43f0ff43f821d5152dd246fad5 + initial_ast: ece173da72d8938a75fc6b467b37c3e2345ebe5fb679292bc256067c06011a34 symbol_table: b431f276e44e02c8988562746946b084b48669bf5f89de9bd0d080ecdb6fe928 diff --git a/tests/expectations/compiler/compiler/integers/u64/xor.out b/tests/expectations/compiler/compiler/integers/u64/xor.out index 5ae89f7b0a..af05d2fda9 100644 --- a/tests/expectations/compiler/compiler/integers/u64/xor.out +++ b/tests/expectations/compiler/compiler/integers/u64/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f76d83befbe9326bc314867d02931b7ad78ca30ffcb9031997dfda28bfd5133e - initial_ast: 89148a07a55178518ce9b5c48467923060f1d42f72e115cdfae7701fbeff4072 + initial_ast: 9a85f40d0e502c8e4cb423ba9ae2806a015ae0c46f1fce4f888898029707b461 symbol_table: 73c4f0bf85a47b6bcef8d0c21de8614fc5099721e37af3a4b2f671b60076b9a5 diff --git a/tests/expectations/compiler/compiler/integers/u8/add.out b/tests/expectations/compiler/compiler/integers/u8/add.out index 4f3193fa65..f451ea81a8 100644 --- a/tests/expectations/compiler/compiler/integers/u8/add.out +++ b/tests/expectations/compiler/compiler/integers/u8/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: b568f017162b4870af580492723986dac02d17b61cec3cec52cc8651e7d4dec8 - initial_ast: 44f27127810c1a0fc829aad9b09af344d70e07039829a0cd016a4ee83766cda7 + initial_ast: 754c6fc632d72724bb2447829ea6470d444fda41b7f4677635839184bd39e658 symbol_table: 5cc6f9d20990f754082a936f92fad2de074bb8d758559a91e144f51f213c3ff9 diff --git a/tests/expectations/compiler/compiler/integers/u8/and.out b/tests/expectations/compiler/compiler/integers/u8/and.out index cfe32970fc..d62523cf92 100644 --- a/tests/expectations/compiler/compiler/integers/u8/and.out +++ b/tests/expectations/compiler/compiler/integers/u8/and.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: b568f017162b4870af580492723986dac02d17b61cec3cec52cc8651e7d4dec8 - initial_ast: ca5290c9042f2b3be188fa4f991d41aa5fc307ec263628d211ee2139252c65f8 + initial_ast: 988ae827a3cfcadeb7c89bf40a4c2c37f78ed97fe9e76dfb3aa74270f056b8ea symbol_table: e5594ea4ca289b1917552239e0d1525a22397275f07add8f2aa838af53605360 diff --git a/tests/expectations/compiler/compiler/integers/u8/console_assert.out b/tests/expectations/compiler/compiler/integers/u8/console_assert.out index 4947ff2031..560d422066 100644 --- a/tests/expectations/compiler/compiler/integers/u8/console_assert.out +++ b/tests/expectations/compiler/compiler/integers/u8/console_assert.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 8dd4987c574614c5154b47c61e6eafec80b878d6c4949bc95d8ee2eb96170add - initial_ast: 0e9bc287727d72fa8fb1138355095707a730d2b21ff44acc7512e0fac3f46e3a + initial_ast: b3a25f9933cbba508f01723126eba657c8317c2bc235d659c30fc9d9ec66f58f symbol_table: b9d0a3e39dfea06fcbe3f93f08e2e2dfd0e18aeccc310350d49a1d3261877f35 diff --git a/tests/expectations/compiler/compiler/integers/u8/div.out b/tests/expectations/compiler/compiler/integers/u8/div.out index 40e27ff33e..aaaf065c48 100644 --- a/tests/expectations/compiler/compiler/integers/u8/div.out +++ b/tests/expectations/compiler/compiler/integers/u8/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 09d9e73603d60f95eb727839ce98545e429b63ca34293d14ffaac126d6dd381e - initial_ast: e3417524c5e03721e510da8f0a4bc9b8bc60a4763be4dc3f32836c4c57ab46bf + initial_ast: 0d9ff3ac45a9e6fd5e03221953a7e07500f93d3245e90b94145bcf2970e24070 symbol_table: 7263b3df842331e26fe9930a9cfec02f12e9ed19da976b3e81ef14925c127d27 diff --git a/tests/expectations/compiler/compiler/integers/u8/eq.out b/tests/expectations/compiler/compiler/integers/u8/eq.out index fda1b4baae..3f5bced31d 100644 --- a/tests/expectations/compiler/compiler/integers/u8/eq.out +++ b/tests/expectations/compiler/compiler/integers/u8/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a4cd0750e35f81754a218922dd8a55d208009d236296668eaafa6aa8d60fdcb4 - initial_ast: 818fcc2e714e54192b7d68e4b5de04d99c2f0edc72700c6c47461da61abf12b6 + initial_ast: afcc42569de04d0b1672a244a675e13b9ad998991488da9fa986860fb0468dc1 symbol_table: ca53a439df806ecf998b2d16e806e6670fcf18351aff0a5e1ff32be76e01de36 diff --git a/tests/expectations/compiler/compiler/integers/u8/ge.out b/tests/expectations/compiler/compiler/integers/u8/ge.out index 61efe899c2..4910b22870 100644 --- a/tests/expectations/compiler/compiler/integers/u8/ge.out +++ b/tests/expectations/compiler/compiler/integers/u8/ge.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: d0e7d4b75881411834839b3822bf80914e6018ba2729ff717c851ce34aa7eead - initial_input_ast: 8eedbf6e59fef91aeee2f91f13799ccb1d990cc041268bdf7f7be526fd4c0b87 - initial_ast: 04a91eefd6368cd7be82f5f2196ddd188b912d965365fe5dc32305f0a8ac366d + initial_ast: 0387eb47ffc2188fee255556743ac7030b4a61ef5afc2b9bc4d13818d8d08740 symbol_table: f149038b3c2f772dcb01cadbfc774944a599cb5013b8eb0de5ae92e36fc2c4fb diff --git a/tests/expectations/compiler/compiler/integers/u8/gt.out b/tests/expectations/compiler/compiler/integers/u8/gt.out index 4665931fe7..2e6aed45da 100644 --- a/tests/expectations/compiler/compiler/integers/u8/gt.out +++ b/tests/expectations/compiler/compiler/integers/u8/gt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: be7952b3d9074f7a048ca1e95dc8749bb9fe03c3c1f4d1666cc81e16eaaed3dd - initial_input_ast: e2a63d49a7e6c95f5f8eb00440e098d690e4223244b80b8790b5593be295e612 - initial_ast: 36fd838168775e91efa30dd86047f9bf7328c04f60a16018a761f5b9b6cb5f94 + initial_ast: 246b63815a2edb7ad0e09567170205f09ed8b805924efc8665d427ad575ae1d4 symbol_table: 9e657fcd4ffde7c7a17e3b45b6f1ae485ad4b0553878a09ae51970d1a3d61de4 diff --git a/tests/expectations/compiler/compiler/integers/u8/le.out b/tests/expectations/compiler/compiler/integers/u8/le.out index 1aadb2a756..45f7b2a357 100644 --- a/tests/expectations/compiler/compiler/integers/u8/le.out +++ b/tests/expectations/compiler/compiler/integers/u8/le.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: d0e7d4b75881411834839b3822bf80914e6018ba2729ff717c851ce34aa7eead - initial_input_ast: e83f3d1b68e9e42f5f4ef9ac8fa11c9f048661148dffd1f2337ec7a4fe7c7b70 - initial_ast: 71e795b44957de2d8c8948058f83d8ad23db0f73d59118f2a8c8374eb6dce9de + initial_ast: c77395e7a7c11b5e29249ff2e0458d8e0a3ddb160510522ec37c9679433587f7 symbol_table: cf951ab2f2cd08497238935a5c68f1d4c0b33fb8e348b5355b28cc950a3c146d diff --git a/tests/expectations/compiler/compiler/integers/u8/lt.out b/tests/expectations/compiler/compiler/integers/u8/lt.out index 4476addca0..cdbe4add54 100644 --- a/tests/expectations/compiler/compiler/integers/u8/lt.out +++ b/tests/expectations/compiler/compiler/integers/u8/lt.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 1b0305de2d2ddda28ff605bd26a4f6dd8edaaa1dd3db97f00ad53a4cd3cceb23 - initial_input_ast: 9033a0de0826b7e572951e2dcf8e83f4f6515205058b7432ccff29a065cc2a49 - initial_ast: f325deba18aff468f559748cee4baf0df5ae137ec2beac57605bb4eee192e8ae + initial_ast: e80f2965d7b6bc3f51e6115f53f20968b14276fc1920428f458ff998032676bc symbol_table: 546f00235e023a075ed4b47aeeb5cc922387a04b1195e16e7c4326cdf6e1fbc2 diff --git a/tests/expectations/compiler/compiler/integers/u8/max.out b/tests/expectations/compiler/compiler/integers/u8/max.out index db73e938cc..4650f16e01 100644 --- a/tests/expectations/compiler/compiler/integers/u8/max.out +++ b/tests/expectations/compiler/compiler/integers/u8/max.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c7cfa681865a1c0623cfd356162d0c6750f3e06fb72126585eace0aeb21bae77 - initial_ast: 350489d4f24c0a52d7c2d64c05540399ac8e9ff887492ca9ea05f2e218d6ae80 + initial_ast: 76d2cd4e27f5746d6ab065808ae83a73e60b4798d30181e8a12ff9ae20194c94 symbol_table: 56bb71ef04cb5892671ab985991a6a11d728a9bc49849b9cf63512fd6edabc49 diff --git a/tests/expectations/compiler/compiler/integers/u8/min.out b/tests/expectations/compiler/compiler/integers/u8/min.out index 31f901ee50..9a54fc0401 100644 --- a/tests/expectations/compiler/compiler/integers/u8/min.out +++ b/tests/expectations/compiler/compiler/integers/u8/min.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 13720f61f86be3462e6829a230cb85abd2ea7a3e406c03bad349c0580839fd1b - initial_ast: 10cb8c7ac086d9badf5bc4c71aaef78d07f9269a5ef741c5afc7506f9c49b69c + initial_ast: 8c02652cea84f945daccc6578e4cb7ac701ab8c80ede22f74a441d04cb8be1a0 symbol_table: a1422b3b2dd889c0b8070197fb3e48e5c9aeea4fdc326702b4678973ca95e354 diff --git a/tests/expectations/compiler/compiler/integers/u8/mul.out b/tests/expectations/compiler/compiler/integers/u8/mul.out index 79636c4636..b6f83e82c0 100644 --- a/tests/expectations/compiler/compiler/integers/u8/mul.out +++ b/tests/expectations/compiler/compiler/integers/u8/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 1a47105e4a0a77e18f9e0109084a0c0b81cbf04bf4e449a86d0f9a214bbe297b - initial_ast: 01d23ed3dfd3744ed435963d38685dc60a01af06b3f2bde0789d847bc4583bc4 + initial_ast: e70485ca8bf749103e8706c3d5df55005794f1fcb49ccd81487e7f8796c20290 symbol_table: 34083d440d5992077db30e67f9e10d56276f9c909b149dda355668aea41678ee diff --git a/tests/expectations/compiler/compiler/integers/u8/ne.out b/tests/expectations/compiler/compiler/integers/u8/ne.out index 4bc4c47716..6e010993a6 100644 --- a/tests/expectations/compiler/compiler/integers/u8/ne.out +++ b/tests/expectations/compiler/compiler/integers/u8/ne.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: c40e8d5ce21623a727dc9b6404c0d7f6f251d36f82d30b9ba4f1f2804531a2a7 - initial_input_ast: 699f3079ce1ae41896a7817fc10cba7d28e3ad1445c47f7a892a4867cd597be0 - initial_ast: 1b317349481235287f6c69f3a564ce6b643fd0ba0c648c1baef592b67f4bf98b + initial_ast: af6fd0946705136e76fff48bc531292c128bf3d6f534b85129da2fceb2f153cc symbol_table: 843ef901659df8cf7fb4dffb62d3355fc973d8b650198fdd368cf75d75509dd1 diff --git a/tests/expectations/compiler/compiler/integers/u8/operator_methods.out b/tests/expectations/compiler/compiler/integers/u8/operator_methods.out index e2268f68a0..f81919ee74 100644 --- a/tests/expectations/compiler/compiler/integers/u8/operator_methods.out +++ b/tests/expectations/compiler/compiler/integers/u8/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 746d49d0a4fc6fd3bf0b001693187c5a4986b06b5e257fdb30778862abdd51fa - initial_ast: 3f0102d67a89ffbecbb41d4d1821ee3ae082cebb00990a6851c8c09323bca074 + initial_ast: d498ddf01de9af370a6db1d6bc5f981e558d51ad6cab51ebb6cf50d2ccaef3d2 symbol_table: 0a8e316856c9b59a75bc5c33532e0cfc8cdaf57476dae6df0b9e4e84b238ca2c diff --git a/tests/expectations/compiler/compiler/integers/u8/or.out b/tests/expectations/compiler/compiler/integers/u8/or.out index 1be00f9e82..0b99209f38 100644 --- a/tests/expectations/compiler/compiler/integers/u8/or.out +++ b/tests/expectations/compiler/compiler/integers/u8/or.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: b568f017162b4870af580492723986dac02d17b61cec3cec52cc8651e7d4dec8 - initial_ast: 1803ac07bb069ed9a0fa9ab0bee03c3fa56bfcf43da5e525015f75d265d84bc2 + initial_ast: a45e30bb089e822608fa0c82be0139e781161e182dfe0e526b5d3aa4f74fb3e6 symbol_table: fb02db931f2fd4691a2266919cd4c8d7be076334ce1fe8feefd160d6754b4c48 diff --git a/tests/expectations/compiler/compiler/integers/u8/pow.out b/tests/expectations/compiler/compiler/integers/u8/pow.out index 7958c3ca13..43d57d0697 100644 --- a/tests/expectations/compiler/compiler/integers/u8/pow.out +++ b/tests/expectations/compiler/compiler/integers/u8/pow.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 9b6010040efa42a21face2e7a08f92bb764fc497738c0211887c06d195a41d16 - initial_ast: eef065228269d1689383d0e78aa3e537d769672026c225281140fc3c935c60db + initial_ast: a397579f1ed7d54e9d6a2be47a517abaef1e751598c3c0d975f2e1811c8db72e symbol_table: df935d0411cd3e398557aa7dbb0adbbef2cf13619f1a240a508822186c731bbc diff --git a/tests/expectations/compiler/compiler/integers/u8/shl.out b/tests/expectations/compiler/compiler/integers/u8/shl.out index f4165bda4d..ac22b362d3 100644 --- a/tests/expectations/compiler/compiler/integers/u8/shl.out +++ b/tests/expectations/compiler/compiler/integers/u8/shl.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 122462c0f087ef8b63c453544666f10f38e2cce33fbd6f4d84b9585177077077 - initial_ast: d2c1fb24dedc94256ffad68bdae2d310f7fab2118489f96a6182176e03f133f6 + initial_ast: 0bfbbd577c1680dc314a933dd553c5b8f923a6500b993641aa289d09e6fa7b2d symbol_table: 0dcb0e6a28f02796446718e8f14671a57393c5bf183d41f13e793df6cd75a259 diff --git a/tests/expectations/compiler/compiler/integers/u8/shr.out b/tests/expectations/compiler/compiler/integers/u8/shr.out index 8dc34cdcc4..0ebbef74b1 100644 --- a/tests/expectations/compiler/compiler/integers/u8/shr.out +++ b/tests/expectations/compiler/compiler/integers/u8/shr.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 122462c0f087ef8b63c453544666f10f38e2cce33fbd6f4d84b9585177077077 - initial_ast: 2ad456741b19d3af0e60447643e62de8766125f56dedf8387728a737bb6d25c6 + initial_ast: b310c8d522c70768838543087c884a8785081de31ef2302a20176dd697d57914 symbol_table: 4ddf03d578dbc3f96c1b265bbce3b76f5ca3f34c86715ee73ca998cfc0ec3c50 diff --git a/tests/expectations/compiler/compiler/integers/u8/sub.out b/tests/expectations/compiler/compiler/integers/u8/sub.out index 8b25e6b71e..2f67bcaf16 100644 --- a/tests/expectations/compiler/compiler/integers/u8/sub.out +++ b/tests/expectations/compiler/compiler/integers/u8/sub.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: e0a14c313387c27690fe95a691990d9a82c0d189ebe6510a209984a817907fb0 - initial_ast: e298950675efc871fa75910b711e966dd829b0b9f201aa3c557e42f242afbac9 + initial_ast: 9b629c94d7ea45e415591d9dda63fbff07a93ec777b9b99be437ba2aff883bd1 symbol_table: 01d7107fd6a67975c4952fc58274bf1f55fc8d96d1dfe13a7ff99962944bd997 diff --git a/tests/expectations/compiler/compiler/integers/u8/ternary.out b/tests/expectations/compiler/compiler/integers/u8/ternary.out index 77bb32b8ce..a30da8af13 100644 --- a/tests/expectations/compiler/compiler/integers/u8/ternary.out +++ b/tests/expectations/compiler/compiler/integers/u8/ternary.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 92a421ad9700284ef509658bad78166f5931b333e9f838bb141501a617e49cc7 - initial_input_ast: c6e61d82e8081ec02c9363b22a0b5496a417885254c4e178d21597c39de6d95a - initial_ast: c532aebeb8d72e83d290957cbae65e31c7a2d88101ea1c7d20aef526b8325568 + initial_ast: 9ed0471710e7c1109adac89e209ea157c5c0cb642661bb24bfd109537159b2e6 symbol_table: b67bb45269a8520e0eaa95710e418120baea294247708f137a21df4e2be97c55 diff --git a/tests/expectations/compiler/compiler/integers/u8/xor.out b/tests/expectations/compiler/compiler/integers/u8/xor.out index b9f26ad2a0..a338082fed 100644 --- a/tests/expectations/compiler/compiler/integers/u8/xor.out +++ b/tests/expectations/compiler/compiler/integers/u8/xor.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f3f4106ac9259a15289bec28ed917f5781227eb13d1e0eafb3e9f8644727e119 - initial_ast: 38b413fdb7fb014ce509c057f03e2e58124b42a4c8eb404e6442f647f11a3a87 + initial_ast: 79255bfd6845fac131d7d3ea97624ef9a0076305ddeb40447e531c38044357d9 symbol_table: ebb277c7719a564957a2e1942a6e9880e5b0c5a04dedd6ac58c14cb30d3fefd2 diff --git a/tests/expectations/compiler/compiler/mutability/cond_mut.out b/tests/expectations/compiler/compiler/mutability/cond_mut.out index 370386fd8b..a650d42829 100644 --- a/tests/expectations/compiler/compiler/mutability/cond_mut.out +++ b/tests/expectations/compiler/compiler/mutability/cond_mut.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 4450d380390e4b22d69c9b44ee782266384b84ba991347c0f96e8f624d6512e7 - initial_ast: fd3e422df0fc202154f2e1c19919431d636736c3d13f56824ae7432b71d4a492 + initial_ast: 2d05e70558b1a34ac0778929dc306c177ae344de02feca3f1ed7be554f3da944 symbol_table: 955902f6a157a4830f6d69bc63ccd54bc6fdc8fee6b4f481926fa4a695688b69 diff --git a/tests/expectations/compiler/compiler/mutability/function_input_mut.out b/tests/expectations/compiler/compiler/mutability/function_input_mut.out index c8c6290919..90bba3f7f7 100644 --- a/tests/expectations/compiler/compiler/mutability/function_input_mut.out +++ b/tests/expectations/compiler/compiler/mutability/function_input_mut.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: f8e3ad3747d61bdfd59afdc58ad9f7bfb6ffba275f9c5f22e12e1607bb06af85 - initial_ast: 8ea8fd6cdfe07845b2d01c5b80bb10ab6c9c40bde1f09fe1ff9d69fcd8cbb7ce + initial_ast: 5647851e72bb49bf865c8025c525333f4ea4751e1b8f9e68b72660aa91e8c435 symbol_table: 03c28801d27a251ba77271104022e75a4d405bd4c96334c37033fdea7b0e8258 diff --git a/tests/expectations/compiler/compiler/mutability/let_mut_nested.out b/tests/expectations/compiler/compiler/mutability/let_mut_nested.out index a171b8eb1a..f3f00f2627 100644 --- a/tests/expectations/compiler/compiler/mutability/let_mut_nested.out +++ b/tests/expectations/compiler/compiler/mutability/let_mut_nested.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 0ef14a72e85eff8a241f34061899762d2fee7906cc3505475f0dac47b9458f8a - initial_ast: 7e644c346e2aaafd099d8a47ff5e7f975801d4319489a514580cca404630edbc + initial_ast: e25b363c3583b46fa1a8e10eef94717ca4b87128c8578a4b44ad344ff113eef8 symbol_table: 1b47c953d0bbbf8ea32689c606dffbfe56d3b7c43866887680305b8f86070bfb diff --git a/tests/expectations/compiler/compiler/records/balance_wrong_ty.out b/tests/expectations/compiler/compiler/records/balance_wrong_ty.out new file mode 100644 index 0000000000..e94ae3f443 --- /dev/null +++ b/tests/expectations/compiler/compiler/records/balance_wrong_ty.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [ETYC0372024]: The field `balance` in a `record` must have type `u64`.\n --> compiler-test:5:5\n |\n 5 | balance: address,\n | ^^^^^^^\n" diff --git a/tests/expectations/compiler/compiler/records/declaration.out b/tests/expectations/compiler/compiler/records/declaration.out index 8f8b0957ee..bedc8d5f3f 100644 --- a/tests/expectations/compiler/compiler/records/declaration.out +++ b/tests/expectations/compiler/compiler/records/declaration.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: b2600a36152f9e343c88ceb57304cbdef218cddbb34903fb206fe5a353862a72 + initial_ast: ed6dbb2a60da9a91da4b3845e3919b0520666cf4d7223e5634e1e8e38dd9243d symbol_table: c49906bcded430e36886bfabc35c5740e4657ac82761b80b871f6d19ec6d9dda diff --git a/tests/expectations/compiler/compiler/records/duplicate_circuit_name_fail.out b/tests/expectations/compiler/compiler/records/duplicate_circuit_name_fail.out index 7fd7794f38..d5697f8223 100644 --- a/tests/expectations/compiler/compiler/records/duplicate_circuit_name_fail.out +++ b/tests/expectations/compiler/compiler/records/duplicate_circuit_name_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Error [EAST0372015]: circuit `Token` shadowed by\n --> compiler-test:3:1\n |\n 3 | record Token {\n 4 | // The token owner.\n 5 | owner: address,\n 6 | // The Aleo balance (in gates).\n 7 | balance: u64,\n 8 | // The token amount.\n 9 | amount: u64,\n 10 | }\n | ^\n" + - "Error [EAST0372016]: record `Token` shadowed by\n --> compiler-test:12:1\n |\n 12 | circuit Token { // This circuit cannot have the same name as the record defined above it.\n 13 | x: u32,\n 14 | }\n | ^\n" diff --git a/tests/expectations/compiler/compiler/records/duplicate_var_fail.out b/tests/expectations/compiler/compiler/records/duplicate_var_fail.out index cb6a9d6ef7..2c42d35291 100644 --- a/tests/expectations/compiler/compiler/records/duplicate_var_fail.out +++ b/tests/expectations/compiler/compiler/records/duplicate_var_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Error [EPAR0370045]: The `record` type requires the variable `balance: u64` and enforces ordering.\n --> compiler-test:7:5\n |\n 7 | owner: address, // Cannot define two record variables with the same name.\n | ^^^^^" + - "Error [ETYC0372020]: Record Token defined with more than one variable with the same name.\n --> compiler-test:3:1\n |\n 3 | record Token {\n 4 | // The token owner.\n 5 | owner: address,\n 6 | // The token owner.\n 7 | owner: address, // Cannot define two record variables with the same name.\n 8 | // The Aleo balance (in gates).\n 9 | balance: u64,\n 10 | // The token amount.\n 11 | amount: u64,\n 12 | }\n | ^\n" diff --git a/tests/expectations/compiler/compiler/records/init_expression.out b/tests/expectations/compiler/compiler/records/init_expression.out index e489fcd43c..c16c2e576c 100644 --- a/tests/expectations/compiler/compiler/records/init_expression.out +++ b/tests/expectations/compiler/compiler/records/init_expression.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: d056f3b9b387a76349e8eb7e5e685bbcd60b4dbe72157449303e022d934496fe + initial_ast: cc9fdc5ee476d5c8930260c5fc50c968915434892180f0084f15cd69b905dc20 symbol_table: 926c2f494fbb7914574e7b95bedd8992eaf028143e19bebcdcdf474fcb5eb1c5 diff --git a/tests/expectations/compiler/compiler/records/init_expression_shorthand.out b/tests/expectations/compiler/compiler/records/init_expression_shorthand.out index ea4878f46f..19d440e4b8 100644 --- a/tests/expectations/compiler/compiler/records/init_expression_shorthand.out +++ b/tests/expectations/compiler/compiler/records/init_expression_shorthand.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 49dacc0f90849a18fc1e19d0c4b3e6661e1c9027210498ceda7b88f8586692d3 + initial_ast: c765de9e29d4ca9bd9ba2f7a5ee72c2e4c8278948d32a6c9a441f5eacde564ea symbol_table: de1844db50840db6655f51a2903da4287d51c03a6e693843bdd6be95c6d627f8 diff --git a/tests/expectations/compiler/compiler/records/init_expression_var_fail.out b/tests/expectations/compiler/compiler/records/init_expression_var_fail.out index 60248d5c7f..543edd6fe7 100644 --- a/tests/expectations/compiler/compiler/records/init_expression_var_fail.out +++ b/tests/expectations/compiler/compiler/records/init_expression_var_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Error [ETYC0372005]: Unknown record variable `sender`\n --> compiler-test:14:9\n |\n 14 | sender: r0, // This variable should be named `owner`.\n | ^^^^^^\n" + - "Error [ETYC0372005]: Unknown circuit member variable `owner`\n --> compiler-test:5:5\n |\n 5 | owner: address,\n | ^^^^^\n" diff --git a/tests/expectations/compiler/compiler/records/no_owner_fail.out b/tests/expectations/compiler/compiler/records/no_owner_fail.out index 47c6d448b2..b9fb85d867 100644 --- a/tests/expectations/compiler/compiler/records/no_owner_fail.out +++ b/tests/expectations/compiler/compiler/records/no_owner_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Error [EPAR0370045]: The `record` type requires the variable `owner: address` and enforces ordering.\n --> compiler-test:6:5\n |\n 6 | balance: u64,\n | ^^^^^^^\nError [EPAR0370045]: The `record` type requires the variable `balance: u64` and enforces ordering.\n --> compiler-test:8:5\n |\n 8 | amount: u64,\n | ^^^^^^" + - "Error [ETYC0372023]: The `record` type requires the variable `owner: address`.\n --> compiler-test:4:1\n |\n 4 | record Token {\n 5 | // The Aleo balance (in gates).\n 6 | balance: u64,\n 7 | // The token amount.\n 8 | amount: u64,\n 9 | }\n | ^\n" diff --git a/tests/expectations/compiler/compiler/records/owner_wrong_ty.out b/tests/expectations/compiler/compiler/records/owner_wrong_ty.out new file mode 100644 index 0000000000..8a83efd4b0 --- /dev/null +++ b/tests/expectations/compiler/compiler/records/owner_wrong_ty.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [ETYC0372024]: The field `owner` in a `record` must have type `address`.\n --> compiler-test:6:5\n |\n 6 | owner: bool,\n | ^^^^^\n" diff --git a/tests/expectations/compiler/compiler/scalar/add.out b/tests/expectations/compiler/compiler/scalar/add.out index 3e3b6e6bb5..18e76e6e67 100644 --- a/tests/expectations/compiler/compiler/scalar/add.out +++ b/tests/expectations/compiler/compiler/scalar/add.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c528268c53f01e78fbbc8af3ed5e0dc1d4e9b9f28644c597167971edef764cf0 - initial_ast: 4923e90a5af7f7022458c82babd33fff5575da582d95b8a412a6be9c35dc3da9 + initial_ast: 5b3ef7dce7c2ffe2777c5b2a9545daead2f38e2b8707477db03e87faec6da7d2 symbol_table: 1876eba4e5ee94cf8982367a238c5019f0bdc66e334694d26f2932f392025f44 diff --git a/tests/expectations/compiler/compiler/scalar/cmp.out b/tests/expectations/compiler/compiler/scalar/cmp.out index 96b8c51de1..fb17c681b6 100644 --- a/tests/expectations/compiler/compiler/scalar/cmp.out +++ b/tests/expectations/compiler/compiler/scalar/cmp.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 8b51ce00d3448cda6f763ac1fbc6d14a2588dc0bc0d24eb423b5f417029b28c5 - initial_ast: 436af3d626c0916efeba38bac04eabefb86b031d094eb3287765e4536a73c9cd + initial_ast: 95590d79b6c281e99c71474d30c610d1f455254ad478a8c12f83e76bb624424e symbol_table: d81861360e0f528089da457597536cfa42c23c67ab245a07e635dbe2fbb32fb5 diff --git a/tests/expectations/compiler/compiler/scalar/div.out b/tests/expectations/compiler/compiler/scalar/div.out index 58437bc048..b2ef8f47a6 100644 --- a/tests/expectations/compiler/compiler/scalar/div.out +++ b/tests/expectations/compiler/compiler/scalar/div.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 3a7c59d773f33e6827986b770fb0a3434917ccb094cab158d5ae8dead74fa8c2 - initial_ast: 6115015eff2a0ead18df71fba5f1782df24fd6a81342cc86a3bc7fa7a5dbe529 + initial_ast: 8cc7803f72770ff9c129a32350e365aa18958bf0ef991cb2a7793075b90da062 symbol_table: 7834fa96812db8e93f4a3bd59164bc7733d0a69926cf52d5948e05bdce3455d0 diff --git a/tests/expectations/compiler/compiler/scalar/eq.out b/tests/expectations/compiler/compiler/scalar/eq.out index 85a19255a7..775e3df29c 100644 --- a/tests/expectations/compiler/compiler/scalar/eq.out +++ b/tests/expectations/compiler/compiler/scalar/eq.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: fbb9f33bc5cf7fd11341e6dc1d12d4899274f3bee34dd64590ffd3c9438a61a5 - initial_ast: b0607131efa1483a653664e52ef099247d34dd496a854b0c5a1b3a2332886f13 + initial_ast: 110f00451cdf3af4c1befda6c1a97f4b09fa1d1656ac037f225249e3a3e6000e symbol_table: 8ae4e9f2d81c8c887808b3a71b3e28c70e8844676c3ee600ff265415d1a8dbfd diff --git a/tests/expectations/compiler/compiler/scalar/group_mul.out b/tests/expectations/compiler/compiler/scalar/group_mul.out index 1f563e9829..73423dc278 100644 --- a/tests/expectations/compiler/compiler/scalar/group_mul.out +++ b/tests/expectations/compiler/compiler/scalar/group_mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: cb1157ee8277e48e0316befc327c4f0504659c2fd64e6efeedb7dcd9722c7a7e - initial_ast: 8b51b5388b1758d5aa1ab3e0ce74039668a8593b1d451ebaa3929aa0f5e4e484 + initial_ast: e1964446af946d772d62558a03503a43f8ddc7a1c6e517ee30e7305a140c09db symbol_table: 1a72d572ccecc576314191109763bf06c105e97c32c0c3457d9a5350b89423bb diff --git a/tests/expectations/compiler/compiler/scalar/mul.out b/tests/expectations/compiler/compiler/scalar/mul.out index e8f4808eec..75cb561176 100644 --- a/tests/expectations/compiler/compiler/scalar/mul.out +++ b/tests/expectations/compiler/compiler/scalar/mul.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c528268c53f01e78fbbc8af3ed5e0dc1d4e9b9f28644c597167971edef764cf0 - initial_ast: 1f873000946436cef7a07f8d15b4e81053cf3e8ece4e94d9db87e6ad3aa6f75b + initial_ast: 9ebc007363e99914d5b5ab3519ee40d49fabb61db7ae8a68395a5ff25afc3a1a symbol_table: 3739f707bdec6d0f3c75770646d9fc801a437e96ea8f5b1020abfc44ef475333 diff --git a/tests/expectations/compiler/compiler/scalar/operator_methods.out b/tests/expectations/compiler/compiler/scalar/operator_methods.out index 57a6573696..38fe62c969 100644 --- a/tests/expectations/compiler/compiler/scalar/operator_methods.out +++ b/tests/expectations/compiler/compiler/scalar/operator_methods.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 351e1f9f8fc577b89a037d3e52eddc9c932782274c1b19b090efb266439d7ab5 - initial_ast: c44bc7f857bef52470da6f363d46e2a96b6f43b2cc957974c3caf621441dff3f + initial_ast: ad1ba77e3c854d91bfa578b068a35036f3043e8312ebf9c86db6104c4d25e0c9 symbol_table: 525e19b7412a21fd007ac610fa883f89c141a9a30e7d88f0a644197dfee1d84d diff --git a/tests/expectations/compiler/compiler/scalar/scalar.out b/tests/expectations/compiler/compiler/scalar/scalar.out index 5b053f13ba..7b05e6724f 100644 --- a/tests/expectations/compiler/compiler/scalar/scalar.out +++ b/tests/expectations/compiler/compiler/scalar/scalar.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 28228b87fcb43040ca2c4a6c9e6539642323a9f64d837a6de7f579b17ceb1da4 - initial_ast: ea1fd57c1c354a1a0c30c7f2227888cd0f80aa6aef0f8ae99858126b7db1ff64 + initial_ast: 501cd588698e4c37e5e5f2ed272903f6e2277ec865c059df1a2a4526a35ccfcd symbol_table: d28e37161537c8e13b9c0fdce8d3663f3e4d8e3bae9fc5cf53732131dca4510b diff --git a/tests/expectations/compiler/compiler/scalar/ternary.out b/tests/expectations/compiler/compiler/scalar/ternary.out index 1cd750a5fc..5bfeb3648e 100644 --- a/tests/expectations/compiler/compiler/scalar/ternary.out +++ b/tests/expectations/compiler/compiler/scalar/ternary.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: fbb9f33bc5cf7fd11341e6dc1d12d4899274f3bee34dd64590ffd3c9438a61a5 - initial_ast: 0321ed5df7122eb40a16f0ce4f3c3bd4a655c44ecb35bfae684e63abfeace29a + initial_ast: 6b5149b93e9b42a66dabf3a1e041f6fa506c41d7c37eb14d7699c33abdac247b symbol_table: 6f4fe29a04532a1b259ea75706d26a7836034bd531f558425fa3baa193fe3915 diff --git a/tests/expectations/compiler/compiler/statements/all_loops.out b/tests/expectations/compiler/compiler/statements/all_loops.out index b26ff049b9..fe160d35d9 100644 --- a/tests/expectations/compiler/compiler/statements/all_loops.out +++ b/tests/expectations/compiler/compiler/statements/all_loops.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 2f21b4d5dc1058106889da0975de69c33e29bb184dace42559ad3e4da5140d21 - initial_ast: b3fe13d0165b011bf3c5c2c5b23e266af85f0f52a214d16a41fc1e39c1c2dd3e + initial_ast: 72d72a8e2719419f4fde8b2ef6b4600d9056efe736df419c8c426e9279dfe807 symbol_table: 17062ffd3a4c9628e2c6cd3af6c60b8d8117186a3f34be948bfe951ee96d702d diff --git a/tests/expectations/compiler/compiler/statements/block.out b/tests/expectations/compiler/compiler/statements/block.out index 1d2211af81..fe04207fe4 100644 --- a/tests/expectations/compiler/compiler/statements/block.out +++ b/tests/expectations/compiler/compiler/statements/block.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 198eb7d80bc19a6592fb460e0cebcbe3f5078d54990fffc59c7df12b184b7f45 - initial_ast: 2e79db1c23328fc08858eb76af379ad7e35148e87c935a24ec68564535b6d0ce + initial_ast: cf7ed47dfec89e9218f8ccb717a749c9477392dbfc53de8f32627490312ff7cb symbol_table: 58ff7182ef3f54b16388adf1a5ed1048ea66b9f44e1bdc8dddec83333fe9c14d diff --git a/tests/expectations/compiler/compiler/statements/chain.out b/tests/expectations/compiler/compiler/statements/chain.out index e1da88ab16..1ae847169c 100644 --- a/tests/expectations/compiler/compiler/statements/chain.out +++ b/tests/expectations/compiler/compiler/statements/chain.out @@ -6,5 +6,5 @@ outputs: - initial_input_ast: fe5796b8d715bb6171a2512556ac35483e41e87c7ea0245d879d4af6a2cc5a53 - initial_input_ast: 96ab541d4a0830d109dd74d3f3bff3b1e50a1ecea05334bb6042b71a6f15cf94 - initial_input_ast: f2d89f71957ad254e7693b39d829d0728443e2fe3a2664295fa83fe97bda12ca - initial_ast: d557f42a9b2768225df7c7a7d1d405dc52709d7226192ca3bb756f6a51f693d3 + initial_ast: 932158cc78956ff54049a8372c266737c8eb0ea98268a818691877412739d59a symbol_table: 057339b96e949644b9100ca88f160f6322d3d20f49b29c64e346f932c126bf74 diff --git a/tests/expectations/compiler/compiler/statements/compare_diff_types_fail.out b/tests/expectations/compiler/compiler/statements/compare_diff_types_fail.out index 67e238045b..3906369043 100644 --- a/tests/expectations/compiler/compiler/statements/compare_diff_types_fail.out +++ b/tests/expectations/compiler/compiler/statements/compare_diff_types_fail.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: fb915314d9b78be969b79981f55977bf7ef662c72c93184cf0e60788575f763a - initial_ast: 0bce8e3ee977c37947ff698cd2d66d01d24520c7ad141dc87e2e9c11bf9250dc + initial_ast: 0a313845582b4929789b314c5b8ac3f516b1aa01e34f1ec6009c0dc144f92616 symbol_table: d00a24d47934e8e043bdc1af4a6c0de4d05d10059a435982c942831864c1cbeb diff --git a/tests/expectations/compiler/compiler/statements/for_loop.out b/tests/expectations/compiler/compiler/statements/for_loop.out index 4a06a13490..d4eb461261 100644 --- a/tests/expectations/compiler/compiler/statements/for_loop.out +++ b/tests/expectations/compiler/compiler/statements/for_loop.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: 9fe934b08244cf726123179e290ddfd645bb8b283579741664055ea576b4800f - initial_ast: ba5afe553c67ccb44b64459d3b5aeb1e90bb40f976aaed41d7c80ad38f3bc0b5 + initial_ast: 59e060022eb735e5e9c9391f9da56dd48c463ed1b2c0b14ec89d6db80859d2ac symbol_table: e4bca60f5387ea06162a5ccd040b49966cbf2c5b52ed35a48d71b08e14e0fee1 diff --git a/tests/expectations/compiler/compiler/statements/iteration_basic.out b/tests/expectations/compiler/compiler/statements/iteration_basic.out index fb4bcee327..b539417ed2 100644 --- a/tests/expectations/compiler/compiler/statements/iteration_basic.out +++ b/tests/expectations/compiler/compiler/statements/iteration_basic.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: a07781bcb6b37246cd6b048878a0951cc90bb0f2a4fc05e2fb36b0e16928f37f - initial_ast: 37bc93ccec4462309aa686e9141fd80acd26f1e60cefbdc376c67b8dc0453acc + initial_ast: c7a14971408cb0fff82d8c45417c93dfa2d36254b21c1b55610a3527a49f6afe symbol_table: 43e0cef3208b26d9005ce71e3b20057f7fab524b6969cd7323f9a7a7eaa29ae9 diff --git a/tests/expectations/compiler/compiler/statements/iteration_variable.out b/tests/expectations/compiler/compiler/statements/iteration_variable.out index d4e172f0b2..6b45944078 100644 --- a/tests/expectations/compiler/compiler/statements/iteration_variable.out +++ b/tests/expectations/compiler/compiler/statements/iteration_variable.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: c918ce1ffc15cd823113a571123910dde670829e3fd04a22ca6f3fed8fd16eb4 - initial_ast: cf95bfb7061bb36b6cc2ca04639f7487362533f6b26f64306447a3032b40551e + initial_ast: 3ff81ead4edb3474008c23b7c146d12138cd4c19d3bb6479fe2e45965ea12eb7 symbol_table: 013ec5f72040ecfe9f45884659a7b674f37c5a2a98906c2f42ec7e07f727f0df diff --git a/tests/expectations/compiler/compiler/statements/multiple_returns.out b/tests/expectations/compiler/compiler/statements/multiple_returns.out index a8eeeb8c51..ab0a7ab796 100644 --- a/tests/expectations/compiler/compiler/statements/multiple_returns.out +++ b/tests/expectations/compiler/compiler/statements/multiple_returns.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 198eb7d80bc19a6592fb460e0cebcbe3f5078d54990fffc59c7df12b184b7f45 - initial_input_ast: e8c168b68e9259dd1cbe1810a54c0523005878e57bbeaa9d4493191347d62fe2 - initial_ast: 27fc20adbefee290e2a753a927c154bcda698198556d1878e1934ca599200298 + initial_ast: 00624c4b4091d0e5812c3682e44b6973f327a74df02482434edbda0b10f71371 symbol_table: 91af5c376605301bd7c934ad6ad829de5c8b92f7cfe45aff8543e1a77b24d8ac diff --git a/tests/expectations/compiler/compiler/statements/mutate.out b/tests/expectations/compiler/compiler/statements/mutate.out index 484c455bd7..86eda29315 100644 --- a/tests/expectations/compiler/compiler/statements/mutate.out +++ b/tests/expectations/compiler/compiler/statements/mutate.out @@ -5,5 +5,5 @@ outputs: - output: - initial_input_ast: 1616955974a4cb7c759158043772f241d043e67ed0063818c456aa1fae054b0c - initial_input_ast: 9ebf6d54b77d669ce67d3574d054a2bab06b159b077cb1b30e9014575badbc3b - initial_ast: 864da177acbb50bb5d5ff07f607c185cd00af007b505d2ce1eee81c675da974f + initial_ast: 62081a8f0aba9dae78c9baae1b8333743581880f37eb051147b48789d929551b symbol_table: 92816f4a99866162f44d9eaa22bea95c002ef73e9ba5e1ed74f2de1e4d8fa1d3 diff --git a/tests/expectations/compiler/compiler/statements/ternary_explicit_and_implicit.out b/tests/expectations/compiler/compiler/statements/ternary_explicit_and_implicit.out index bd16635812..ab4d2e1ddf 100644 --- a/tests/expectations/compiler/compiler/statements/ternary_explicit_and_implicit.out +++ b/tests/expectations/compiler/compiler/statements/ternary_explicit_and_implicit.out @@ -4,5 +4,5 @@ expectation: Pass outputs: - output: - initial_input_ast: ecc54967dfe1b2c067baa1fe6d2dfababe2a728338906c482b6582c25dd5cb0f - initial_ast: 10a1313671214035c776acf6e9d47d7ba1c77682def406322b70b26384fb8db0 + initial_ast: 2810ef0ebe18a03a525672e448d6ed0d949fd9f3b2ddaea971f1785537d7ca4b symbol_table: ea61603fdb0d2d3f9ed43f0b8fd044438c4f662ae0cfb97e95505b741a82ce0b diff --git a/tests/expectations/parser/parser/expression/literal/comment.out b/tests/expectations/parser/parser/expression/literal/comment.out index 800239ba7f..21d676cd77 100644 --- a/tests/expectations/parser/parser/expression/literal/comment.out +++ b/tests/expectations/parser/parser/expression/literal/comment.out @@ -6,4 +6,3 @@ outputs: expected_input: [] functions: {} circuits: {} - records: {} diff --git a/tests/expectations/parser/parser/functions/const_input.out b/tests/expectations/parser/parser/functions/const_input.out index ca5304e59e..03dfda29f0 100644 --- a/tests/expectations/parser/parser/functions/const_input.out +++ b/tests/expectations/parser/parser/functions/const_input.out @@ -50,4 +50,3 @@ outputs: lo: 36 hi: 72 circuits: {} - records: {} diff --git a/tests/expectations/parser/parser/functions/const_param.out b/tests/expectations/parser/parser/functions/const_param.out index 53aea0a567..aee1679873 100644 --- a/tests/expectations/parser/parser/functions/const_param.out +++ b/tests/expectations/parser/parser/functions/const_param.out @@ -90,4 +90,3 @@ outputs: lo: 65 hi: 126 circuits: {} - records: {} diff --git a/tests/expectations/parser/parser/functions/empty2.out b/tests/expectations/parser/parser/functions/empty2.out index 6a3fde490d..e44e4c6b66 100644 --- a/tests/expectations/parser/parser/functions/empty2.out +++ b/tests/expectations/parser/parser/functions/empty2.out @@ -20,4 +20,3 @@ outputs: lo: 2 hi: 23 circuits: {} - records: {} diff --git a/tests/expectations/parser/parser/functions/params.out b/tests/expectations/parser/parser/functions/params.out index 175b947a5a..4e0e4b6ff3 100644 --- a/tests/expectations/parser/parser/functions/params.out +++ b/tests/expectations/parser/parser/functions/params.out @@ -48,4 +48,3 @@ outputs: lo: 2 hi: 54 circuits: {} - records: {} diff --git a/tests/expectations/parser/parser/functions/params_return.out b/tests/expectations/parser/parser/functions/params_return.out index 2e3b334bdc..36c9a9f248 100644 --- a/tests/expectations/parser/parser/functions/params_return.out +++ b/tests/expectations/parser/parser/functions/params_return.out @@ -48,4 +48,3 @@ outputs: lo: 2 hi: 55 circuits: {} - records: {} diff --git a/tests/expectations/parser/parser/functions/public_param.out b/tests/expectations/parser/parser/functions/public_param.out index 6789fe17d4..7db82ec75c 100644 --- a/tests/expectations/parser/parser/functions/public_param.out +++ b/tests/expectations/parser/parser/functions/public_param.out @@ -90,4 +90,3 @@ outputs: lo: 63 hi: 122 circuits: {} - records: {} diff --git a/tests/expectations/parser/parser/functions/return.out b/tests/expectations/parser/parser/functions/return.out index e5710fe5f7..2a7224c915 100644 --- a/tests/expectations/parser/parser/functions/return.out +++ b/tests/expectations/parser/parser/functions/return.out @@ -32,4 +32,3 @@ outputs: lo: 2 hi: 41 circuits: {} - records: {} diff --git a/tests/expectations/parser/parser/serialize/one_plus_one.out b/tests/expectations/parser/parser/serialize/one_plus_one.out index 704de56ff1..68f2c1f0a1 100644 --- a/tests/expectations/parser/parser/serialize/one_plus_one.out +++ b/tests/expectations/parser/parser/serialize/one_plus_one.out @@ -28,4 +28,3 @@ outputs: - "1" op: Add circuits: {} - records: {} From 91fd8ff1b24e838dd752deeb0367ba5096b3b595 Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Fri, 1 Jul 2022 00:03:26 +0200 Subject: [PATCH 13/17] fix typo --- compiler/parser/src/parser/file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/parser/src/parser/file.rs b/compiler/parser/src/parser/file.rs index 48584f937a..7a94c0c823 100644 --- a/compiler/parser/src/parser/file.rs +++ b/compiler/parser/src/parser/file.rs @@ -1,4 +1,4 @@ -// Copyr&ight (C) 2019-2022 Aleo Systems Inc. +// 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 From ecc1fff7fd49b12c1d6fa84e5572d0e39b3651ee Mon Sep 17 00:00:00 2001 From: collin <16715212+collinc97@users.noreply.github.com> Date: Sat, 2 Jul 2022 14:08:17 -0700 Subject: [PATCH 14/17] cargo fmt --- .../src/type_checker/check_expressions.rs | 1 - .../passes/src/type_checker/check_program.rs | 29 +++++++------------ leo/span/src/dropless.rs | 1 - leo/span/src/span.rs | 1 - leo/span/src/symbol.rs | 1 - 5 files changed, 11 insertions(+), 22 deletions(-) diff --git a/compiler/passes/src/type_checker/check_expressions.rs b/compiler/passes/src/type_checker/check_expressions.rs index 67f41ca6d1..c7b740f8ff 100644 --- a/compiler/passes/src/type_checker/check_expressions.rs +++ b/compiler/passes/src/type_checker/check_expressions.rs @@ -395,7 +395,6 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { } } - fn visit_unary(&mut self, input: &'a UnaryExpression, destination: &Self::AdditionalInput) -> Self::Output { match input.op { UnaryOperation::Abs => { diff --git a/compiler/passes/src/type_checker/check_program.rs b/compiler/passes/src/type_checker/check_program.rs index b7e16637c4..50ba9e8fbd 100644 --- a/compiler/passes/src/type_checker/check_program.rs +++ b/compiler/passes/src/type_checker/check_program.rs @@ -18,8 +18,8 @@ use crate::{Declaration, TypeChecker, VariableSymbol}; use leo_ast::*; use leo_errors::TypeCheckerError; -use std::collections::HashSet; use leo_span::sym; +use std::collections::HashSet; impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { fn visit_function(&mut self, input: &'a Function) { @@ -54,12 +54,11 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { // Check for conflicting circuit member names. let mut used = HashSet::new(); if !input.members.iter().all(|member| used.insert(member.name())) { - self.handler - .emit_err(if input.is_record { - TypeCheckerError::duplicate_record_variable(input.name(), input.span()).into() - } else { - TypeCheckerError::duplicate_circuit_member(input.name(), input.span()).into() - }); + self.handler.emit_err(if input.is_record { + TypeCheckerError::duplicate_record_variable(input.name(), input.span()).into() + } else { + TypeCheckerError::duplicate_circuit_member(input.name(), input.span()).into() + }); } // For records, enforce presence of `owner: Address` and `balance: u64` members. @@ -67,22 +66,16 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { let check_has_field = |need, expected_ty: Type| match input .members .iter() - .find_map(|CircuitMember::CircuitVariable(v, t) | (v.name == need).then(|| (v, t))) + .find_map(|CircuitMember::CircuitVariable(v, t)| (v.name == need).then(|| (v, t))) { Some((_, actual_ty)) if expected_ty.eq_flat(actual_ty) => {} // All good, found + right type! Some((field, _)) => { - self.handler.emit_err(TypeCheckerError::record_var_wrong_type( - field, - expected_ty, - input.span(), - ).into()); + self.handler + .emit_err(TypeCheckerError::record_var_wrong_type(field, expected_ty, input.span()).into()); } None => { - self.handler.emit_err(TypeCheckerError::required_record_variable( - need, - expected_ty, - input.span(), - ).into()); + self.handler + .emit_err(TypeCheckerError::required_record_variable(need, expected_ty, input.span()).into()); } }; check_has_field(sym::owner, Type::Address); diff --git a/leo/span/src/dropless.rs b/leo/span/src/dropless.rs index 06830cdb2a..376cb8f4da 100644 --- a/leo/span/src/dropless.rs +++ b/leo/span/src/dropless.rs @@ -16,7 +16,6 @@ // Copyright Rust project developers under MIT or APACHE-2.0. - use core::alloc::Layout; use core::cell::{Cell, RefCell}; use core::mem::{self, MaybeUninit}; diff --git a/leo/span/src/span.rs b/leo/span/src/span.rs index 645189a456..7dff0ce0dc 100644 --- a/leo/span/src/span.rs +++ b/leo/span/src/span.rs @@ -14,7 +14,6 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . - //! Defines the `Span` type used to track where code comes from. use core::ops::{Add, Sub}; diff --git a/leo/span/src/symbol.rs b/leo/span/src/symbol.rs index 5f8cb03f30..868dd58527 100644 --- a/leo/span/src/symbol.rs +++ b/leo/span/src/symbol.rs @@ -14,7 +14,6 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . - use crate::dropless::DroplessArena; use crate::source_map::SourceMap; From 1a3b5d72f02fba5b1c79633efb3b36d6a659d2fe Mon Sep 17 00:00:00 2001 From: collin <16715212+collinc97@users.noreply.github.com> Date: Sat, 2 Jul 2022 16:36:07 -0700 Subject: [PATCH 15/17] remove license header newline --- .resources/license_header | 2 +- build.rs | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.resources/license_header b/.resources/license_header index 81d4967f68..cce3d83fb6 100644 --- a/.resources/license_header +++ b/.resources/license_header @@ -12,4 +12,4 @@ // 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 . +// along with the Leo library. If not, see . \ No newline at end of file diff --git a/build.rs b/build.rs index fb3accbece..6901fa4b2e 100644 --- a/build.rs +++ b/build.rs @@ -57,11 +57,7 @@ fn check_file_licenses>(path: P) { .read_to_end(&mut contents) .unwrap(); - assert!( - contents == EXPECTED_LICENSE_TEXT, - "The license in \"{}\" is either missing or it doesn't match the expected string!", - entry.path().display() - ); + assert_eq!(contents, EXPECTED_LICENSE_TEXT, "The license in \"{}\" is either missing or it doesn't match the expected string!", entry.path().display()); } } From 37a3d3dc8c147170654a8ec6e263ff35fe23b04e Mon Sep 17 00:00:00 2001 From: collin <16715212+collinc97@users.noreply.github.com> Date: Sat, 2 Jul 2022 16:38:47 -0700 Subject: [PATCH 16/17] nit --- build.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 6901fa4b2e..67a95495ab 100644 --- a/build.rs +++ b/build.rs @@ -57,7 +57,12 @@ fn check_file_licenses>(path: P) { .read_to_end(&mut contents) .unwrap(); - assert_eq!(contents, EXPECTED_LICENSE_TEXT, "The license in \"{}\" is either missing or it doesn't match the expected string!", entry.path().display()); + assert_eq!( + contents, + EXPECTED_LICENSE_TEXT, + "The license in \"{}\" is either missing or it doesn't match the expected string!", + entry.path().display() + ); } } From 52d76b25efdbed9637901404a0e6dfebd7211a16 Mon Sep 17 00:00:00 2001 From: collin <16715212+collinc97@users.noreply.github.com> Date: Sat, 2 Jul 2022 17:02:22 -0700 Subject: [PATCH 17/17] disable windows license check for now --- .licenserc.json | 29 ----------------------------- build.rs | 5 ++++- 2 files changed, 4 insertions(+), 30 deletions(-) delete mode 100644 .licenserc.json diff --git a/.licenserc.json b/.licenserc.json deleted file mode 100644 index 8a2324570e..0000000000 --- a/.licenserc.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "**/*.rs": [ - "// 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 .", - "" - ], - "ignore": [ - ".cargo", - ".github", - ".resources", - ".travis", - "examples", - "target/" - ] -} - diff --git a/build.rs b/build.rs index 67a95495ab..cc9de9360b 100644 --- a/build.rs +++ b/build.rs @@ -73,5 +73,8 @@ fn check_file_licenses>(path: P) { // The build script; it currently only checks the licenses. fn main() { // Check licenses in the current folder. - check_file_licenses("."); + if !cfg!(target_os = "windows") { + // disable license check for windows for now. + check_file_licenses("."); + } }