mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2026-10-29 10:44:27 +00:00
When we have a function with a type-variable target defined in an
abstract class, if we can resolve that to a concrete type in the
registered instance, then it's safe to use as a generic target.
For example:
abstract class Foo<T> { @LuaFunction public final void foo(T) { } }
class Bar<Qux> { } // Register foo(Qux)