uber / needle

Compile-time safe Swift dependency injection framework
Apache License 2.0
1.84k stars 144 forks source link

Add @inline(never) to certain generated functions #442

Closed rudro closed 2 years ago

rudro commented 2 years ago
rudro commented 2 years ago

LGTM, although isn’t there a mirrored set of code generation for plugin stuff? That’s unlikely to hit the same scale as these, so perhaps it is best to just leave it be and instead try to get Apple to fix the swift compiler.

So the plugin extension registration calls (the ones unique to the "pluginized" section of the code gen) are also in the same function, so this one place catches both. I'm DM you an example from our Helix app.