We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
raw code
@Async(logResultTree = true) public <G> JPromise<G> get(Class<G> format) { Long data = JAsync.just(1l).await(); return JAsync.just(format.cast(data)); }
compiled code
@Async(logResultTree = true) public <G> JPromise<Void> get(Class<G> format) { return JAsync .just(1L) .thenVoid( indyHelper$$0.voidPromiseFunction( "get$$tmp$$1", java.lang.invoke.MethodType.methodType( io.github.vipcxj.jasync.spec.JPromise.class, java.lang.Class.class, java.lang.Long.class ), format ) ) .catchReturn(); } private io.github.vipcxj.jasync.spec.JPromise<java.lang.Void> get$$tmp$$1( final java.lang.Class<G> format, final java.lang.Long tmp$$0 ) throws java.lang.Throwable { Long data = tmp$$0; return io.github.vipcxj.jasync.spec.JAsync.doReturn( JAsync.just(format.cast(data)) ); } private static final io.github.vipcxj.jasync.runtime.java8.helpers.IndyHelpers indyHelpers$$0 = new io.github.vipcxj.jasync.runtime.java8.helpers.IndyHelpers( java.lang.invoke.MethodHandles.lookup() ); private final io.github.vipcxj.jasync.runtime.java8.helpers.IndyHelper indyHelper$$0 = new io.github.vipcxj.jasync.runtime.java8.helpers.IndyHelper( indyHelpers$$0, this );
loss the generics type in sub function
The text was updated successfully, but these errors were encountered:
I have just released v0.1.4 that references this issue.
Closing this issue. Please re-open if you think there's still more to do.
Sorry, something went wrong.
Fix issue#4
d2c0501
No branches or pull requests
raw code
compiled code
loss the generics type in sub function
The text was updated successfully, but these errors were encountered: