Paramterless functions with and without parentheses different!

Correct, and it was intentionally kept that way even when the collections were reworked for Scala 2.13 circa 2018. The design discussion on that is at Remove empty parameter list from `iterator()` · Issue #520 · scala/collection-strawman · GitHub

2 Likes