mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Allow dbg expression inside string interpolation
This commit is contained in:
parent
220bb55048
commit
9dae102603
3 changed files with 74 additions and 1 deletions
|
@ -3261,6 +3261,15 @@ fn dbg_nested_expr() {
|
|||
)
|
||||
}
|
||||
|
||||
#[mono_test]
|
||||
fn dbg_inside_string() {
|
||||
indoc!(
|
||||
r#"
|
||||
"Hello $(dbg "world")!"
|
||||
"#
|
||||
)
|
||||
}
|
||||
|
||||
#[mono_test]
|
||||
fn linked_list_reverse() {
|
||||
indoc!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue