Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Use raw types to "hand erase" ExtendedForgeRegistryEntry's generics#151

Merged
coderbot16 merged 1 commit intomasterfrom
bugfix/erasedgenerics
Jul 25, 2020
Merged

Use raw types to "hand erase" ExtendedForgeRegistryEntry's generics#151
coderbot16 merged 1 commit intomasterfrom
bugfix/erasedgenerics

Conversation

@cittyinthecloud
Copy link
Contributor

@cittyinthecloud cittyinthecloud commented Jul 25, 2020

Fixes the "TNT Yeeter" edge case that #141 can't replicate correctly. Changes the ExtendedForgeRegistryEntry generic from <V> to <V extends IForgeRegistryEntry<V>>, and converts all the Mixins to use raw types. I wrote a test mod and ran it over this and it was fine, but given how fragile replicating the ABI here has turned out to be, the more test cases the better.

@TheGlitch76
Copy link
Member

watch as this breaks something else

Copy link
Member

@coderbot16 coderbot16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeet

@coderbot16 coderbot16 merged commit 0e22a5b into master Jul 25, 2020
@florensie florensie deleted the bugfix/erasedgenerics branch July 25, 2020 17:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants