IntelliJ shows type Error even though there is none

I'm writing a basic language using Parboiled2 in Scala, and IntelliJ is giving me a type error when there is none for a line. This makes the rest of the checking for the file pretty useless.

 

I've tried invalidating the cache and restarting, as well as changing the incremental compiler to SBT from IDEA. Is there any way to mark just the line as correct?

1 comment
Comment actions Permalink

Unfortunately there are some occasional problems in the type checking. If possible please open an issue on https://youtrack.jetbrains.com/issues/SCL with a reproducible example so we can do something about it.

0

Please sign in to leave a comment.