aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/typer/Typer.scala
diff options
context:
space:
mode:
authorliu fengyun <liufengyunchina@gmail.com>2016-11-07 23:57:06 +0100
committerliu fengyun <liu@fengy.me>2016-11-24 13:36:05 +0100
commitabb9aa802789e6b43ff07c45281eedbb09512585 (patch)
treef0c74d053602dd64f0489780726ee9ef9a5fe4c2 /compiler/src/dotty/tools/dotc/typer/Typer.scala
parent8592af1c815c34078d89c08536addbe757550179 (diff)
downloaddotty-abb9aa802789e6b43ff07c45281eedbb09512585.tar.gz
dotty-abb9aa802789e6b43ff07c45281eedbb09512585.tar.bz2
dotty-abb9aa802789e6b43ff07c45281eedbb09512585.zip
fix #1642: disallow value classe wrapping value class
Diffstat (limited to 'compiler/src/dotty/tools/dotc/typer/Typer.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/typer/Typer.scala1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/typer/Typer.scala b/compiler/src/dotty/tools/dotc/typer/Typer.scala
index 34300a5e3..9d29c3a4e 100644
--- a/compiler/src/dotty/tools/dotc/typer/Typer.scala
+++ b/compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -1270,7 +1270,6 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
cls, isRequired, cdef.pos)
}
-
// check value class constraints
RefChecks.checkDerivedValueClass(cls, body1)