1. Speed up string literal lexing.

2. Move address check to parser.
3. Move assignment place WF check to type checker.
This commit is contained in:
Mazdak Farrokhzad 2022-06-12 05:49:09 +02:00
parent 1971dd0aa1
commit ddbf2ae849
93 changed files with 526 additions and 741 deletions

View File

@ -157,38 +157,11 @@ impl<R: ReconstructingReducer> ReconstructingDirector<R> {
self.reducer.reduce_definition(definition, variable_names, type_, value)
}
pub fn reduce_assignee_access(&mut self, access: &AssigneeAccess) -> Result<AssigneeAccess> {
let new = match access {
AssigneeAccess::ArrayRange(left, right) => {
let left = left.as_ref().map(|left| self.reduce_expression(left)).transpose()?;
let right = right.as_ref().map(|right| self.reduce_expression(right)).transpose()?;
AssigneeAccess::ArrayRange(left, right)
}
AssigneeAccess::ArrayIndex(index) => AssigneeAccess::ArrayIndex(self.reduce_expression(index)?),
AssigneeAccess::Member(identifier) => AssigneeAccess::Member(self.reduce_identifier(identifier)?),
_ => access.clone(),
};
self.reducer.reduce_assignee_access(access, new)
}
pub fn reduce_assignee(&mut self, assignee: &Assignee) -> Result<Assignee> {
let identifier = self.reduce_identifier(&assignee.identifier)?;
let mut accesses = vec![];
for access in assignee.accesses.iter() {
accesses.push(self.reduce_assignee_access(access)?);
}
self.reducer.reduce_assignee(assignee, identifier, accesses)
}
pub fn reduce_assign(&mut self, assign: &AssignStatement) -> Result<AssignStatement> {
let assignee = self.reduce_assignee(&assign.assignee)?;
let place = self.reduce_expression(&assign.place)?;
let value = self.reduce_expression(&assign.value)?;
self.reducer.reduce_assign(assign, assignee, value)
self.reducer.reduce_assign(assign, place, value)
}
pub fn reduce_conditional(&mut self, conditional: &ConditionalStatement) -> Result<ConditionalStatement> {

View File

@ -159,32 +159,15 @@ pub trait ReconstructingReducer {
})
}
fn reduce_assignee_access(&mut self, _access: &AssigneeAccess, new: AssigneeAccess) -> Result<AssigneeAccess> {
Ok(new)
}
fn reduce_assignee(
&mut self,
assignee: &Assignee,
identifier: Identifier,
accesses: Vec<AssigneeAccess>,
) -> Result<Assignee> {
Ok(Assignee {
identifier,
accesses,
span: assignee.span,
})
}
fn reduce_assign(
&mut self,
assign: &AssignStatement,
assignee: Assignee,
place: Expression,
value: Expression,
) -> Result<AssignStatement> {
Ok(AssignStatement {
operation: assign.operation,
assignee,
place,
value,
span: assign.span,
})

View File

@ -1,72 +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 <https://www.gnu.org/licenses/>.
use crate::{Expression, Identifier, PositiveNumber};
use leo_span::Span;
use serde::{Deserialize, Serialize};
use std::fmt;
#[allow(clippy::large_enum_variant)]
/// A sub-place in a variable to assign to.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub enum AssigneeAccess {
/// Assignment to a range in an array.
ArrayRange(Option<Expression>, Option<Expression>),
/// Assignment to an element of an array identified by its index.
ArrayIndex(Expression),
/// Assignment to a tuple field by its position, e.g., `2`.
Tuple(PositiveNumber, #[serde(with = "leo_span::span_json")] Span),
/// Assignment to a field in a structure.
Member(Identifier),
}
/// Definition assignee, e.g., `v`, `arr[0..2]`, `p.x`.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct Assignee {
/// The base variable to assign to.
pub identifier: Identifier,
/// Sub-places within `identifier` to assign to, if any.
pub accesses: Vec<AssigneeAccess>,
pub span: Span,
}
impl Assignee {
/// Returns the name of the variable being assigned to.
pub fn identifier(&self) -> &Identifier {
&self.identifier
}
}
impl fmt::Display for Assignee {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "{}", self.identifier)?;
for access in &self.accesses {
match access {
AssigneeAccess::ArrayRange(Some(left), Some(right)) => write!(f, "[{}..{}]", left, right)?,
AssigneeAccess::ArrayRange(None, Some(right)) => write!(f, "[..{}]", right)?,
AssigneeAccess::ArrayRange(Some(left), None) => write!(f, "[{}..]", left)?,
AssigneeAccess::ArrayRange(None, None) => write!(f, "[..]")?,
AssigneeAccess::ArrayIndex(index) => write!(f, "[{}]", index)?,
AssigneeAccess::Tuple(index, _span) => write!(f, ".{}", index)?,
AssigneeAccess::Member(member) => write!(f, ".{}", member)?,
}
}
write!(f, "")
}
}

View File

