FabricMC / fabric-mixin-compile-extensions

Extensions for Mixin's annotation processor.
MIT License
8 stars 8 forks source link

Use the AP environment source model for inheritance lookup #20

Closed zml2008 closed 1 year ago

zml2008 commented 1 year ago

🎶 she's just a bytecode girl, living in a source model world 🎶

This saves us from having to put the entire compile classpath on the compiler's AP path, potentially helping to resolve FabricMC/fabric-loom#813. See the upcoming comment on that PR for a discussion of the underlying issues resolved.

I've added in extra ASM deps since the removal of the compile classpath has meant that Mixin doesn't get those deps by luck-of-classpath. Just asm and -tree seem to be enough for the AP, in my testing at least.