summaryrefslogtreecommitdiff
path: root/test/files/pos/bug91.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/bug91.scala')
-rw-r--r--test/files/pos/bug91.scala2
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" };
}
}