Skip to content

Commit

Permalink
Update main.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
KajizukaTaichi committed Jan 7, 2025
1 parent 459990d commit 8fbbff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ impl Expr {
let mut call = Expr::Infix(Box::new(Operator::Apply(
Expr::Value(Type::Symbol(
if is_lazy {
ok!(name.get(..token.len() - 1))?
ok!(name.get(..name.len() - 1))?
} else {
name
}
Expand Down

0 comments on commit 8fbbff1

Please sign in to comment.