Update crates/aiken-lang/src/parser.rs
Co-authored-by: Matthias Benkort <5680256+KtorZ@users.noreply.github.com>
This commit is contained in:
@@ -299,8 +299,7 @@ pub fn validator_parser() -> impl Parser<Token, ast::UntypedDefinition, Error =
|
||||
vec![],
|
||||
Span {
|
||||
start: 0,
|
||||
// just needs to be the word `validator` at this point
|
||||
end: span.start + 9,
|
||||
end: span.start + "validator".len(),
|
||||
},
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user