diff options
author | Martin Odersky <odersky@gmail.com> | 2003-11-14 16:55:21 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-11-14 16:55:21 +0000 |
commit | 1ce2b54384639ff358071e8965a5cf39a5a43882 (patch) | |
tree | 4b17bb9ca078870b163db66db8f3ba77849ade00 /sources/scalac/transformer/matching/Label.java | |
parent | d71d7bb6f1f6924cb27662b73fdcbf2b37bfd3ae (diff) | |
download | scala-1ce2b54384639ff358071e8965a5cf39a5a43882.tar.gz scala-1ce2b54384639ff358071e8965a5cf39a5a43882.tar.bz2 scala-1ce2b54384639ff358071e8965a5cf39a5a43882.zip |
*** empty log message ***
Diffstat (limited to 'sources/scalac/transformer/matching/Label.java')
-rw-r--r-- | sources/scalac/transformer/matching/Label.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scalac/transformer/matching/Label.java b/sources/scalac/transformer/matching/Label.java index cbad3ac3bf..d04991c5d3 100644 --- a/sources/scalac/transformer/matching/Label.java +++ b/sources/scalac/transformer/matching/Label.java @@ -32,7 +32,7 @@ public class Label { case TreeLabel( Tree pat ): switch( pat ) { case Apply( Tree fun, Tree[] args ): - return pat.type().hashCode() + args.hashCode(); + return pat.getType().hashCode() + args.hashCode(); } return pat.hashCode(); case TypeLabel( Type type ): @@ -102,7 +102,7 @@ public class Label { case SimpleLabel( Literal lit ): return lit.toString()+":p"+p; case TreeLabel( Tree pat ): - return pat.type()+":p"+p; + return pat.getType()+":p"+p; } } |