summaryrefslogtreecommitdiff
path: root/test/files/pos/bug0091.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/bug0091.scala')
-rw-r--r--test/files/pos/bug0091.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/bug0091.scala b/test/files/pos/bug0091.scala
index 54c821b41c..d491b7cfb9 100644
--- a/test/files/pos/bug0091.scala
+++ b/test/files/pos/bug0091.scala
@@ -1,6 +1,6 @@
class Bug {
def main(args: Array[String]) = {
var msg: String = null; // no bug if "null" instead of "_"
- val f: PartialFunction[Any, unit] = { case 42 => msg = "coucou" };
+ val f: PartialFunction[Any, Unit] = { case 42 => msg = "coucou" };
}
}