@ -20,9 +20,6 @@ use leo_span::Span;
use serde::{Deserialize, Serialize};
use std::fmt;
mod assignee;
pub use assignee::*;
/// The assignment operator.
#[derive(Clone, Copy, PartialEq, Eq, Serialize, Deserialize, Debug)]
pub enum AssignOperation {
@ -87,7 +84,7 @@ pub struct AssignStatement {
/// For plain assignment, use `AssignOperation::Assign`.
pub operation: AssignOperation,
/// The place to assign to.
pub assignee: Assignee,
pub place: Expression,
/// The value to assign to the `assignee`.
pub value: Expression,
/// The span, excluding the semicolon.
@ -96,7 +93,7 @@ pub struct AssignStatement {
impl fmt::Display for AssignStatement {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "{} {} {};", self.assignee, self.operation.as_ref(), self.value)
write!(f, "{} {} {};", self.place, self.operation.as_ref(), self.value)
}
}

View File

@ -17,6 +17,7 @@
use super::*;
use leo_errors::{ParserError, Result};
use snarkvm_dpc::{prelude::Address, testnet2::Testnet2};
const INT_TYPES: &[Token] = &[
Token::I8,
@ -449,7 +450,12 @@ impl ParserContext<'_> {
}
Token::True => Expression::Value(ValueExpression::Boolean("true".into(), span)),
Token::False => Expression::Value(ValueExpression::Boolean("false".into(), span)),
Token::AddressLit(value) => Expression::Value(ValueExpression::Address(value, span)),
Token::AddressLit(addr) => {
if addr.parse::<Address<Testnet2>>().is_err() {
self.emit_err(ParserError::invalid_address_lit(&addr, span).into());
}
Expression::Value(ValueExpression::Address(addr, span))
}
Token::StaticString(value) => Expression::Value(ValueExpression::String(value, span)),
Token::Ident(name) => {
let ident = Identifier { name, span };

View File

@ -22,24 +22,6 @@ use leo_span::sym;
const ASSIGN_TOKENS: &[Token] = &[Token::Assign];
impl ParserContext<'_> {
/// Returns an [`Identifier`] AST node if the given [`Expression`] AST node evaluates to an
/// identifier access. The access is stored in the given accesses.
fn construct_assignee_access(expr: Expression, _accesses: &mut [AssigneeAccess]) -> Result<Identifier> {
match expr {
Expression::Identifier(id) => Ok(id),
_ => Err(ParserError::invalid_assignment_target(expr.span()).into()),
}
}
/// Returns an [`Assignee`] AST node from the given [`Expression`] AST node with accesses.
fn construct_assignee(expr: Expression) -> Result<Assignee> {
let mut accesses = Vec::new();
Ok(Assignee {
span: expr.span(),
identifier: Self::construct_assignee_access(expr, &mut accesses)?,
accesses,
})
}
/// Returns a [`Statement`] AST node if the next tokens represent a statement.
pub(crate) fn parse_statement(&mut self) -> Result<Statement> {
@ -56,15 +38,14 @@ impl ParserContext<'_> {
/// Returns a [`Block`] AST node if the next tokens represent a assign, or expression statement.
fn parse_assign_statement(&mut self) -> Result<Statement> {
let expr = self.parse_expression()?;
let place = self.parse_expression()?;
if self.eat_any(ASSIGN_TOKENS) {
let value = self.parse_expression()?;
let assignee = Self::construct_assignee(expr)?;
self.expect(&Token::Semicolon)?;
Ok(Statement::Assign(Box::new(AssignStatement {
span: assignee.span + value.span(),
assignee,
span: place.span() + value.span(),
place,
// Currently only `=` so this is alright.
operation: AssignOperation::Assign,
value,
@ -72,7 +53,7 @@ impl ParserContext<'_> {
} else {
// Error on `expr;` but recover as an empty block `{}`.
self.expect(&Token::Semicolon)?;
let span = expr.span() + self.prev_token.span;
let span = place.span() + self.prev_token.span;
self.emit_err(ParserError::expr_stmts_disallowed(span));
Ok(Statement::dummy(span))
}

View File

@ -17,13 +17,11 @@
use crate::tokenizer::Token;
use leo_errors::{ParserError, Result};
use leo_span::{Span, Symbol};
use snarkvm_dpc::{prelude::*, testnet2::Testnet2};
use serde::{Deserialize, Serialize};
use std::{
fmt,
iter::{from_fn, Peekable},
str::FromStr,
};
/// Eat an identifier, that is, a string matching '[a-zA-Z][a-zA-Z\d_]*', if any.
@ -176,6 +174,7 @@ impl Token {
return Err(ParserError::lexer_empty_input().into());
}
let input_str = input;
let mut input = input.chars().peekable();
// Consumes a single character token.
@ -207,28 +206,18 @@ impl Token {
match *input.peek().ok_or_else(ParserError::lexer_empty_input)? {
x if x.is_ascii_whitespace() => return single(&mut input, Token::WhiteSpace),
'"' => {
let mut string = String::new();
input.next();
let mut ended = false;
while let Some(c) = input.next() {
// Check for illegal characters.
if is_bidi_override(c) {
return Err(ParserError::lexer_bidi_override().into());
}
// Check for end string quotation mark.
if c == '"' {
input.next();
ended = true;
break;
}
string.push(c);
// Check for illegal characters.
if input_str.chars().any(is_bidi_override) {
return Err(ParserError::lexer_bidi_override().into());
}
if !ended {
return Err(ParserError::lexer_string_not_closed(string).into());
}
// Find end string quotation mark.
// Instead of checking each `char` and pushing, we can avoid reallocations.
let rest = &input_str[1..];
let string = match rest.as_bytes().iter().position(|c| *c == b'"') {
None => return Err(ParserError::lexer_string_not_closed(rest).into()),
Some(idx) => rest[..idx].to_owned(),
};
// + 2 to account for parsing quotation marks.
return Ok((string.len() + 2, Token::StaticString(string)));
@ -379,8 +368,3 @@ impl fmt::Debug for SpannedToken {
<SpannedToken as fmt::Display>::fmt(self, f)
}
}
/// Returns true if the given string is a valid Aleo address.
pub(crate) fn check_address(address: &str) -> bool {
Address::<Testnet2>::from_str(address).is_ok()
}

View File

@ -28,11 +28,8 @@ pub(crate) use self::token::*;
pub(crate) mod lexer;
pub(crate) use self::lexer::*;
use leo_errors::{ParserError, Result};
use leo_span::{
span::{BytePos, Pos},
Span,
};
use leo_errors::Result;
use leo_span::span::{BytePos, Pos, Span};
/// Creates a new vector of spanned tokens from a given file path and source code text.
pub(crate) fn tokenize(input: &str, start_pos: BytePos) -> Result<Vec<SpannedToken>> {
@ -57,9 +54,6 @@ pub(crate) fn tokenize_iter(input: &str, mut lo: BytePos) -> impl '_ + Iterator<
match token {
Token::WhiteSpace => continue,
Token::AddressLit(address) if !check_address(&address) => {
return Some(Err(ParserError::invalid_address_lit(address, span).into()));
}
_ => return Some(Ok(SpannedToken { token, span })),
}
}

View File

@ -35,8 +35,8 @@ pub struct SymbolTable<'a> {
}
impl<'a> SymbolTable<'a> {
pub fn check_shadowing(&self, symbol: &Symbol, span: Span) -> Result<()> {
if self.functions.contains_key(symbol) {
pub fn check_shadowing(&self, symbol: Symbol, span: Span) -> Result<()> {
if self.functions.contains_key(&symbol) {
Err(AstError::shadowed_function(symbol, span).into())
} else {
self.variables.check_shadowing(symbol, span)?;
@ -49,22 +49,22 @@ impl<'a> SymbolTable<'a> {
}
pub fn insert_fn(&mut self, symbol: Symbol, insert: &'a Function) -> Result<()> {
self.check_shadowing(&symbol, insert.span)?;
self.check_shadowing(symbol, insert.span)?;
self.functions.insert(symbol, insert);
Ok(())
}
pub fn insert_variable(&mut self, symbol: Symbol, insert: VariableSymbol<'a>) -> Result<()> {
self.check_shadowing(&symbol, insert.span)?;
self.check_shadowing(symbol, insert.span)?;
self.variables.variables.insert(symbol, insert);
Ok(())
}
pub fn lookup_fn(&self, symbol: &Symbol) -> Option<&&'a Function> {
self.functions.get(symbol)
pub fn lookup_fn(&self, symbol: Symbol) -> Option<&&'a Function> {
self.functions.get(&symbol)
}
pub fn lookup_variable(&self, symbol: &Symbol) -> Option<&VariableSymbol<'a>> {
pub fn lookup_variable(&self, symbol: Symbol) -> Option<&VariableSymbol<'a>> {
self.variables.lookup_variable(symbol)
}

View File

@ -35,8 +35,8 @@ pub struct VariableScope<'a> {
}
impl<'a> VariableScope<'a> {
pub fn check_shadowing(&self, symbol: &Symbol, span: Span) -> Result<()> {
if self.variables.contains_key(symbol) {
pub fn check_shadowing(&self, symbol: Symbol, span: Span) -> Result<()> {
if self.variables.contains_key(&symbol) {
Err(AstError::shadowed_variable(symbol, span).into())
} else if let Some(parent) = &self.parent {
parent.check_shadowing(symbol, span)
@ -50,8 +50,8 @@ impl<'a> VariableScope<'a> {
self.variables.clear();
}
pub fn lookup_variable(&self, symbol: &Symbol) -> Option<&VariableSymbol<'a>> {
if let Some(var) = self.variables.get(symbol) {
pub fn lookup_variable(&self, symbol: Symbol) -> Option<&VariableSymbol<'a>> {
if let Some(var) = self.variables.get(&symbol) {
Some(var)
} else if let Some(parent) = &self.parent {
parent.lookup_variable(symbol)

View File

@ -61,14 +61,14 @@ impl<'a> ExpressionVisitorDirector<'a> for Director<'a> {
None
}
fn visit_identifier(&mut self, input: &'a Identifier, expected: &Self::AdditionalInput) -> Option<Self::Output> {
if let VisitResult::VisitChildren = self.visitor.visit_identifier(input) {
return if let Some(var) = self.visitor.symbol_table.clone().lookup_variable(&input.name) {
Some(self.visitor.assert_expected_option(*var.type_, expected, input.span))
fn visit_identifier(&mut self, var: &'a Identifier, expected: &Self::AdditionalInput) -> Option<Self::Output> {
if let VisitResult::VisitChildren = self.visitor.visit_identifier(var) {
return if let Some(var) = self.visitor.symbol_table.clone().lookup_variable(var.name) {
Some(self.visitor.assert_expected_option(*var.type_, expected, var.span))
} else {
self.visitor
.handler
.emit_err(TypeCheckerError::unknown_sym("variable", input.name, input.span()).into());
.emit_err(TypeCheckerError::unknown_sym("variable", var.name, var.span()).into());
None
};
}
@ -503,7 +503,7 @@ impl<'a> ExpressionVisitorDirector<'a> for Director<'a> {
fn visit_call(&mut self, input: &'a CallExpression, expected: &Self::AdditionalInput) -> Option<Self::Output> {
match &*input.function {
Expression::Identifier(ident) => {
if let Some(func) = self.visitor.symbol_table.clone().lookup_fn(&ident.name) {
if let Some(func) = self.visitor.symbol_table.clone().lookup_fn(ident.name) {
let ret = self.visitor.assert_expected_option(func.output, expected, func.span());
if func.input.len() != input.arguments.len() {

View File

@ -29,7 +29,7 @@ impl<'a> StatementVisitorDirector<'a> for Director<'a> {
// statements should always have some parent block
let parent = self.visitor.parent.unwrap();
let return_type = &self.visitor.symbol_table.lookup_fn(&parent).map(|f| f.output);
let return_type = &self.visitor.symbol_table.lookup_fn(parent).map(|f| f.output);
self.visitor.validate_ident_type(return_type);
self.visitor.has_return = true;
@ -62,8 +62,17 @@ impl<'a> StatementVisitorDirector<'a> for Director<'a> {
}
fn visit_assign(&mut self, input: &'a AssignStatement) {
let var_name = &input.assignee.identifier.name;
let var_type = if let Some(var) = self.visitor.symbol_table.lookup_variable(var_name) {
let var_name = match input.place {
Expression::Identifier(id) => id,
_ => {
self.visitor
.handler
.emit_err(TypeCheckerError::invalid_assignment_target(input.place.span()).into());
return;
}
};
let var_type = if let Some(var) = self.visitor.symbol_table.lookup_variable(var_name.name) {
match &var.declaration {
Declaration::Const => self
.visitor
@ -78,9 +87,9 @@ impl<'a> StatementVisitorDirector<'a> for Director<'a> {
Some(*var.type_)
} else {
self.visitor.handler.emit_err(
TypeCheckerError::unknown_sym("variable", &input.assignee.identifier.name, input.assignee.span).into(),
);
self.visitor
.handler
.emit_err(TypeCheckerError::unknown_sym("variable", var_name.name, var_name.span).into());
None
};

View File

@ -120,14 +120,6 @@ create_messages!(
help: None,
}
/// For when the parser encountered an invalid assignment target.
@formatted
invalid_assignment_target {
args: (),
msg: "invalid assignment target",
help: None,
}
/// For when the parser encountered an invalid package name.
@formatted
invalid_package_name {

View File

@ -23,6 +23,14 @@ create_messages!(
code_mask: 2000i32,
code_prefix: "TYC",
/// For when the parser encountered an invalid assignment target.
@formatted
invalid_assignment_target {
args: (),
msg: "invalid assignment target",
help: None,
}
/// For when the user tries to assign to a const input.
@formatted
cannont_assign_to_const_input {

View File

@ -1,5 +1,5 @@
/*
namespace: ParseStatement
namespace: Compile
expectation: Fail
*/
@ -27,4 +27,6 @@ x {x: y, y: z} = y;
x() = y;
🦀 = y;
x.y() = y;
🦀 = y;

View File

@ -0,0 +1,8 @@
---
namespace: Compile
expectation: Pass
outputs:
- output:
- initial_input_ast: c7315faf1ac3ceeb90260e64e4a411a27a8aa732892a64c15f49e81adf464beb
initial_ast: 3688ab144b092041835e40e5628f19967bdf89d5ff0709d65788139a2bb184a6
symbol_table: 7889ed5017f4f3951656b38265fa6339a29cddeca1be2aba54efc89f13ed7339

View File

@ -4,5 +4,5 @@ expectation: Pass
outputs:
- output:
- initial_input_ast: c7315faf1ac3ceeb90260e64e4a411a27a8aa732892a64c15f49e81adf464beb
initial_ast: 767d8228dd9818cb115e7369cec91352dd406008981487380e863deb06dc11a0
initial_ast: e7d10c4b2ac932327a11a69715f28af4d6c0c4becd841f74077b5b11a717bc85
symbol_table: a712053d471b6165809fc2b4f717282ea5590a2cfaeae8a630c8a3250478d179

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [EPAR0370026]: Could not lex the following content: `''`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `''`.\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [EPAR0370026]: Could not lex the following content: `'a'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'a'`.\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [EPAR0370026]: Could not lex the following content: `'z'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'z'`.\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372012]: The type DNE is not a valid built in type.\n --> compiler-test:4:27\n |\n 4 | function main(public dne: DNE, a: bool) -> bool {\n | ^^^\n"
- "Error [ETYC0372013]: The type DNE is not a valid built in type.\n --> compiler-test:4:27\n |\n 4 | function main(public dne: DNE, a: bool) -> bool {\n | ^^^\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372004]: Unknown variable `b`\n --> compiler-test:4:14\n |\n 4 | \tlet b: u8 = b;\n | ^\n"
- "Error [ETYC0372005]: Unknown variable `b`\n --> compiler-test:4:14\n |\n 4 | \tlet b: u8 = b;\n | ^\n"

View File

@ -4,5 +4,5 @@ expectation: Pass
outputs:
- output:
- initial_input_ast: 78b65cde248c05f4abfe2d3cf794fbd44de082303631db7e3002aa724099fee1
initial_ast: b9c41b81bba799989ce6abcae9ea82f5ba0564a66709c675db033456ac1ef862
initial_ast: 8c95a1aee72799884e6b8d881b3e2a61134806c89d00ac0c57f034bfc46f28eb
symbol_table: 738974bc93d03e230299143f22c4a8cb38e0962af93e19728f74a6bb8d25a6d0

View File

@ -4,5 +4,5 @@ expectation: Pass
outputs:
- output:
- initial_input_ast: 14d0aff05a3b8673ac44d18a969bd03157e19a724ebe2b6e805fdc82aa1e070d
initial_ast: 7266dc80dc8dc35c544868574e0c7654debd2e16f791a9a5ce711685950219a1
initial_ast: 11513a46d2837dc0a3014ccad8ca9b7c0f0be3c4069d3827606c1c2501b0f196
symbol_table: 69b32d3a21ca899d23b9eba6603ce9eea7191eb9a7a893e28ef3fcc6b355a4ff

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372013]: The function main has no return statement.\n --> compiler-test:3:1\n |\n 3 | function main() -> u8 {}\n | ^^^^^^^^^^^^^^^^^^^^^^^^\n"
- "Error [ETYC0372014]: The function main has no return statement.\n --> compiler-test:3:1\n |\n 3 | function main() -> u8 {}\n | ^^^^^^^^^^^^^^^^^^^^^^^^\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [EPAR0370041]: Expression statements are no longer supported.\n --> compiler-test:4:5\n |\n 4 | my_function();\n | ^^^^^^^^^^^^^^"
- "Error [EPAR0370040]: Expression statements are no longer supported.\n --> compiler-test:4:5\n |\n 4 | my_function();\n | ^^^^^^^^^^^^^^"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372002]: Found type `group` but type `scalar` was expected\n --> compiler-test:4:26\n |\n 4 | return (_, _)group * a;\n | ^\n"
- "Error [ETYC0372003]: Found type `group` but type `scalar` was expected\n --> compiler-test:4:26\n |\n 4 | return (_, _)group * a;\n | ^\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372008]: Expected one type from `u8,u16,u32,`, but got `i128`\n --> compiler-test:4:17\n |\n 4 | return a ** b == c;\n | ^\n"
- "Error [ETYC0372009]: Expected one type from `u8,u16,u32,`, but got `i128`\n --> compiler-test:4:17\n |\n 4 | return a ** b == c;\n | ^\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372008]: Expected one type from `u8,u16,u32,`, but got `i16`\n --> compiler-test:4:17\n |\n 4 | return a ** b == c;\n | ^\n"
- "Error [ETYC0372009]: Expected one type from `u8,u16,u32,`, but got `i16`\n --> compiler-test:4:17\n |\n 4 | return a ** b == c;\n | ^\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372008]: Expected one type from `u8,u16,u32,`, but got `i32`\n --> compiler-test:4:17\n |\n 4 | return a ** b == c;\n | ^\n"
- "Error [ETYC0372009]: Expected one type from `u8,u16,u32,`, but got `i32`\n --> compiler-test:4:17\n |\n 4 | return a ** b == c;\n | ^\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372008]: Expected one type from `u8,u16,u32,`, but got `i64`\n --> compiler-test:4:17\n |\n 4 | return a ** b == c;\n | ^\n"
- "Error [ETYC0372009]: Expected one type from `u8,u16,u32,`, but got `i64`\n --> compiler-test:4:17\n |\n 4 | return a ** b == c;\n | ^\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372008]: Expected one type from `u8,u16,u32,`, but got `i8`\n --> compiler-test:4:17\n |\n 4 | return a ** b == c;\n | ^\n"
- "Error [ETYC0372009]: Expected one type from `u8,u16,u32,`, but got `i8`\n --> compiler-test:4:17\n |\n 4 | return a ** b == c;\n | ^\n"

View File

@ -0,0 +1,5 @@
---
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372009]: Expected one type from `u8,u16,u32,`, but got `u128`\n --> compiler-test:4:17\n |\n 4 | return a ** b == c;\n | ^\n"

View File

@ -0,0 +1,5 @@
---
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372009]: Expected one type from `u8,u16,u32,`, but got `u64`\n --> compiler-test:4:17\n |\n 4 | return a ** b == c;\n | ^\n"

View File

@ -4,5 +4,5 @@ expectation: Pass
outputs:
- output:
- initial_input_ast: 1a264346d38ad228560df0abaa869c0bf4953b5deda0a93f02bd9697700489e3
initial_ast: 5d370262b3d2eb0329036d4e4d60221a07547e9e63fe215435072ad46d5f2e2a
initial_ast: c042247dadcac3ccb6c97be98f103f1f16e48bad9f10721f3f6e72548d70c77a
symbol_table: 955902f6a157a4830f6d69bc63ccd54bc6fdc8fee6b4f481926fa4a695688b69

View File

@ -4,5 +4,5 @@ expectation: Pass
outputs:
- output:
- initial_input_ast: 8b963717b41902e9ddd2d065137feca7555aaaafbd1591905ee890aab534f304
initial_ast: 41c8990dc1cf6afb70f2fbc8f17ba4e64d63ea696d9989e5d1f9a554393a232c
initial_ast: 227eef279e0f7840bae0ded4f827b7b9eb16e511eedc590bd00949fa4fd9e5ba
symbol_table: 03c28801d27a251ba77271104022e75a4d405bd4c96334c37033fdea7b0e8258

View File

@ -4,5 +4,5 @@ expectation: Pass
outputs:
- output:
- initial_input_ast: 7f054d619f362422dce83ca5563d462fe3206845a29de38bb3721f3cd2c69c11
initial_ast: 6b833755871962eb67f0a281ef1edd82bf84b0c9f03154f0b7b0330c554826d4
initial_ast: 7522398c3b6051ee9276088cf6624a497811d9f9beb91ee60a92dc09e64909c1
symbol_table: 17062ffd3a4c9628e2c6cd3af6c60b8d8117186a3f34be948bfe951ee96d702d

View File

@ -0,0 +1,5 @@
---
namespace: Compile
expectation: Fail
outputs:
- "Error [EPAR0370025]: Could not lex the following content: `🦀`.\n"

View File

@ -0,0 +1,5 @@
---
namespace: Compile
expectation: Fail
outputs:
- "Error [EPAR0370025]: Could not lex the following content: `🦀`.\n"

View File

@ -4,5 +4,5 @@ expectation: Pass
outputs:
- output:
- initial_input_ast: 555a602a6e176c37483e18f7fcc4abf1103c14642114729913b7c8433c76a667
initial_ast: bd58adf86143b15551d5f17e61826f3d434f50e4fc5caeea7f65d9457f6abf83
initial_ast: 0db15b03775f7a8257cc2e12a895c5fecb57ecade8830a2c534a1b36798300b8
symbol_table: 58ff7182ef3f54b16388adf1a5ed1048ea66b9f44e1bdc8dddec83333fe9c14d

View File

@ -6,5 +6,5 @@ outputs:
- initial_input_ast: 45904271733998b2b56d16f1fd4b035cd13f072ff6972108d90bd92d16e9266c
- initial_input_ast: 0d9c06667774ccec1cab8dca077b5021ff514b5384b72263f730a0a1bfd6469f
- initial_input_ast: a2d7fe3407284c9e88d8dd2e35a8d69f6ff51b1b25a8dfa53f0926416e1bfd3f
initial_ast: a152633f7bc700757ae04570f13eead69e1dcde5f33817cb967d7312a5bdbc1a
initial_ast: cec5bc7b2a20f76e6175e6a664c34ea4abdb34e3a8d975d780dab6e992389a89
symbol_table: 057339b96e949644b9100ca88f160f6322d3d20f49b29c64e346f932c126bf74

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372006]: The type `u8` is not negatable\n --> compiler-test:4:20\n |\n 4 | let b: bool = -a == -1u8;\n | ^\nError [ETYC0372006]: The type `u8` is not negatable\n --> compiler-test:4:26\n |\n 4 | let b: bool = -a == -1u8;\n | ^^^\nError [ETYC0372006]: The type `u8` is not negatable\n --> compiler-test:5:20\n |\n 5 | let c: bool = -a > -1u8;\n | ^\nError [ETYC0372006]: The type `u8` is not negatable\n --> compiler-test:5:25\n |\n 5 | let c: bool = -a > -1u8;\n | ^^^\nError [ETYC0372006]: The type `u8` is not negatable\n --> compiler-test:6:20\n |\n 6 | let d: bool = -a < -1u8;\n | ^\nError [ETYC0372006]: The type `u8` is not negatable\n --> compiler-test:6:25\n |\n 6 | let d: bool = -a < -1u8;\n | ^^^\nError [ETYC0372006]: The type `u8` is not negatable\n --> compiler-test:7:20\n |\n 7 | let e: bool = -a >= -1u8;\n | ^\nError [ETYC0372006]: The type `u8` is not negatable\n --> compiler-test:7:26\n |\n 7 | let e: bool = -a >= -1u8;\n | ^^^\nError [ETYC0372006]: The type `u8` is not negatable\n --> compiler-test:8:20\n |\n 8 | let f: bool = -a <= -1u8;\n | ^\nError [ETYC0372006]: The type `u8` is not negatable\n --> compiler-test:8:26\n |\n 8 | let f: bool = -a <= -1u8;\n | ^^^\nError [ETYC0372006]: The type `u8` is not negatable\n --> compiler-test:9:18\n |\n 9 | let g: u8 = -a * -1u8;\n | ^\nError [ETYC0372006]: The type `u8` is not negatable\n --> compiler-test:9:23\n |\n 9 | let g: u8 = -a * -1u8;\n | ^^^\nError [ETYC0372006]: The type `u8` is not negatable\n --> compiler-test:10:18\n |\n 10 | let h: u8 = -a ** -1u8;\n | ^\nError [ETYC0372006]: The type `u8` is not negatable\n --> compiler-test:10:24\n |\n 10 | let h: u8 = -a ** -1u8;\n | ^^^\n"
- "Error [ETYC0372007]: The type `u8` is not negatable\n --> compiler-test:4:20\n |\n 4 | let b: bool = -a == -1u8;\n | ^\nError [ETYC0372007]: The type `u8` is not negatable\n --> compiler-test:4:26\n |\n 4 | let b: bool = -a == -1u8;\n | ^^^\nError [ETYC0372007]: The type `u8` is not negatable\n --> compiler-test:5:20\n |\n 5 | let c: bool = -a > -1u8;\n | ^\nError [ETYC0372007]: The type `u8` is not negatable\n --> compiler-test:5:25\n |\n 5 | let c: bool = -a > -1u8;\n | ^^^\nError [ETYC0372007]: The type `u8` is not negatable\n --> compiler-test:6:20\n |\n 6 | let d: bool = -a < -1u8;\n | ^\nError [ETYC0372007]: The type `u8` is not negatable\n --> compiler-test:6:25\n |\n 6 | let d: bool = -a < -1u8;\n | ^^^\nError [ETYC0372007]: The type `u8` is not negatable\n --> compiler-test:7:20\n |\n 7 | let e: bool = -a >= -1u8;\n | ^\nError [ETYC0372007]: The type `u8` is not negatable\n --> compiler-test:7:26\n |\n 7 | let e: bool = -a >= -1u8;\n | ^^^\nError [ETYC0372007]: The type `u8` is not negatable\n --> compiler-test:8:20\n |\n 8 | let f: bool = -a <= -1u8;\n | ^\nError [ETYC0372007]: The type `u8` is not negatable\n --> compiler-test:8:26\n |\n 8 | let f: bool = -a <= -1u8;\n | ^^^\nError [ETYC0372007]: The type `u8` is not negatable\n --> compiler-test:9:18\n |\n 9 | let g: u8 = -a * -1u8;\n | ^\nError [ETYC0372007]: The type `u8` is not negatable\n --> compiler-test:9:23\n |\n 9 | let g: u8 = -a * -1u8;\n | ^^^\nError [ETYC0372007]: The type `u8` is not negatable\n --> compiler-test:10:18\n |\n 10 | let h: u8 = -a ** -1u8;\n | ^\nError [ETYC0372007]: The type `u8` is not negatable\n --> compiler-test:10:24\n |\n 10 | let h: u8 = -a ** -1u8;\n | ^^^\n"

View File

@ -4,5 +4,5 @@ expectation: Pass
outputs:
- output:
- initial_input_ast: 0a10c88a8cdd61a9e3572466c6b5ea5536c6cfdcf79c52cfa9fb9b925ef356b5
initial_ast: eee1d7262ccc295fc07e9bfb2724c8a886300f02a0aaa2e6dc417fd7917088fd
initial_ast: d6277a08a9df2a3b4ba8fdaad8f24398f1efbc69e701003f9379c847799e6b63
symbol_table: e4bca60f5387ea06162a5ccd040b49966cbf2c5b52ed35a48d71b08e14e0fee1

View File

@ -4,5 +4,5 @@ expectation: Pass
outputs:
- output:
- initial_input_ast: 2b08bca229cdf35a458353644c99931c266045ecfa23da55518e7542c6de4f55
initial_ast: 76ba9ebfe385646a3b3138612e28cb7759b6d7a3ed737710821f44deda4106fe
initial_ast: 40e55fd0b69dd0192697460104416d109591bd395633e7a1cd4c4a684fbd34df
symbol_table: 43e0cef3208b26d9005ce71e3b20057f7fab524b6969cd7323f9a7a7eaa29ae9

View File

@ -4,5 +4,5 @@ expectation: Pass
outputs:
- output:
- initial_input_ast: 54d447941be9647956ebb571b94203d24e695cc95b97a8e2405d4515f8f394ff
initial_ast: 493f140a615e3012493d1c4bde2b1574bd46e9893913cf31394f6d6b9b0bf31c
initial_ast: 40b05dc7308f612b1d3a34017802db3b8df8c244a3628ba10af1533524752e65
symbol_table: 013ec5f72040ecfe9f45884659a7b674f37c5a2a98906c2f42ec7e07f727f0df

View File

@ -5,5 +5,5 @@ outputs:
- output:
- initial_input_ast: 30e94504f0b96c93e8bc80d3a3fcdc1f01515be7f2c1d925a76429050c5cfcb5
- initial_input_ast: 926d9b29f33bf919b80281c18201806e190051d5a3dcef78d7be2cf634128099
initial_ast: bd4d486e1a5a76a57fedd99206cda8b55f3c8c1cbad27c2d17bc96255622cb8a
initial_ast: 0ef3bea6352b723272eed9f60a4b585bca5353136b480e55267ab613b65b7b2d
symbol_table: 92816f4a99866162f44d9eaa22bea95c002ef73e9ba5e1ed74f2de1e4d8fa1d3

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372004]: Unknown variable `z`\n --> compiler-test:4:19\n |\n 4 | \tlet b: u8 = 1u8**z;\n | ^\n"
- "Error [ETYC0372005]: Unknown variable `z`\n --> compiler-test:4:19\n |\n 4 | \tlet b: u8 = 1u8**z;\n | ^\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372004]: Unknown variable `x`\n --> compiler-test:4:14\n |\n 4 | \tlet b: u8 = x*z;\n | ^\nError [ETYC0372004]: Unknown variable `z`\n --> compiler-test:4:16\n |\n 4 | \tlet b: u8 = x*z;\n | ^\n"
- "Error [ETYC0372005]: Unknown variable `x`\n --> compiler-test:4:14\n |\n 4 | \tlet b: u8 = x*z;\n | ^\nError [ETYC0372005]: Unknown variable `z`\n --> compiler-test:4:16\n |\n 4 | \tlet b: u8 = x*z;\n | ^\n"

View File

@ -2,4 +2,4 @@
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370028]: Could not parse the implicit value: 1.\n --> test:1:1\n |\n 1 | 1 == 2 == 3\n | ^"
- "Error [EPAR0370027]: Could not parse the implicit value: 1.\n --> test:1:1\n |\n 1 | 1 == 2 == 3\n | ^"

View File

@ -2,4 +2,4 @@
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370028]: Could not parse the implicit value: 1.\n --> test:1:1\n |\n 1 | 1 != 2 != 3\n | ^"
- "Error [EPAR0370027]: Could not parse the implicit value: 1.\n --> test:1:1\n |\n 1 | 1 != 2 != 3\n | ^"

View File

@ -2,4 +2,4 @@
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370028]: Could not parse the implicit value: 1.\n --> test:1:1\n |\n 1 | 1 != 2 != 3\n | ^"
- "Error [EPAR0370027]: Could not parse the implicit value: 1.\n --> test:1:1\n |\n 1 | 1 != 2 != 3\n | ^"

View File

@ -1,5 +1,5 @@
---
namespace: Token
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
@ -11,4 +11,4 @@ outputs:
- "Error [EPAR0370001]: invalid address literal: 'aleo1'\n --> test:1:1\n |\n 1 | aleo1\n | ^^^^^"
- "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
- "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d11'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d11\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
- "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
- "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x + aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x'\n --> test:1:68\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x + aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"

View File

@ -2,56 +2,56 @@
namespace: Token
expectation: Fail
outputs:
- "Error [EPAR0370026]: Could not lex the following content: `'a'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'Z'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\\"'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\''`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\t'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\r'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\0'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{F}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `''`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{E5}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'å'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{4e0}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'Ӡ'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{d800}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{2764}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'❤'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{1F622}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'😭'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{10001F}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x2A'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x7f'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x00'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x01'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x02'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x03'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x04'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x05'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x06'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x07'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x10'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x11'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x12'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x13'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x14'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x15'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x16'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x17'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x20'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x21'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x22'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x23'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x24'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x25'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x26'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x27'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x30'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x31'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x32'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x33'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x34'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x35'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x36'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x37'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'a'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'Z'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\\"'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\''`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\t'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\r'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\0'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{F}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `''`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{E5}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'å'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{4e0}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'Ӡ'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{d800}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{2764}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'❤'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{1F622}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'😭'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{10001F}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x2A'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x7f'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x00'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x01'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x02'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x03'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x04'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x05'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x06'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x07'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x10'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x11'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x12'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x13'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x14'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x15'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x16'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x17'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x20'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x21'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x22'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x23'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x24'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x25'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x26'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x27'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x30'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x31'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x32'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x33'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x34'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x35'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x36'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x37'`.\n"

View File

@ -2,50 +2,50 @@
namespace: Token
expectation: Fail
outputs:
- "Error [EPAR0370026]: Could not lex the following content: `'\\'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `\\`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `\\n`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'a`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `''`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x7'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\xz'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x9A'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x7g'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x80'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\xc1'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\xc2'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\xDF'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\xC0'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\xe0'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x9f'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'abcdefg'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\a'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\z'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\A'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\Z'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\1'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\9'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\*'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\t\\t'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\uz'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u1'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u}`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'🦀\\n'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u123'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'🦀1🦀'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u6🦀}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{af🦀'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{2764z'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{276g}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u9999999'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u00000000'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u01000000'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{110000}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{1234567890}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{bbbbb}\\u{aaaa}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'😭😂😘'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `''`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `\\`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `\\n`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'a`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `''`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x7'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\xz'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x9A'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x7g'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x80'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\xc1'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\xc2'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\xDF'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\xC0'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\xe0'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x9f'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'abcdefg'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\a'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\z'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\A'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\Z'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\1'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\9'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\*'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\t\\t'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\uz'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u1'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u}`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'🦀\\n'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u123'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'🦀1🦀'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u6🦀}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{af🦀'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{2764z'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{276g}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u9999999'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u00000000'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u01000000'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{110000}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{1234567890}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{bbbbb}\\u{aaaa}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'😭😂😘'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `''`.\n"

View File

@ -2,54 +2,54 @@
namespace: Token
expectation: Fail
outputs:
- "Error [EPAR0370026]: Could not lex the following content: `'a'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'Z'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\\"'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\t'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\r'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\0'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{F}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `''`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{E5}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'å'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{4e0}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'Ӡ'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{2764}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'❤'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{1F622}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'😭'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\u{10001F}'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x2A'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x7f'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x00'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x01'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x02'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x03'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x04'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x05'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x06'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x07'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x10'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x11'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x12'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x13'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x14'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x15'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x16'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x17'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x20'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x21'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x22'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x23'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x24'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x25'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x26'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x27'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x30'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x31'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x32'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x33'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x34'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x35'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x36'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'\\x37'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'a'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'Z'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\\"'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\t'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\r'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\0'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{F}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `''`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{E5}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'å'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{4e0}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'Ӡ'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{2764}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'❤'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{1F622}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'😭'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u{10001F}'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x2A'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x7f'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x00'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x01'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x02'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x03'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x04'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x05'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x06'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x07'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x10'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x11'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x12'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x13'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x14'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x15'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x16'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x17'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x20'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x21'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x22'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x23'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x24'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x25'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x26'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x27'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x30'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x31'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x32'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x33'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x34'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x35'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x36'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\x37'`.\n"

View File

@ -2,14 +2,14 @@
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370024]: Empty block comment."
- "Error [EPAR0370025]: Block comment does not close with content: `/* test`."
- "Error [EPAR0370023]: Empty block comment."
- "Error [EPAR0370024]: Block comment does not close with content: `/* test`."
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '/'\n --> test:1:1\n |\n 1 | / /\n | ^"
- "Error [EPAR0370025]: Block comment does not close with content: `/*/`."
- "Error [EPAR0370024]: Block comment does not close with content: `/*/`."
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '*'\n --> test:1:1\n |\n 1 | */\n | ^"
- "Error [EPAR0370026]: Could not lex the following content: `🦀**/`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `🦀*/`.\n"
- "Error [EPAR0370025]: Block comment does not close with content: `/*🦀/`."
- "Error [EPAR0370025]: Block comment does not close with content: `/**🦀`."
- "Error [EPAR0370025]: Block comment does not close with content: `/*🦀`."
- "Error [EPAR0370025]: Block comment does not close with content: `/*/*`."
- "Error [EPAR0370025]: Could not lex the following content: `🦀**/`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `🦀*/`.\n"
- "Error [EPAR0370024]: Block comment does not close with content: `/*🦀/`."
- "Error [EPAR0370024]: Block comment does not close with content: `/**🦀`."
- "Error [EPAR0370024]: Block comment does not close with content: `/*🦀`."
- "Error [EPAR0370024]: Block comment does not close with content: `/*/*`."

View File

@ -3,14 +3,14 @@ namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370005]: expected A valid expression. -- got 'A tuple expression.'\n --> test:1:1\n |\n 1 | ()group\n | ^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123)group\n | ^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123)group\n | ^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got ','\n --> test:1:2\n |\n 1 | (,)group\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '+'\n --> test:1:2\n |\n 1 | (+, -,)group\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got ','\n --> test:1:2\n |\n 1 | (,+, -)group\n | ^"
- "Error [EPAR0370005]: expected A valid expression. -- got 'A tuple expression.'\n --> test:1:1\n |\n 1 | (x,y)group\n | ^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123,456u8)group\n | ^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123,456field)group\n | ^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123,456u8)group\n | ^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123,456field)group\n | ^^^"
- "Error [EPAR0370004]: Unexpected white space between terms (123,456) and group\n --> test:1:11\n |\n 1 | (123, 456) group\n | ^"
- "Error [EPAR0370028]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123, )group\n | ^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123, 456, 789)group\n | ^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123, 456)bool\n | ^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123, )group\n | ^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123, 456, 789)group\n | ^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123, 456)bool\n | ^^^"

View File

@ -2,6 +2,6 @@
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370032]: A hex number `0x..` was provided but hex is not allowed."
- "Error [EPAR0370032]: A hex number `0x..` was provided but hex is not allowed."
- "Error [EPAR0370032]: A hex number `0x..` was provided but hex is not allowed."
- "Error [EPAR0370031]: A hex number `0x..` was provided but hex is not allowed."
- "Error [EPAR0370031]: A hex number `0x..` was provided but hex is not allowed."
- "Error [EPAR0370031]: A hex number `0x..` was provided but hex is not allowed."

View File

@ -2,4 +2,4 @@
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370032]: A hex number `0x..` was provided but hex is not allowed."
- "Error [EPAR0370031]: A hex number `0x..` was provided but hex is not allowed."

View File

@ -2,108 +2,108 @@
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370028]: Could not parse the implicit value: 123.\n --> test:1:1\n |\n 1 | 123\n | ^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 123.\n --> test:1:1\n |\n 1 | 123\n | ^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 456.\n --> test:1:1\n |\n 1 | 456\n | ^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 87377802873778028737780287377802873778028737780287377802873778028737780287377802.\n --> test:1:1\n |\n 1 | 87377802873778028737780287377802873778028737780287377802873778028737780287377802\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802.\n --> test:1:1\n |\n 1 | 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 340130024.\n --> test:1:1\n |\n 1 | 340130024\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 158951116.\n --> test:1:1\n |\n 1 | 158951116\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 155529659.\n --> test:1:1\n |\n 1 | 155529659\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 642023166.\n --> test:1:1\n |\n 1 | 642023166\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 228481736.\n --> test:1:1\n |\n 1 | 228481736\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 469712960.\n --> test:1:1\n |\n 1 | 469712960\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 929437719.\n --> test:1:1\n |\n 1 | 929437719\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 721072814.\n --> test:1:1\n |\n 1 | 721072814\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 363254789.\n --> test:1:1\n |\n 1 | 363254789\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 906732565.\n --> test:1:1\n |\n 1 | 906732565\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 288246391.\n --> test:1:1\n |\n 1 | 288246391\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 724940549.\n --> test:1:1\n |\n 1 | 724940549\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 487101620.\n --> test:1:1\n |\n 1 | 487101620\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 261373583.\n --> test:1:1\n |\n 1 | 261373583\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 891163927.\n --> test:1:1\n |\n 1 | 891163927\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 743967544.\n --> test:1:1\n |\n 1 | 743967544\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 8372586.\n --> test:1:1\n |\n 1 | 8372586\n | ^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 461793278.\n --> test:1:1\n |\n 1 | 461793278\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 806307045.\n --> test:1:1\n |\n 1 | 806307045\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 122764546.\n --> test:1:1\n |\n 1 | 122764546\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 356336181.\n --> test:1:1\n |\n 1 | 356336181\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 158370903.\n --> test:1:1\n |\n 1 | 158370903\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 774460877.\n --> test:1:1\n |\n 1 | 774460877\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 557174131.\n --> test:1:1\n |\n 1 | 557174131\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 492401267.\n --> test:1:1\n |\n 1 | 492401267\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 893445620.\n --> test:1:1\n |\n 1 | 893445620\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 957757048.\n --> test:1:1\n |\n 1 | 957757048\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 721540649.\n --> test:1:1\n |\n 1 | 721540649\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 390746493.\n --> test:1:1\n |\n 1 | 390746493\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 211251725.\n --> test:1:1\n |\n 1 | 211251725\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 938266114.\n --> test:1:1\n |\n 1 | 938266114\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 156985870.\n --> test:1:1\n |\n 1 | 156985870\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 703831126.\n --> test:1:1\n |\n 1 | 703831126\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 729964155.\n --> test:1:1\n |\n 1 | 729964155\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 988151305.\n --> test:1:1\n |\n 1 | 988151305\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 320872435.\n --> test:1:1\n |\n 1 | 320872435\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 719287167.\n --> test:1:1\n |\n 1 | 719287167\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 152289486.\n --> test:1:1\n |\n 1 | 152289486\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 740067975.\n --> test:1:1\n |\n 1 | 740067975\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 728627816.\n --> test:1:1\n |\n 1 | 728627816\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 385008978.\n --> test:1:1\n |\n 1 | 385008978\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 553967635.\n --> test:1:1\n |\n 1 | 553967635\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 71980713.\n --> test:1:1\n |\n 1 | 71980713\n | ^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 519444716.\n --> test:1:1\n |\n 1 | 519444716\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 116499965.\n --> test:1:1\n |\n 1 | 116499965\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 717422268.\n --> test:1:1\n |\n 1 | 717422268\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 18966279.\n --> test:1:1\n |\n 1 | 18966279\n | ^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 22458638.\n --> test:1:1\n |\n 1 | 22458638\n | ^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 857282620.\n --> test:1:1\n |\n 1 | 857282620\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 920675898.\n --> test:1:1\n |\n 1 | 920675898\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 762235516.\n --> test:1:1\n |\n 1 | 762235516\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 469018377.\n --> test:1:1\n |\n 1 | 469018377\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 199986521.\n --> test:1:1\n |\n 1 | 199986521\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 536679358.\n --> test:1:1\n |\n 1 | 536679358\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 591399452.\n --> test:1:1\n |\n 1 | 591399452\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 83083158.\n --> test:1:1\n |\n 1 | 83083158\n | ^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 599449051.\n --> test:1:1\n |\n 1 | 599449051\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 445442318.\n --> test:1:1\n |\n 1 | 445442318\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 585486590.\n --> test:1:1\n |\n 1 | 585486590\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 209278800.\n --> test:1:1\n |\n 1 | 209278800\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 873568117.\n --> test:1:1\n |\n 1 | 873568117\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 664470940.\n --> test:1:1\n |\n 1 | 664470940\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 465262783.\n --> test:1:1\n |\n 1 | 465262783\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 605652874.\n --> test:1:1\n |\n 1 | 605652874\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 376803940.\n --> test:1:1\n |\n 1 | 376803940\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 965247040.\n --> test:1:1\n |\n 1 | 965247040\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 598474509.\n --> test:1:1\n |\n 1 | 598474509\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 845119918.\n --> test:1:1\n |\n 1 | 845119918\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 648159133.\n --> test:1:1\n |\n 1 | 648159133\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 669051032.\n --> test:1:1\n |\n 1 | 669051032\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 800600261.\n --> test:1:1\n |\n 1 | 800600261\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 434689764.\n --> test:1:1\n |\n 1 | 434689764\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 520060080.\n --> test:1:1\n |\n 1 | 520060080\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 804659385.\n --> test:1:1\n |\n 1 | 804659385\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 537828058.\n --> test:1:1\n |\n 1 | 537828058\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 716600292.\n --> test:1:1\n |\n 1 | 716600292\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 387020273.\n --> test:1:1\n |\n 1 | 387020273\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 199375617.\n --> test:1:1\n |\n 1 | 199375617\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 680337189.\n --> test:1:1\n |\n 1 | 680337189\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 818479931.\n --> test:1:1\n |\n 1 | 818479931\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 893693281.\n --> test:1:1\n |\n 1 | 893693281\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 87377802.\n --> test:1:1\n |\n 1 | 87377802\n | ^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 84699261.\n --> test:1:1\n |\n 1 | 84699261\n | ^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 292826090.\n --> test:1:1\n |\n 1 | 292826090\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 569171405.\n --> test:1:1\n |\n 1 | 569171405\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 387436237.\n --> test:1:1\n |\n 1 | 387436237\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 150682190.\n --> test:1:1\n |\n 1 | 150682190\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 888770419.\n --> test:1:1\n |\n 1 | 888770419\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 824696431.\n --> test:1:1\n |\n 1 | 824696431\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 765659803.\n --> test:1:1\n |\n 1 | 765659803\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 270163693.\n --> test:1:1\n |\n 1 | 270163693\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 427940240.\n --> test:1:1\n |\n 1 | 427940240\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 504997332.\n --> test:1:1\n |\n 1 | 504997332\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 337808338.\n --> test:1:1\n |\n 1 | 337808338\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 907200008.\n --> test:1:1\n |\n 1 | 907200008\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 757177889.\n --> test:1:1\n |\n 1 | 757177889\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 696697188.\n --> test:1:1\n |\n 1 | 696697188\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 41376051.\n --> test:1:1\n |\n 1 | 41376051\n | ^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 496293518.\n --> test:1:1\n |\n 1 | 496293518\n | ^^^^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 251218820.\n --> test:1:1\n |\n 1 | 251218820\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 123.\n --> test:1:1\n |\n 1 | 123\n | ^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 123.\n --> test:1:1\n |\n 1 | 123\n | ^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 456.\n --> test:1:1\n |\n 1 | 456\n | ^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 87377802873778028737780287377802873778028737780287377802873778028737780287377802.\n --> test:1:1\n |\n 1 | 87377802873778028737780287377802873778028737780287377802873778028737780287377802\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802.\n --> test:1:1\n |\n 1 | 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 340130024.\n --> test:1:1\n |\n 1 | 340130024\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 158951116.\n --> test:1:1\n |\n 1 | 158951116\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 155529659.\n --> test:1:1\n |\n 1 | 155529659\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 642023166.\n --> test:1:1\n |\n 1 | 642023166\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 228481736.\n --> test:1:1\n |\n 1 | 228481736\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 469712960.\n --> test:1:1\n |\n 1 | 469712960\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 929437719.\n --> test:1:1\n |\n 1 | 929437719\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 721072814.\n --> test:1:1\n |\n 1 | 721072814\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 363254789.\n --> test:1:1\n |\n 1 | 363254789\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 906732565.\n --> test:1:1\n |\n 1 | 906732565\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 288246391.\n --> test:1:1\n |\n 1 | 288246391\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 724940549.\n --> test:1:1\n |\n 1 | 724940549\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 487101620.\n --> test:1:1\n |\n 1 | 487101620\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 261373583.\n --> test:1:1\n |\n 1 | 261373583\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 891163927.\n --> test:1:1\n |\n 1 | 891163927\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 743967544.\n --> test:1:1\n |\n 1 | 743967544\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 8372586.\n --> test:1:1\n |\n 1 | 8372586\n | ^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 461793278.\n --> test:1:1\n |\n 1 | 461793278\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 806307045.\n --> test:1:1\n |\n 1 | 806307045\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 122764546.\n --> test:1:1\n |\n 1 | 122764546\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 356336181.\n --> test:1:1\n |\n 1 | 356336181\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 158370903.\n --> test:1:1\n |\n 1 | 158370903\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 774460877.\n --> test:1:1\n |\n 1 | 774460877\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 557174131.\n --> test:1:1\n |\n 1 | 557174131\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 492401267.\n --> test:1:1\n |\n 1 | 492401267\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 893445620.\n --> test:1:1\n |\n 1 | 893445620\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 957757048.\n --> test:1:1\n |\n 1 | 957757048\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 721540649.\n --> test:1:1\n |\n 1 | 721540649\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 390746493.\n --> test:1:1\n |\n 1 | 390746493\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 211251725.\n --> test:1:1\n |\n 1 | 211251725\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 938266114.\n --> test:1:1\n |\n 1 | 938266114\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 156985870.\n --> test:1:1\n |\n 1 | 156985870\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 703831126.\n --> test:1:1\n |\n 1 | 703831126\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 729964155.\n --> test:1:1\n |\n 1 | 729964155\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 988151305.\n --> test:1:1\n |\n 1 | 988151305\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 320872435.\n --> test:1:1\n |\n 1 | 320872435\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 719287167.\n --> test:1:1\n |\n 1 | 719287167\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 152289486.\n --> test:1:1\n |\n 1 | 152289486\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 740067975.\n --> test:1:1\n |\n 1 | 740067975\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 728627816.\n --> test:1:1\n |\n 1 | 728627816\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 385008978.\n --> test:1:1\n |\n 1 | 385008978\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 553967635.\n --> test:1:1\n |\n 1 | 553967635\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 71980713.\n --> test:1:1\n |\n 1 | 71980713\n | ^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 519444716.\n --> test:1:1\n |\n 1 | 519444716\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 116499965.\n --> test:1:1\n |\n 1 | 116499965\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 717422268.\n --> test:1:1\n |\n 1 | 717422268\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 18966279.\n --> test:1:1\n |\n 1 | 18966279\n | ^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 22458638.\n --> test:1:1\n |\n 1 | 22458638\n | ^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 857282620.\n --> test:1:1\n |\n 1 | 857282620\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 920675898.\n --> test:1:1\n |\n 1 | 920675898\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 762235516.\n --> test:1:1\n |\n 1 | 762235516\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 469018377.\n --> test:1:1\n |\n 1 | 469018377\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 199986521.\n --> test:1:1\n |\n 1 | 199986521\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 536679358.\n --> test:1:1\n |\n 1 | 536679358\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 591399452.\n --> test:1:1\n |\n 1 | 591399452\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 83083158.\n --> test:1:1\n |\n 1 | 83083158\n | ^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 599449051.\n --> test:1:1\n |\n 1 | 599449051\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 445442318.\n --> test:1:1\n |\n 1 | 445442318\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 585486590.\n --> test:1:1\n |\n 1 | 585486590\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 209278800.\n --> test:1:1\n |\n 1 | 209278800\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 873568117.\n --> test:1:1\n |\n 1 | 873568117\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 664470940.\n --> test:1:1\n |\n 1 | 664470940\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 465262783.\n --> test:1:1\n |\n 1 | 465262783\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 605652874.\n --> test:1:1\n |\n 1 | 605652874\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 376803940.\n --> test:1:1\n |\n 1 | 376803940\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 965247040.\n --> test:1:1\n |\n 1 | 965247040\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 598474509.\n --> test:1:1\n |\n 1 | 598474509\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 845119918.\n --> test:1:1\n |\n 1 | 845119918\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 648159133.\n --> test:1:1\n |\n 1 | 648159133\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 669051032.\n --> test:1:1\n |\n 1 | 669051032\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 800600261.\n --> test:1:1\n |\n 1 | 800600261\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 434689764.\n --> test:1:1\n |\n 1 | 434689764\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 520060080.\n --> test:1:1\n |\n 1 | 520060080\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 804659385.\n --> test:1:1\n |\n 1 | 804659385\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 537828058.\n --> test:1:1\n |\n 1 | 537828058\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 716600292.\n --> test:1:1\n |\n 1 | 716600292\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 387020273.\n --> test:1:1\n |\n 1 | 387020273\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 199375617.\n --> test:1:1\n |\n 1 | 199375617\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 680337189.\n --> test:1:1\n |\n 1 | 680337189\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 818479931.\n --> test:1:1\n |\n 1 | 818479931\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 893693281.\n --> test:1:1\n |\n 1 | 893693281\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 87377802.\n --> test:1:1\n |\n 1 | 87377802\n | ^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 84699261.\n --> test:1:1\n |\n 1 | 84699261\n | ^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 292826090.\n --> test:1:1\n |\n 1 | 292826090\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 569171405.\n --> test:1:1\n |\n 1 | 569171405\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 387436237.\n --> test:1:1\n |\n 1 | 387436237\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 150682190.\n --> test:1:1\n |\n 1 | 150682190\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 888770419.\n --> test:1:1\n |\n 1 | 888770419\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 824696431.\n --> test:1:1\n |\n 1 | 824696431\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 765659803.\n --> test:1:1\n |\n 1 | 765659803\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 270163693.\n --> test:1:1\n |\n 1 | 270163693\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 427940240.\n --> test:1:1\n |\n 1 | 427940240\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 504997332.\n --> test:1:1\n |\n 1 | 504997332\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 337808338.\n --> test:1:1\n |\n 1 | 337808338\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 907200008.\n --> test:1:1\n |\n 1 | 907200008\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 757177889.\n --> test:1:1\n |\n 1 | 757177889\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 696697188.\n --> test:1:1\n |\n 1 | 696697188\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 41376051.\n --> test:1:1\n |\n 1 | 41376051\n | ^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 496293518.\n --> test:1:1\n |\n 1 | 496293518\n | ^^^^^^^^^"
- "Error [EPAR0370027]: Could not parse the implicit value: 251218820.\n --> test:1:1\n |\n 1 | 251218820\n | ^^^^^^^^^"

View File

@ -2,7 +2,7 @@
namespace: Token
expectation: Fail
outputs:
- "Error [EPAR0370023]: Expected a closed string but found `Hello world!`."
- "Error [EPAR0370023]: Expected a closed string but found `\\`."
- "Error [EPAR0370023]: Expected a closed string but found `⭇😍;`."
- "Error [EPAR0370040]: Unicode bidi override code point encountered."
- "Error [EPAR0370022]: Expected a closed string but found `Hello world!`."
- "Error [EPAR0370022]: Expected a closed string but found `\\`."
- "Error [EPAR0370022]: Expected a closed string but found `⭇😍;`."
- "Error [EPAR0370039]: Unicode bidi override code point encountered."

View File

@ -2,15 +2,15 @@
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `'h'`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `@test`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'h'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `@test`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '&&'\n --> test:1:1\n |\n 1 | &&\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '||'\n --> test:1:1\n |\n 1 | ||\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '=='\n --> test:1:1\n |\n 1 | ==\n | ^^"
@ -46,22 +46,22 @@ outputs:
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '?'\n --> test:1:1\n |\n 1 | ?\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '->'\n --> test:1:1\n |\n 1 | ->\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '_'\n --> test:1:1\n |\n 1 | _\n | ^"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got 'console'\n --> test:1:1\n |\n 1 | console\n | ^^^^^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got 'const'\n --> test:1:1\n |\n 1 | const\n | ^^^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got 'else'\n --> test:1:1\n |\n 1 | else\n | ^^^^"

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370026]: Could not lex the following content: `@foo(?,`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `@foo(?,`.\n"

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370026]: Could not lex the following content: `@context`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `@context`.\n"

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370041]: Expression statements are no longer supported.\n --> test:5:9\n |\n 5 | x(y+1u32);\n | ^^^^^^^^^^\nError [EPAR0370041]: Expression statements are no longer supported.\n --> test:10:5\n |\n 10 | x(1u32);\n | ^^^^^^^^"
- "Error [EPAR0370040]: Expression statements are no longer supported.\n --> test:5:9\n |\n 5 | x(y+1u32);\n | ^^^^^^^^^^\nError [EPAR0370040]: Expression statements are no longer supported.\n --> test:10:5\n |\n 10 | x(1u32);\n | ^^^^^^^^"

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370026]: Could not lex the following content: `\\`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `\\`.\n"

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370041]: Expression statements are no longer supported.\n --> test:4:5\n |\n 4 | inf();\n | ^^^^^^\nError [EPAR0370041]: Expression statements are no longer supported.\n --> test:8:5\n |\n 8 | inf();\n | ^^^^^^"
- "Error [EPAR0370040]: Expression statements are no longer supported.\n --> test:4:5\n |\n 4 | inf();\n | ^^^^^^\nError [EPAR0370040]: Expression statements are no longer supported.\n --> test:8:5\n |\n 8 | inf();\n | ^^^^^^"

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370038]: A parameter cannot be both public and const.\n --> test:3:20\n |\n 3 | function x(x: u32, public const y: i32) {\n | ^^^^^^^^^^^^"
- "Error [EPAR0370037]: A parameter cannot be both public and const.\n --> test:3:20\n |\n 3 | function x(x: u32, public const y: i32) {\n | ^^^^^^^^^^^^"

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370013]: \"test function...\" is deprecated. Did you mean @test annotation?\n --> test:3:1\n |\n 3 | test main() {}\n | ^^^^"
- "Error [EPAR0370012]: \"test function...\" is deprecated. Did you mean @test annotation?\n --> test:3:1\n |\n 3 | test main() {}\n | ^^^^"

View File

@ -2,4 +2,4 @@
namespace: Input
expectation: Fail
outputs:
- "Error [EPAR0370038]: A parameter cannot be both public and const.\n --> test:4:1\n |\n 4 | public constant a: bool = true;\n | ^^^^^^^^^^^^^^^"
- "Error [EPAR0370037]: A parameter cannot be both public and const.\n --> test:4:1\n |\n 4 | public constant a: bool = true;\n | ^^^^^^^^^^^^^^^"

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370026]: Could not lex the following content: `\\`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `\\`.\n"

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370040]: Unicode bidi override code point encountered."
- "Error [EPAR0370039]: Unicode bidi override code point encountered."

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370040]: Unicode bidi override code point encountered."
- "Error [EPAR0370039]: Unicode bidi override code point encountered."

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370026]: Could not lex the following content: `$`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `$`.\n"

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370026]: Could not lex the following content: `\\1u8`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `\\1u8`.\n"

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370032]: A hex number `0x..` was provided but hex is not allowed."
- "Error [EPAR0370031]: A hex number `0x..` was provided but hex is not allowed."

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370023]: Expected a closed string but found ``."
- "Error [EPAR0370022]: Expected a closed string but found ``."

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370026]: Could not lex the following content: `'`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'`.\n"

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370026]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `~`.\n"

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370026]: Could not lex the following content: `'\\u`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `'\\u`.\n"

View File

@ -4,12 +4,8 @@ expectation: Pass
outputs:
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
accesses: []
span:
lo: 0
hi: 1
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
value:
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":8}\"}"
span:
@ -17,12 +13,8 @@ outputs:
hi: 8
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
accesses: []
span:
lo: 0
hi: 1
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
value:
Binary:
left:
@ -38,12 +30,8 @@ outputs:
hi: 7
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
accesses: []
span:
lo: 0
hi: 1
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
value:
Call:
function:

View File

@ -2,6 +2,6 @@
namespace: ParseStatement
expectation: Fail
outputs:
- "Error [EPAR0370040]: Unicode bidi override code point encountered."
- "Error [EPAR0370039]: Unicode bidi override code point encountered."
- "Error [EPAR0370009]: unexpected string: expected 'formatted static_string', got '1'\n --> test:1:13\n |\n 1 | console.log(1);\n | ^"
- "Error [EPAR0370007]: unexpected identifier: expected 'assert', 'error', 'log' -- got 'test'\n --> test:1:9\n |\n 1 | console.test();\n | ^^^^"

View File

@ -42,6 +42,6 @@ outputs:
- "Error [EPAR0370005]: expected 'address', 'bool', 'field', 'group', 'scalar', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- got '['\n --> test:1:8\n |\n 1 | let x: [u8;\n | ^"
- "Error [EPAR0370005]: expected 'address', 'bool', 'field', 'group', 'scalar', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- got '['\n --> test:1:8\n |\n 1 | let x: [u8; 1u8] = [1,\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got ']'\n --> test:1:15\n |\n 1 | let dbg: u8 = ];\n | ^"
- "Error [EPAR0370026]: Could not lex the following content: `🦀:`.\n"
- "Error [EPAR0370035]: do not put parens around single variable names\n --> test:1:6\n |\n 1 | let (x) = ...;\n | ^\nError [EPAR0370005]: expected : -- got '='\n --> test:1:9\n |\n 1 | let (x) = ...;\n | ^"
- "Error [EPAR0370035]: do not put parens around single variable names\n --> test:1:6\n |\n 1 | let (x,) = ...;\n | ^\nError [EPAR0370005]: expected : -- got '='\n --> test:1:10\n |\n 1 | let (x,) = ...;\n | ^"
- "Error [EPAR0370025]: Could not lex the following content: `🦀:`.\n"
- "Error [EPAR0370034]: do not put parens around single variable names\n --> test:1:6\n |\n 1 | let (x) = ...;\n | ^\nError [EPAR0370005]: expected : -- got '='\n --> test:1:9\n |\n 1 | let (x) = ...;\n | ^"
- "Error [EPAR0370034]: do not put parens around single variable names\n --> test:1:6\n |\n 1 | let (x,) = ...;\n | ^\nError [EPAR0370005]: expected : -- got '='\n --> test:1:10\n |\n 1 | let (x,) = ...;\n | ^"

View File

@ -2,6 +2,6 @@
namespace: ParseStatement
expectation: Fail
outputs:
- "Error [EPAR0370041]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | expr;\n | ^^^^^"
- "Error [EPAR0370041]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | x+y;\n | ^^^^"
- "Error [EPAR0370041]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | x();\n | ^^^^"
- "Error [EPAR0370040]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | expr;\n | ^^^^^"
- "Error [EPAR0370040]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | x+y;\n | ^^^^"
- "Error [EPAR0370040]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | x();\n | ^^^^"

View File

@ -4,7 +4,7 @@ expectation: Fail
outputs:
- "Error [EPAR0370009]: unexpected string: expected 'expression', got ']'\n --> test:1:2\n |\n 1 | (];\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '['\n --> test:1:1\n |\n 1 | [);\n | ^"
- "Error [EPAR0370026]: Could not lex the following content: `\\y`.\n"
- "Error [EPAR0370025]: Could not lex the following content: `\\y`.\n"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got ';'\n --> test:1:6\n |\n 1 | (x,y|;\n | ^"
- "Error [EPAR0370005]: expected ; -- got '['\n --> test:1:2\n |\n 1 | x[};\n | ^"
- "Error [EPAR0370005]: expected ) -- got ']'\n --> test:1:6\n |\n 1 | (x, y];\n | ^"

View File

@ -2,6 +2,6 @@
namespace: ParseStatement
expectation: Fail
outputs:
- "Error [EPAR0370032]: A hex number `0x..` was provided but hex is not allowed."
- "Error [EPAR0370032]: A hex number `0x..` was provided but hex is not allowed."
- "Error [EPAR0370032]: A hex number `0x..` was provided but hex is not allowed."
- "Error [EPAR0370031]: A hex number `0x..` was provided but hex is not allowed."
- "Error [EPAR0370031]: A hex number `0x..` was provided but hex is not allowed."
- "Error [EPAR0370031]: A hex number `0x..` was provided but hex is not allowed."

View File

@ -3,5 +3,5 @@ namespace: ParseStatement
expectation: Fail
outputs:
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '<eof>'\n --> test:1:1\n |\n 1 | return\n | ^^^^^^"
- "Error [EPAR0370028]: Could not parse the implicit value: 5.\n --> test:1:8\n |\n 1 | return 5\n | ^"
- "Error [EPAR0370027]: Could not parse the implicit value: 5.\n --> test:1:8\n |\n 1 | return 5\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got 'if'\n --> test:2:1\n |\n 2 | if x {}\n | ^^"

View File

@ -18,7 +18,6 @@ outputs:
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '_'\n --> test:1:1\n |\n 1 | _ x = 10u8;\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '='\n --> test:1:1\n |\n 1 | = x = 10u8;\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '=='\n --> test:1:1\n |\n 1 | == x = 10u8;\n | ^^"
- "Error [EPAR0370011]: invalid assignment target\n --> test:1:1\n |\n 1 | ! x = 10u8;\n | ^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '!='\n --> test:1:1\n |\n 1 | != x = 10u8;\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '>'\n --> test:1:1\n |\n 1 | > x = 10u8;\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '>='\n --> test:1:1\n |\n 1 | >= x = 10u8;\n | ^^"
@ -47,4 +46,4 @@ outputs:
- "Error [EPAR0370005]: expected ; -- got 'x'\n --> test:1:6\n |\n 1 | Self x = 10u8;\n | ^"
- "Error [EPAR0370005]: expected ; -- got 'x'\n --> test:1:6\n |\n 1 | true x = 10u8;\n | ^"
- "Error [EPAR0370005]: expected ; -- got 'x'\n --> test:1:7\n |\n 1 | false x = 10u8;\n | ^"
- "Error [EPAR0370028]: Could not parse the implicit value: 0.\n --> test:1:1\n |\n 1 | 0 x = 10u8;\n | ^"
- "Error [EPAR0370027]: Could not parse the implicit value: 0.\n --> test:1:1\n |\n 1 | 0 x = 10u8;\n | ^"

View File

@ -40,7 +40,7 @@ outputs:
- "Error [EPAR0370005]: expected : -- got '='\n --> test:1:7\n |\n 1 | let x = a true b;\n | ^"
- "Error [EPAR0370005]: expected : -- got '='\n --> test:1:7\n |\n 1 | let x = a false b;\n | ^"
- "Error [EPAR0370005]: expected : -- got '='\n --> test:1:7\n |\n 1 | let x = a 0 b;\n | ^"
- "Error [EPAR0370041]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | x;=b;\n | ^^"
- "Error [EPAR0370040]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | x;=b;\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'ident', got '='\n --> test:1:3\n |\n 1 | x.=b;\n | ^"
- "Error [EPAR0370005]: expected ; -- got ','\n --> test:1:2\n |\n 1 | x,=b; // 43\n | ^"
- "Error [EPAR0370005]: expected ; -- got '['\n --> test:1:2\n |\n 1 | x[=b;\n | ^"
@ -57,8 +57,8 @@ outputs:
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '='\n --> test:1:4\n |\n 1 | x<==b;\n | ^"
- "Error [EPAR0370005]: expected ; -- got '..'\n --> test:1:2\n |\n 1 | x..=b;\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', got '='\n --> test:1:3\n |\n 1 | x&=b;\n | ^"
- "Error [EPAR0370041]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | x==b;\n | ^^^^^"
- "Error [EPAR0370041]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | x!=b;\n | ^^^^^"
- "Error [EPAR0370041]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | x>=b;\n | ^^^^^"
- "Error [EPAR0370041]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | x<=b;\n | ^^^^^"
- "Error [EPAR0370041]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | x>=b;\n | ^^^^^"
- "Error [EPAR0370040]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | x==b;\n | ^^^^^"
- "Error [EPAR0370040]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | x!=b;\n | ^^^^^"
- "Error [EPAR0370040]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | x>=b;\n | ^^^^^"
- "Error [EPAR0370040]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | x<=b;\n | ^^^^^"
- "Error [EPAR0370040]: Expression statements are no longer supported.\n --> test:1:1\n |\n 1 | x>=b;\n | ^^^^^"

View File

@ -165,12 +165,8 @@ outputs:
hi: 17
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"x_\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":2}\"}"
accesses: []
span:
lo: 0
hi: 2
place:
Identifier: "{\"name\":\"x_\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":2}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":3,\\\"hi\\\":4}\"}"
span:
@ -178,12 +174,8 @@ outputs:
hi: 4
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xconsole\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":8}\"}"
accesses: []
span:
lo: 0
hi: 8
place:
Identifier: "{\"name\":\"xconsole\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":8}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
span:
@ -191,12 +183,8 @@ outputs:
hi: 10
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xconst\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":6}\"}"
accesses: []
span:
lo: 0
hi: 6
place:
Identifier: "{\"name\":\"xconst\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":6}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
span:
@ -204,12 +192,8 @@ outputs:
hi: 8
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xlet\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
accesses: []
span:
lo: 0
hi: 4
place:
Identifier: "{\"name\":\"xlet\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}"
span:
@ -217,12 +201,8 @@ outputs:
hi: 6
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xfor\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
accesses: []
span:
lo: 0
hi: 4
place:
Identifier: "{\"name\":\"xfor\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}"
span:
@ -230,12 +210,8 @@ outputs:
hi: 6
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xif\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":3}\"}"
accesses: []
span:
lo: 0
hi: 3
place:
Identifier: "{\"name\":\"xif\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":3}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
span:
@ -243,12 +219,8 @@ outputs:
hi: 5
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xelse\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}"
accesses: []
span:
lo: 0
hi: 5
place:
Identifier: "{\"name\":\"xelse\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
span:
@ -256,12 +228,8 @@ outputs:
hi: 7
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xi8\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":3}\"}"
accesses: []
span:
lo: 0
hi: 3
place:
Identifier: "{\"name\":\"xi8\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":3}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
span:
@ -269,12 +237,8 @@ outputs:
hi: 5
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xi16\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
accesses: []
span:
lo: 0
hi: 4
place:
Identifier: "{\"name\":\"xi16\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}"
span:
@ -282,12 +246,8 @@ outputs:
hi: 6
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xi32\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
accesses: []
span:
lo: 0
hi: 4
place:
Identifier: "{\"name\":\"xi32\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}"
span:
@ -295,12 +255,8 @@ outputs:
hi: 6
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xi64\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
accesses: []
span:
lo: 0
hi: 4
place:
Identifier: "{\"name\":\"xi64\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}"
span:
@ -308,12 +264,8 @@ outputs:
hi: 6
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xi128\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}"
accesses: []
span:
lo: 0
hi: 5
place:
Identifier: "{\"name\":\"xi128\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
span:
@ -321,12 +273,8 @@ outputs:
hi: 7
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xu8\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":3}\"}"
accesses: []
span:
lo: 0
hi: 3
place:
Identifier: "{\"name\":\"xu8\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":3}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
span:
@ -334,12 +282,8 @@ outputs:
hi: 5
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xu16\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
accesses: []
span:
lo: 0
hi: 4
place:
Identifier: "{\"name\":\"xu16\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}"
span:
@ -347,12 +291,8 @@ outputs:
hi: 6
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xu32\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
accesses: []
span:
lo: 0
hi: 4
place:
Identifier: "{\"name\":\"xu32\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}"
span:
@ -360,12 +300,8 @@ outputs:
hi: 6
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xu64\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
accesses: []
span:
lo: 0
hi: 4
place:
Identifier: "{\"name\":\"xu64\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}"
span:
@ -373,12 +309,8 @@ outputs:
hi: 6
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xu128\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}"
accesses: []
span:
lo: 0
hi: 5
place:
Identifier: "{\"name\":\"xu128\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
span:
@ -386,12 +318,8 @@ outputs:
hi: 7
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xreturn\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":7}\"}"
accesses: []
span:
lo: 0
hi: 7
place:
Identifier: "{\"name\":\"xreturn\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":7}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
span:
@ -399,12 +327,8 @@ outputs:
hi: 9
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xtrue\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}"
accesses: []
span:
lo: 0
hi: 5
place:
Identifier: "{\"name\":\"xtrue\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
span:
@ -412,12 +336,8 @@ outputs:
hi: 7
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"xfalse\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":6}\"}"
accesses: []
span:
lo: 0
hi: 6
place:
Identifier: "{\"name\":\"xfalse\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":6}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
span:
@ -425,12 +345,8 @@ outputs:
hi: 8
- Assign:
operation: Assign
assignee:
identifier: "{\"name\":\"x0\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":2}\"}"
accesses: []
span:
lo: 0
hi: 2
place:
Identifier: "{\"name\":\"x0\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":2}\"}"
value:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":3,\\\"hi\\\":4}\"}"
span:

View File

@ -1,5 +1,5 @@
/*
namespace: Token
namespace: ParseExpression
expectation: Fail
*/
aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1
@ -16,4 +16,4 @@ aleo1
aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1
aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d11
aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x
aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x + aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x

View File

@ -11,4 +11,3 @@ expectation: Fail
"⭇😍;
"2066:"

View File

@ -35,8 +35,6 @@ _ x = 10u8;
== x = 10u8;
! x = 10u8;
!= x = 10u8;
> x = 10u8;