mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-26 19:16:25 +00:00
Also handle tuple accessors for multiline string checking
This commit is contained in:
parent
d3c400b5e0
commit
316ec39af7
6 changed files with 59 additions and 1 deletions
|
|
@ -1116,6 +1116,7 @@ pub fn starts_with_block_string_literal(expr: &Expr<'_>) -> bool {
|
|||
}
|
||||
Expr::Apply(inner, _, _) => starts_with_block_string_literal(&inner.value),
|
||||
Expr::RecordAccess(inner, _) => starts_with_block_string_literal(inner),
|
||||
Expr::TupleAccess(inner, _) => starts_with_block_string_literal(inner),
|
||||
Expr::PncApply(inner, _) => starts_with_block_string_literal(&inner.value),
|
||||
Expr::TrySuffix(inner) => starts_with_block_string_literal(inner),
|
||||
_ => false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue