aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotty/tools/dotc/CompilerTest.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-02-01 17:18:13 +1100
committerMartin Odersky <odersky@gmail.com>2017-02-01 17:48:32 +1100
commite34555f69e7cdd6d19d0d1ed969127f4ee65c36e (patch)
tree9b3011bf3074f1d1d8e7d815814b8ed370d98639 /compiler/test/dotty/tools/dotc/CompilerTest.scala
parentb11e6d678a92187e5e9f821ba1116cec2cce0f8c (diff)
downloaddotty-e34555f69e7cdd6d19d0d1ed969127f4ee65c36e.tar.gz
dotty-e34555f69e7cdd6d19d0d1ed969127f4ee65c36e.tar.bz2
dotty-e34555f69e7cdd6d19d0d1ed969127f4ee65c36e.zip
Disallow taking a class tag of Nothing or Null.
It seems in most cases this leads to weird behavior and cause confusing error messages later. It also means we cannot create an Array[Nothing], except by passing the classtag explicitly.
Diffstat (limited to 'compiler/test/dotty/tools/dotc/CompilerTest.scala')
0 files changed, 0 insertions, 0 deletions