Skip to content

Commit 37e30bf

Browse files
committed
Fix build failure
After the recent changes to semantic names, `package +` is a valid name, just like with scalac.
1 parent 8052e9a commit 37e30bf

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tests/neg/i2292.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
package + // error
1+
package foo+ // error
22

33
class Foo

tests/pos/i2292.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
package +
2+
3+
class Foo

0 commit comments

Comments
 (0)