Allow dbg expression inside string interpolation

This commit is contained in:
Elias Mulhall 2024-08-26 15:09:19 -04:00
parent 220bb55048
commit 9dae102603
3 changed files with 74 additions and 1 deletions

View file

@ -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!(