Skip to content

Commit

Permalink
Compose the string behind truffle boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
JaroslavTulach committed Mar 1, 2023
1 parent 8f0dcb7 commit 9f64dcc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Text execute(Object function) {
try {
var name = functionsLibrary.getExecutableName(function);
if (name == null || !stringsLibrary.isString(name)) {
CompilerDirectives.transferToInterpreter();
throw CompilerDirectives.shouldNotReachHere("name: " + name + " for " + function);
}
return Text.create(stringsLibrary.asString(name));
Expand Down

0 comments on commit 9f64dcc

Please sign in to comment.