summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run')
-rw-r--r--test/files/run/checked.check21
-rw-r--r--test/files/run/checked.flags2
2 files changed, 1 insertions, 22 deletions
diff --git a/test/files/run/checked.check b/test/files/run/checked.check
index a1a43027f0..6b85ae360d 100644
--- a/test/files/run/checked.check
+++ b/test/files/run/checked.check
@@ -1,24 +1,3 @@
-checked.scala:42: warning: the semantics of this definition has changed;
-the initialization is no longer be executed before the superclass is called
- val x = 1
- ^
-checked.scala:19: warning: the semantics of this definition has changed;
-the initialization is no longer be executed before the superclass is called
- val t1 = 1
- ^
-checked.scala:20: warning: the semantics of this definition has changed;
-the initialization is no longer be executed before the superclass is called
- var t2 = 2
- ^
-checked.scala:53: warning: the semantics of this definition has changed;
-the initialization is no longer be executed before the superclass is called
- val x = 1
- ^
-checked.scala:54: warning: the semantics of this definition has changed;
-the initialization is no longer be executed before the superclass is called
- val y = 2
- ^
-5 warnings found
sum = 12
[OK] Cought UFE: Uninitialized field: checked.scala: 42
2
diff --git a/test/files/run/checked.flags b/test/files/run/checked.flags
index 2182668259..f047aa2636 100644
--- a/test/files/run/checked.flags
+++ b/test/files/run/checked.flags
@@ -1 +1 @@
--Xexperimental -Ycheckinit \ No newline at end of file
+-Xexperimental -Ycheckinit -nowarn