Skip to content

Commit

Permalink
Replace Fallback with Specialization with replaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Akirathan committed Dec 24, 2024
1 parent 36e39c2 commit 7969907
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static Type doItCached(
return cachedBuiltinType.getType();
}

@Fallback
@Specialization(replaces = "doItCached")
public static Type uncached(BuiltinObject receiver, @Bind("$node") Node node) {
var ctx = getCtx(node);
return getBuiltinType(receiver, ctx).getType();
Expand Down

0 comments on commit 7969907

Please sign in to comment.