mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 07:12:20 +03:00
EnsoObject.toDisplayString just throws AssertionError
This commit is contained in:
parent
5955ff3356
commit
db225ed0a6
@ -1,6 +1,5 @@
|
||||
package org.enso.interpreter.runtime.data;
|
||||
|
||||
import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary;
|
||||
import com.oracle.truffle.api.TruffleLanguage;
|
||||
import com.oracle.truffle.api.interop.InteropLibrary;
|
||||
import com.oracle.truffle.api.interop.TruffleObject;
|
||||
@ -22,8 +21,8 @@ public abstract class EnsoObject implements TruffleObject {
|
||||
}
|
||||
|
||||
@ExportMessage
|
||||
@TruffleBoundary
|
||||
public Object toDisplayString(boolean allowSideEffects) {
|
||||
return toString();
|
||||
// Not implemented on purpose - should be implemented by subclasses.
|
||||
throw new AssertionError("unimplemented");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user