Conversation
|
Given #49 strikes down the idea of a |
|
I'm inclined to boost |
|
I am happy with either. |
|
This is a simple RFC. There has been no discussion beyond Is this is a feature that the Luau maintainers want? |
|
Not mentioned as a motivation is the fact that inlined functions are [as expected] discarded from tracebacks, which can be especially problematic for debugging. Today, the only ways to prevent this are to annotate the relevant file as O0 or O1, or as the RFC mentions, to declare a function as And to repeat what's already been said, I prefer |
This RFC adds the
@[inline("never")]attribute to replace thelocal func; function func()pattern to prevent inlining.Rendered