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 8d97bc2 commit 9b8aaafCopy full SHA for 9b8aaaf
tests/neg/i705-inner-value-class2.scala
@@ -1,5 +1,5 @@
1
class Foo {
2
- class B(val a: Int) extends AnyVal
+ class B(val a: Int) extends AnyVal // error: value class may not be a member of another class`
3
}
4
5
object Test {
0 commit comments