Skip to content

Commit

Permalink
Warning.isNull is always false
Browse files Browse the repository at this point in the history
Even if it wraps Nothing
  • Loading branch information
Akirathan committed Nov 18, 2024
1 parent 92722b8 commit adb2d05
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ public Object toDisplayString(boolean enableSideEffects) {
return toString();
}

@ExportMessage
boolean isNull() {
return false;
}

@CompilerDirectives.TruffleBoundary
@Override
public String toString() {
Expand Down

0 comments on commit adb2d05

Please sign in to comment.