aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/ConstraintHandling.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-01-24 11:32:25 +0100
committerMartin Odersky <odersky@gmail.com>2015-01-24 11:32:48 +0100
commitcdce02dc1d9c957621165545848c1f7bc358bd6d (patch)
treee0da69048de6492dce185683eca161b0aeb14bda /src/dotty/tools/dotc/core/ConstraintHandling.scala
parent47238eb6c8bbc852d1ec1c55404694110f32120c (diff)
downloaddotty-cdce02dc1d9c957621165545848c1f7bc358bd6d.tar.gz
dotty-cdce02dc1d9c957621165545848c1f7bc358bd6d.tar.bz2
dotty-cdce02dc1d9c957621165545848c1f7bc358bd6d.zip
Fixes suggested by reviews from @smarter.
Also, added tests trhat work now.
Diffstat (limited to 'src/dotty/tools/dotc/core/ConstraintHandling.scala')
-rw-r--r--src/dotty/tools/dotc/core/ConstraintHandling.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/ConstraintHandling.scala b/src/dotty/tools/dotc/core/ConstraintHandling.scala
index 6371a176b..02f5bf87f 100644
--- a/src/dotty/tools/dotc/core/ConstraintHandling.scala
+++ b/src/dotty/tools/dotc/core/ConstraintHandling.scala
@@ -35,7 +35,7 @@ trait ConstraintHandling {
implicit val ctx: Context
- def isSubType(tp1: Type, tp2: Type): Boolean
+ protected def isSubType(tp1: Type, tp2: Type): Boolean
val state: TyperState
import state.constraint