Skip to content
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

Type inference failed. Expected type mismatch: inferred type is Array… #3

Merged
merged 1 commit into from Nov 15, 2018

Conversation

GuruJohn
Copy link
Contributor

@GuruJohn GuruJohn commented Oct 8, 2018

…List? but ArrayList was expected

Fixed issue that appeared with the new update on Kotlin/Flutter on Linux.

/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_country_picker-0.1.0/android/src/main/kotlin/rocks/biessek/fluttercountrypicker/FlutterCountryPickerPlugin.kt: (26, 46): Type inference failed. Expected type mismatch: inferred type is ArrayList? but ArrayList was expected

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':flutter_country_picker:compileDebugKotlin'.

Compilation error. See log for more details

…List<String>? but ArrayList<String> was expected

This fixes issue with some new change in Kotlin.

/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_country_picker-0.1.0/android/src/main/kotlin/rocks/biessek/fluttercountrypicker/FlutterCountryPickerPlugin.kt: (26, 46): Type inference failed. Expected type mismatch: inferred type is ArrayList<String>? but ArrayList<String> was expected

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_country_picker:compileDebugKotlin'.
> Compilation error. See log for more details
@biessek biessek merged commit 86ce529 into biessek:master Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants