Ad
  • Custom User Avatar

    Try running with Kotlin 1.3. It worked for me

  • Custom User Avatar

    While testing my code with random tests, I encountered an error:

    src/test/kotlin/tests.kt:8:16: warning: 'toLowerCase(): String' is deprecated. Use lowercase() instead.
    val _x = x.toLowerCase().replace(Regex("[^aby]"), "");
    ^
    even through my code use alreadt lowercase()

    However, I am already using lowercase() function in my code (... x.lowercase()...). Has anyone else encountered a similar issue or am I missing something?