diff options
author | Martin Odersky <odersky@gmail.com> | 2005-10-03 13:42:39 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2005-10-03 13:42:39 +0000 |
commit | 2994973970bcba6ff90d7788e79f2042cc11deaf (patch) | |
tree | b90fbfc9d5b12b01f2815edabb2f0eeb17655a94 /test/files/pos/bug91.scala | |
parent | 159a3633b593bf2b0a10f4f4e218489b2bba03bc (diff) | |
download | scala-2994973970bcba6ff90d7788e79f2042cc11deaf.tar.gz scala-2994973970bcba6ff90d7788e79f2042cc11deaf.tar.bz2 scala-2994973970bcba6ff90d7788e79f2042cc11deaf.zip |
*** empty log message ***
Diffstat (limited to 'test/files/pos/bug91.scala')
-rw-r--r-- | test/files/pos/bug91.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/bug91.scala b/test/files/pos/bug91.scala index e05365caf4..54c821b41c 100644 --- a/test/files/pos/bug91.scala +++ b/test/files/pos/bug91.scala @@ -1,6 +1,6 @@ class Bug { def main(args: Array[String]) = { - var msg: String = _; // no bug if "null" instead of "_" + var msg: String = null; // no bug if "null" instead of "_" val f: PartialFunction[Any, unit] = { case 42 => msg = "coucou" }; } } |