Skip to content

Commit 4a93d97

Browse files
committed
Fix #4762: Add regression test
`inline` is now a soft keyword and can be used as an identifier
1 parent d6e67d4 commit 4a93d97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/pos-scala2/i4762.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class Foo {
2+
inline def foo = 1
3+
}

0 commit comments

Comments
 (0)