summaryrefslogtreecommitdiff
path: root/test/files/run/constrained-types.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/constrained-types.scala')
-rw-r--r--test/files/run/constrained-types.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/run/constrained-types.scala b/test/files/run/constrained-types.scala
index b640db1d67..56fbd749c0 100644
--- a/test/files/run/constrained-types.scala
+++ b/test/files/run/constrained-types.scala
@@ -89,6 +89,7 @@ object Test {
val settings = new Settings
settings.Xexperimental.value = true
settings.selfInAnnots.value = true
+ settings.deprecation.value = true
val interp = new Interpreter(settings)