Cannot resolve overloaded method, but code compiles and runs

I am getting some red highlighting syntax for my overloaded methods, but the code still compiles and runs. I've attached my example below. Anyone know why this red highlighting is happen / how i can get rid of it? 

using intellij idea ultimate 2020.1, scala 2.12.8 and jvm-1.8

Please sign in to leave a comment.