Skip to content

Instantly share code, notes, and snippets.

@elect86
Created February 14, 2018 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elect86/dd2d48d9efdcd94f8e2dfee9788d2aa6 to your computer and use it in GitHub Desktop.
Save elect86/dd2d48d9efdcd94f8e2dfee9788d2aa6 to your computer and use it in GitHub Desktop.
Error:(275, 9) Kotlin: Type inference failed: Cannot infer type parameter V in operator inline fun <K, V> MutableMap<K, V>.set(key: K, value: V): Unit
None of the following substitutions
receiver: MutableMap<String, Pair<Int, KFunction<Structure.(KMutableProperty0<ElemBase>) -> Unit>>> arguments: (String,Pair<Int, KFunction<Structure.(KMutableProperty0<ElemBase>) -> Unit>>)
receiver: MutableMap<String, Pair<Int, KFunction2<Structure, @ParameterName KMutableProperty0<Camera>, Unit>>> arguments: (String,Pair<Int, KFunction2<Structure, @ParameterName KMutableProperty0<Camera>, Unit>>)
can be applied to
receiver: MutableMap<String, Pair<Int, KFunction<Structure.(KMutableProperty0<ElemBase>) -> Unit>>> arguments: (String,Pair<Int, KFunction2<Structure, @ParameterName KMutableProperty0<Camera>, Unit>>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment