Clarify issue with reflective strings

This commit is contained in:
Olivier 'reivilibre' 2023-08-07 22:23:24 +01:00
parent 3f7400db64
commit cdba03c5d7

View File

@ -533,8 +533,8 @@ impl<'a, O: OutputSystem + Send, LS: LocalisationSystem + Sync + Send> Interpret
// too dodgy! We might want to allow this in the future, but for now let's not.
Err(InterpreterError::TypeError {
context: "String Interpolation".to_string(),
conflict: format!(
"Don't know how to write {reflective:?} as a sensible string output."
conflict: format!( // TODO need to figure out what we're doing with strings here
"Don't know how to write reflective {reflective:?} as a sensible string output."
),
location: loc.clone(),
})