Skip to content

Commit

Permalink
Adding extra ignored argument to for the node being adopted
Browse files Browse the repository at this point in the history
  • Loading branch information
JaroslavTulach committed Apr 1, 2024
1 parent 4375728 commit 4a398ec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,12 @@ boolean isLimitReached(@Shared("warnsLib") @CachedLibrary(limit = "3") WarningsL
}

@ExportMessage
boolean hasType() {
boolean hasType(@Shared("ignore") @Cached("1") int ignore) {
return true;
}

@ExportMessage
Type getType(@Bind("$node") Node node) {
Type getType(@Bind("$node") Node node, @Shared("ignore") @Cached("1") int ignore) {
var ctx = EnsoContext.get(node);
return ctx.getBuiltins().array();
}
Expand Down

0 comments on commit 4a398ec

Please sign in to comment.