Why is "interface" not a valid name in IntelliJ?


When I add a folder called "interface" in my Scala project in IntelliJ IDEA,
there is a error: "Not a valid package name".

Why is this and is this possible to change?

>Solution :

You can’t use reserved keywords.

see the list of reserved keywords:

Leave a ReplyCancel reply