## Compiler version 3.5.1 ## Minimized code ```Scala val a = List(Some(true), Some(()), None) a.exists(_ == None) ``` ## Output ``` Values of types Option[Boolean | Unit] and object None cannot be compared with == or !=. ``` ## Expectation the code compiles