However this code compiles successfully. I have IntelliJ IDEA 2019.3.2 (Ultimate Edition) and Kotlin plugin 1.3.61-release-IJ2019.3-1
Ivan Pavlov
02/06/2020, 1:00 PM
OK I enabled new type inference algorithm for IDE analysis and it became green, but then I disabled it and it still works 🙂
b
bjonnh
02/06/2020, 10:00 PM
Interesting… I had some weird wrong state issues like that but never managed to reproduce them. If you manage to reproduce it, please file a bug so it can get investigated further.
e
E.Kisaragi
02/07/2020, 2:00 AM
idk if kotlin thinks path is actually 'String' not 'String?'