Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update/mixinextras expressions #2322

Conversation

LlamaLad7
Copy link
Contributor

Pulls in dev and makes some minor changes to keep up with refactors.
Also creates an MEExpressionService.

RedNesto and others added 20 commits April 17, 2024 12:18
* Suppress `ReferenceToMixin` for `@Dynamic`

* Fix formatting for `MixinClassCannotBeReferencedSuppressor`

* Move logic to `MixinClassReferenceInspection`
Following fabric-example-mod change for 1.20.5
… in (minecraft-dev#2293)

* * fix dynamic selector missing namespace when the selector declares it at registration
* allow dynamic selectors to change the target class that is used when looking up members

* move custom owner over to mixin selector
It's late okay
Mappings don't work currently, the TSRG file seems to contain
indices to an array in another JSON file?
- Recognize entrypoints declared in object form
- Add more conditions to the inspection
- Add some tests to cover the inspection

Fixes minecraft-dev#2296
…tras-expression

# Conflicts:
#	src/main/kotlin/platform/mixin/handlers/mixinextras/WrapOperationHandler.kt
@LlamaLad7 LlamaLad7 force-pushed the update/mixinextras-expressions branch 2 times, most recently from 9f34cd2 to f150845 Compare July 2, 2024 16:11
@LlamaLad7 LlamaLad7 marked this pull request as draft July 2, 2024 17:14
@LlamaLad7 LlamaLad7 force-pushed the update/mixinextras-expressions branch from f150845 to d8a9f83 Compare July 2, 2024 18:12
@LlamaLad7 LlamaLad7 marked this pull request as ready for review July 2, 2024 18:56
…erface`.

It's quite scuffed and often returns `Object` even when there is a suitable common interface, but what's important is that this matches the runtime logic.
@LlamaLad7 LlamaLad7 force-pushed the update/mixinextras-expressions branch from a78c1fa to c88fd70 Compare July 2, 2024 19:02
@Earthcomputer Earthcomputer merged commit f652895 into minecraft-dev:mixinextras-expression Jul 3, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants