AssertionError is behind TruffleBoundary

This commit is contained in:
Pavel Marek 2024-11-14 18:58:15 +01:00
parent db225ed0a6
commit 06d1d4c950

View File

@ -1,5 +1,6 @@
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;
@ -21,6 +22,7 @@ public abstract class EnsoObject implements TruffleObject {
}
@ExportMessage
@TruffleBoundary
public Object toDisplayString(boolean allowSideEffects) {
// Not implemented on purpose - should be implemented by subclasses.
throw new AssertionError("unimplemented");