Skip to content

Commit 1cfea91

Browse files
committed
Update inlinevals neg test with the missing errors
1 parent da7a8cb commit 1cfea91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/neg/inlinevals.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ object Test {
77

88
inline inline val twice = 30 // error: repeated modifier
99

10-
class C(inline x: Int, private inline val y: Int) {
10+
class C(inline x: Int, private inline val y: Int) { // error // error
1111
inline val foo: Int // error: abstract member may not be inline
1212
inline def bar: Int // error: abstract member may not be inline
1313
}

0 commit comments

Comments
 (0)