diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2008-07-29 13:03:54 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2008-07-29 13:03:54 +0000 |
commit | 71fd0c5ed0ad11ada531ed3b3250f0e547f98c57 (patch) | |
tree | 0950120f34d911da083e838f1de2ff39f366a55c /test | |
parent | bb2c7676f51e6074e41a9e77eb413cbf027a6479 (diff) | |
download | scala-71fd0c5ed0ad11ada531ed3b3250f0e547f98c57.tar.gz scala-71fd0c5ed0ad11ada531ed3b3250f0e547f98c57.tar.bz2 scala-71fd0c5ed0ad11ada531ed3b3250f0e547f98c57.zip |
Added -nowarn so that scalatest and partest beh...
Added -nowarn so that scalatest and partest behave similarly
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/checked.check | 21 | ||||
-rw-r--r-- | test/files/run/checked.flags | 2 |
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 |