diff options
author | Martin Odersky <odersky@gmail.com> | 2003-03-03 14:33:53 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-03-03 14:33:53 +0000 |
commit | 6749e5dd658522cb63600021a9ee5a86f911cfeb (patch) | |
tree | a22d4bf7f2bf71b5775418dfddaa31a1640313d1 /sources/scalac/util/Name.java | |
parent | e1fb3fb655a067039870016b3a47e2305d692d98 (diff) | |
download | scala-6749e5dd658522cb63600021a9ee5a86f911cfeb.tar.gz scala-6749e5dd658522cb63600021a9ee5a86f911cfeb.tar.bz2 scala-6749e5dd658522cb63600021a9ee5a86f911cfeb.zip |
*** empty log message ***
Diffstat (limited to 'sources/scalac/util/Name.java')
-rw-r--r-- | sources/scalac/util/Name.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scalac/util/Name.java b/sources/scalac/util/Name.java index 0c04fe2dcb..2522cb59f8 100644 --- a/sources/scalac/util/Name.java +++ b/sources/scalac/util/Name.java @@ -385,7 +385,7 @@ public final class Name { /** is this operator left associative */ - public boolean leftAssoc() { - return names[index] != ':'; + public boolean isLeftAssoc() { + return names[index + len -1] != ':'; } } |