index
:
dotty
DarkDimius-patch-1
gh-pages
master
Research platform for new language concepts and compiler technologies for Scala.
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
neg
/
static-no-companion.scala
blob: 982dddf88ae977e7fa479e898a0960324c564d34 (
plain
) (
blame
)
1
2
3
4
import
annotation
.
static
object
T
{
@static
val
foo
=
10
// error: needs companion class
}