We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da7a8cb commit 1cfea91Copy full SHA for 1cfea91
tests/neg/inlinevals.scala
@@ -7,7 +7,7 @@ object Test {
7
8
inline inline val twice = 30 // error: repeated modifier
9
10
- class C(inline x: Int, private inline val y: Int) {
+ class C(inline x: Int, private inline val y: Int) { // error // error
11
inline val foo: Int // error: abstract member may not be inline
12
inline def bar: Int // error: abstract member may not be inline
13
}
0 commit comments