mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-19 12:35:07 +00:00
Remove deprecated string interpolation syntax
This commit is contained in:
parent
72011fba73
commit
cb98c45e88
15 changed files with 17 additions and 94 deletions
|
@ -0,0 +1 @@
|
|||
Expr(Str(UnknownEscape(@1), @0), @0)
|
|
@ -0,0 +1 @@
|
|||
"\(e)"
|
|
@ -1 +0,0 @@
|
|||
"$(e)"
|
|
@ -1,17 +0,0 @@
|
|||
SpaceAfter(
|
||||
Str(
|
||||
Line(
|
||||
[
|
||||
DeprecatedInterpolated(
|
||||
@3-4 Var {
|
||||
module_name: "",
|
||||
ident: "e",
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
)
|
|
@ -1 +0,0 @@
|
|||
"\(e)"
|
|
@ -192,6 +192,7 @@ mod test_snapshots {
|
|||
fail/comment_with_tab.expr,
|
||||
fail/def_missing_final_expression.expr,
|
||||
fail/def_without_newline.expr,
|
||||
fail/deprecated_interpolated_string.expr,
|
||||
fail/double_plus.expr,
|
||||
fail/elm_function_syntax.expr,
|
||||
fail/empty_or_pattern.expr,
|
||||
|
@ -303,11 +304,10 @@ mod test_snapshots {
|
|||
pass/comment_with_non_ascii.expr,
|
||||
pass/control_characters_in_scalar.expr,
|
||||
pass/crash.expr,
|
||||
pass/dbg.expr,
|
||||
pass/dbg_stmt.expr,
|
||||
pass/dbg_stmt_multiline.expr,
|
||||
pass/dbg.expr,
|
||||
pass/defs_suffixed_middle_extra_indents.moduledefs,
|
||||
pass/deprecated_interpolated_string.expr,
|
||||
pass/destructure_tag_assignment.expr,
|
||||
pass/docs.expr,
|
||||
pass/empty_app_header.header,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue