Clean up
This commit is contained in:
parent
623f3b7812
commit
df4d0b1d73
@ -691,8 +691,8 @@ impl<'src> Compiler<'src> {
|
|||||||
)?;
|
)?;
|
||||||
}
|
}
|
||||||
Token::Minus | Token::MinusEqual => {
|
Token::Minus | Token::MinusEqual => {
|
||||||
Compiler::expect_addable_type(&right_type, &right_position)?;
|
Compiler::expect_subtractable_type(&right_type, &right_position)?;
|
||||||
Compiler::expect_addable_types(
|
Compiler::expect_subtractable_types(
|
||||||
&left_type,
|
&left_type,
|
||||||
&left_position,
|
&left_position,
|
||||||
&right_type,
|
&right_type,
|
||||||
|
Loading…
Reference in New Issue
Block a user