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 fa3a7cc commit 6a9a214Copy full SHA for 6a9a214
tests/neg/inlinevals.scala
@@ -7,7 +7,7 @@ object Test {
7
inline val N = 10
8
def X = 20
9
10
- inline inline val twice = 30 // error: repeated modifier
+ inline inline val twice = 30 // error: repeated modifier // error: not found: inline
11
12
class C(inline x: Int, private inline val y: Int) { // error // error
13
inline val foo: Int // error: abstract member may not be inline
0 commit comments