From 5f5660dd6ea1a885eaa95ead9a82b0a94ac09c97 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Thu, 13 May 2010 00:01:50 +0000 Subject: Removed an assertion which was asserting an unt... Removed an assertion which was asserting an untrue statement thus causing chaos and strife. Closes #3411, no review. --- test/files/pos/bug3411.scala | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/files/pos/bug3411.scala (limited to 'test') diff --git a/test/files/pos/bug3411.scala b/test/files/pos/bug3411.scala new file mode 100644 index 0000000000..b58e52db8d --- /dev/null +++ b/test/files/pos/bug3411.scala @@ -0,0 +1,8 @@ +object A { + def g(c: PartialFunction[Any,Unit]) {} + + def f { + lazy val x = 0 + g { case `x` => } + } +} -- cgit v1.2.3