ruby icon indicating copy to clipboard operation
ruby copied to clipboard

YJIT: Inline simple ISEQs with unused kwarg params

Open Gadiguibou opened this issue 7 months ago • 1 comments

This is mostly relevant for a monkey-patched version of Sorbet in use at Shopify.

For example, the following function is not currently inlined because its signature contains a kwarg (even though the kwarg is unused).

def let(value, type, checked: true)
    value
end

Gadiguibou avatar Jun 27 '24 15:06 Gadiguibou