weird, Arrow-0.8.2/0.9.0 does funny things with IntelliJ map literals:
r
raulraja
10/09/2019, 3:51 PM
Looks like a bug in the IDEA Kotlin plugin
raulraja
10/09/2019, 3:52 PM
Arrow does not really contribute to Pair beyond the tupled conversions
raulraja
10/09/2019, 3:52 PM
But those are for TupleN
b
Bob Glamm
10/09/2019, 4:10 PM
Other weird data point: IJ suggests importing "arrow.core.mapOf" in this case, too
r
raulraja
10/09/2019, 4:21 PM
Then it seems to be a problem with the order in the suggested overloads for resolution or something similar
raulraja
10/09/2019, 4:22 PM
The Kotlin plugin invokes resolution on it’s own as you type and presents results even when typechecking fails. When it finds symbols it obtains them from the imported descriptors by the package fragment provider and most likely there is getting the Arrow ones before the functions in the std lib