summaryrefslogtreecommitdiff
path: root/test/files/neg/bug576.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2006-12-05 18:54:47 +0000
committerMartin Odersky <odersky@gmail.com>2006-12-05 18:54:47 +0000
commit80eb08f5a1de98ebbec0e989928d665c7061c07c (patch)
tree5378d7450b2d1b30cc684bc370e6c544d706152f /test/files/neg/bug576.scala
parent52bb1b64dbd32c3611d3c81c87e2197c8d99079a (diff)
downloadscala-80eb08f5a1de98ebbec0e989928d665c7061c07c.tar.gz
scala-80eb08f5a1de98ebbec0e989928d665c7061c07c.tar.bz2
scala-80eb08f5a1de98ebbec0e989928d665c7061c07c.zip
updated test files to avoid illegal null assign...
updated test files to avoid illegal null assignments
Diffstat (limited to 'test/files/neg/bug576.scala')
-rw-r--r--test/files/neg/bug576.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/bug576.scala b/test/files/neg/bug576.scala
index 2d9cf01910..fd83217a45 100644
--- a/test/files/neg/bug576.scala
+++ b/test/files/neg/bug576.scala
@@ -9,7 +9,7 @@ trait PriorityTreeXXX extends BaseListXXX {
type Node <: BasicTreeNode;
trait BasicTreeNode extends BaseNode {
- def sibling: Node = null;
+ def sibling: Node;
def insert(dir : Int, node : Node) = {
if (true) sibling.insert(node);
//else insert(node);