diff --git a/engine/runtime/src/main/java/org/enso/interpreter/runtime/warning/WithWarnings.java b/engine/runtime/src/main/java/org/enso/interpreter/runtime/warning/WithWarnings.java index 38821c3f1e8..5c42bb00a8f 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/runtime/warning/WithWarnings.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/runtime/warning/WithWarnings.java @@ -270,6 +270,12 @@ public final class WithWarnings extends EnsoObject { throw asException(node); } + @ExportMessage + public Object toDisplayString( + boolean allowSideEffects, @CachedLibrary("this.value") InteropLibrary interop) { + return interop.toDisplayString(value, allowSideEffects); + } + @Override public String toString() { return "WithWarnings{"