Skip to content

Commit

Permalink
AssertionError is behind TruffleBoundary
Browse files Browse the repository at this point in the history
  • Loading branch information
Akirathan committed Nov 14, 2024
1 parent db225ed commit 06d1d4c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -21,6 +22,7 @@ public Class<? extends TruffleLanguage<?>> getLanguage() {
}

@ExportMessage
@TruffleBoundary
public Object toDisplayString(boolean allowSideEffects) {
// Not implemented on purpose - should be implemented by subclasses.
throw new AssertionError("unimplemented");
Expand Down

0 comments on commit 06d1d4c

Please sign in to comment.