From 71fd0c5ed0ad11ada531ed3b3250f0e547f98c57 Mon Sep 17 00:00:00 2001 From: Iulian Dragos Date: Tue, 29 Jul 2008 13:03:54 +0000 Subject: Added -nowarn so that scalatest and partest beh... Added -nowarn so that scalatest and partest behave similarly --- test/files/run/checked.check | 21 --------------------- test/files/run/checked.flags | 2 +- 2 files changed, 1 insertion(+), 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 -- cgit v1.2.3