Fix custom syntax with method calls.
This commit is contained in:
@@ -2421,7 +2421,8 @@ impl Expr {
|
||||
| Self::Dot(_, _, _)
|
||||
| Self::Index(_, _, _)
|
||||
| Self::Array(_, _)
|
||||
| Self::Map(_, _) => match token {
|
||||
| Self::Map(_, _)
|
||||
| Self::Custom(_, _) => match token {
|
||||
#[cfg(not(feature = "no_index"))]
|
||||
Token::LeftBracket => true,
|
||||
_ => false,
|
||||
@@ -2443,8 +2444,6 @@ impl Expr {
|
||||
_ => false,
|
||||
},
|
||||
|
||||
Self::Custom(_, _) => false,
|
||||
|
||||
Self::Stack(_, _) => false,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user