You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 17, 2020. It is now read-only.
Version 1.0.0-rc-1 does not seem to support automatic casting the Task argument to a preferred subclass of Task. This should however work as other annotations do support it. The generated _TaskBinding class will currently causes a compile error:
Error:(23, 37) error: incompatible types: Task cannot be converted to MyCustomTask
Example code:
@TaskAttach("task-id")
public void onAttachMyCustomTask(MyCustomTask task) {
}
The text was updated successfully, but these errors were encountered:
Version 1.0.0-rc-1 does not seem to support automatic casting the
Task
argument to a preferred subclass ofTask
. This should however work as other annotations do support it. The generated_TaskBinding
class will currently causes a compile error:Error:(23, 37) error: incompatible types: Task cannot be converted to MyCustomTask
Example code:
The text was updated successfully, but these errors were encountered: