You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cat gh-bug-160.scala
packageminiboxing.tests.compile.bug160classC[@miniboxed T] {
privatedefbar() =4deffoo= {
// useless error message:newC[String].bar()
}
}
$ mb-scalac gh-bug-160.scala
gh-bug-160.scala:9:error: [ occured while creating miniboxed method foo in classC_D ]
method bar in classC cannot be accessed in miniboxing.tests.compile.bug160.C[String]
newC[String].bar()
^
one error found
Well, useless because it doesn't explain the problem, otherwise there's clearly a problem there, when you start creating classes C_L, C_J and C_D that can't access the private member in class C.
The text was updated successfully, but these errors were encountered:
Well, useless because it doesn't explain the problem, otherwise there's clearly a problem there, when you start creating classes
C_L
,C_J
andC_D
that can't access the private member in class C.The text was updated successfully, but these errors were encountered: