Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Array's firstIndex(of:) needs a better translation #2

Open
vinivendra opened this issue Mar 12, 2020 · 0 comments
Open

Array's firstIndex(of:) needs a better translation #2

vinivendra opened this issue Mar 12, 2020 · 0 comments
Labels
bug Something isn't working gryphon library Affects the Gryphon Swift or Kotlin libraries no solution yet It is not yet clear how to solve this issue

Comments

@vinivendra
Copy link
Owner

The array.firstIndex(of:) method fails by returning nil on Swift and -1 on Kotlin, which can make it hard to write translatable code using it.

Actions needed:

  • Either make up a better translation or add a new method to the GryphonKotlinLibrary.
  • Check if this method is used in the Gryphon codebase and update the uses accordingly.
@vinivendra vinivendra added bug Something isn't working no solution yet It is not yet clear how to solve this issue gryphon library Affects the Gryphon Swift or Kotlin libraries labels Mar 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working gryphon library Affects the Gryphon Swift or Kotlin libraries no solution yet It is not yet clear how to solve this issue
Projects
None yet
Development

No branches or pull requests

1 participant