diff --git a/vm/src/stdlib/collections.rs b/vm/src/stdlib/collections.rs index ff5596d9e4..9dc49cff83 100644 --- a/vm/src/stdlib/collections.rs +++ b/vm/src/stdlib/collections.rs @@ -420,7 +420,12 @@ mod _collections { .maxlen .map(|maxlen| format!(", maxlen={}", maxlen)) .unwrap_or_default(); - format!("deque([{}]{})", elements.into_iter().format(", "), maxlen) + format!( + "{}([{}]{})", + zelf.class().name(), + elements.into_iter().format(", "), + maxlen + ) } else { "[...]".to_owned() };