Skip to content

Instantly share code, notes, and snippets.

@Elsopeen Elsopeen/error.log

Created Jun 26, 2020
What would you like to do?
Can't infer types
src\main\java\com\Ultra_Nerd\CodeLyokoRemake15\Util\ 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
You can’t perform that action at this time.