import Comprehension.foreach causes StackOverflow error in IntelliJ