Created
June 26, 2020 12:00
-
-
Save Elsopeen/aa3f80ad4d2ca1cb1f7c0e4753eaeda0 to your computer and use it in GitHub Desktop.
Can't infer types
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src\main\java\com\Ultra_Nerd\CodeLyokoRemake15\Util\ClientModEventSubscriber.java:22: error: incompatible types: cannot infer type-variable(s) M,U | |
ScreenManager.registerFactory(ModContainerTypes.CONTAINER_INFUSING.get(), InfusingChamberScreen::new); | |
^ | |
(argument mismatch; cannot infer functional interface descriptor for IScreenFactory<ContainerInfusing,U>) | |
where M,U are type-variables: | |
M extends Container declared in method <M,U>registerFactory(ContainerType<? extends M>,IScreenFactory<M,U>) | |
U extends Screen,IHasContainer<M> declared in method <M,U>registerFactory(ContainerType<? extends M>,IScreenFactory<M,U>) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment