https://kotlinlang.org logo
Title
p

Paul N

07/16/2019, 10:04 AM
So I got an IntelliJ out of memory error, and now all my Kotlin projects which were building fine in IntelliJ, are peppered with red all over the place. Example errors are listOf, it and lazy being an unresolved reference. The projects are gradle based and still build perfectly in gradle, Any ideas ? IntelliJ 2019.1.3 ultimate, Kotlin plugin v1.3.41-release-IJ2019.1-1
k

kralli

07/16/2019, 10:07 AM
Try
Build > Rebuild Project
and if it does not work go for
File > Invalidate Caches and Restart
👍 1
p

Paul N

07/16/2019, 10:17 AM
Ta, rebuild doesn't work, invalidate caches and restart did. Thanks ever so much, you saved my day !
l

louiscad

07/18/2019, 1:47 AM
Maybe closing/reopening the project or IDE would have been enough BTW
p

Paul N

07/23/2019, 4:10 PM
No, that wasn't enough.