mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 02:21:54 +03:00
AssertionError is behind TruffleBoundary
This commit is contained in:
parent
db225ed0a6
commit
06d1d4c950
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user