diff options
author | Paul Phillips <paulp@improving.org> | 2010-05-13 00:01:50 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-05-13 00:01:50 +0000 |
commit | 5f5660dd6ea1a885eaa95ead9a82b0a94ac09c97 (patch) | |
tree | 73d3579e37c019330ba5e8b6877944eb92cf881c /test/files | |
parent | 7c7c267d4e1efa2c85017751b448b31cf7e2a5b1 (diff) | |
download | scala-5f5660dd6ea1a885eaa95ead9a82b0a94ac09c97.tar.gz scala-5f5660dd6ea1a885eaa95ead9a82b0a94ac09c97.tar.bz2 scala-5f5660dd6ea1a885eaa95ead9a82b0a94ac09c97.zip |
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.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/bug3411.scala | 8 |
1 files changed, 8 insertions, 0 deletions
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` => } + } +} |