Skip to content

Instantly share code, notes, and snippets.

@sajjadyousefnia
Created December 14, 2018 18:03
Show Gist options
  • Save sajjadyousefnia/b4f523be90d8ee48fa2e6f7450be8125 to your computer and use it in GitHub Desktop.
Save sajjadyousefnia/b4f523be90d8ee48fa2e6f7450be8125 to your computer and use it in GitHub Desktop.
Error:(12, 34) Kotlin: Illegal usage of inline-parameter 'predicate' in 'public inline fun inlinedFilter(list: List<Int>, predicate: (Int) -> Boolean): List<Int> defined in functiontypes in file Inline.kt'. Add 'noinline' modifier to the parameter declaration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment