diff options
-rw-r--r-- | test/files/pos/bug845.scala | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/files/pos/bug845.scala b/test/files/pos/bug845.scala deleted file mode 100644 index c8a2faa671..0000000000 --- a/test/files/pos/bug845.scala +++ /dev/null @@ -1,16 +0,0 @@ -package test; - -object Test extends Application { - type Bar; - trait FooImpl; - - trait Bob { - def bar : Bar with FooImpl; - } - def ifn[A,B](a : A)(f : A => B) = - if (a != null) f(a) else null; - - val bob : Bob = null; - val bar = ifn(bob)(.bar); - assert(bar == null); -} |