mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 16:32:18 +03:00
WithWarnings needs to explicitly export toDisplayString.
It is not automatically delegated because it is implemented in the super type.
This commit is contained in:
parent
f0dae474df
commit
5955ff3356
@ -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{"
|
||||
|
Loading…
Reference in New Issue
Block a user