-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
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
Overload resolution ambiguity for goTo function #6
Comments
Actually I was using fork now that I've replaced it with original dep , its causing issue , investigating further |
A couple points of note here:
NavigationDestination(...) { destination -> ... }
// Or
NavigationDestination(...) { context, destination -> ... }
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Overload resolution ambiguity. All these functions match. in IDE:
public fun <Destination : NavigationDestination /* = Any */, Context : NavigationContext<TypeVariable(Destination)>> Navigator<TypeVariable(Destination), TypeVariable(Context)>.goTo(destination: TypeVariable(Destination)): Boolean defined in com.chrynan.navigation
public fun <Destination : Any, Context : NavigationContext<TypeVariable(Destination)>> Navigator<TypeVariable(Destination), TypeVariable(Context)>.goTo(destination: TypeVariable(Destination)): Unit defined in com.chrynan.navigation
also to use dispatch , the constructors for Forward Event or Backward Event Destination are internal or private , so dispatch can't be used
The text was updated successfully, but these errors were encountered: