diff options
author | Martin Odersky <odersky@gmail.com> | 2014-02-12 12:22:15 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-02-12 17:47:19 +0100 |
commit | a6c50c1872cff7ffb20388c7ac2197d983085625 (patch) | |
tree | 235a3d388d858b7bbde50e1235c43e330a9c1e5e /src/dotty/tools/dotc/core/Types.scala | |
parent | ca3ff285c4e8ecdb48eb09bb75fd05a0bc6ff487 (diff) | |
download | dotty-a6c50c1872cff7ffb20388c7ac2197d983085625.tar.gz dotty-a6c50c1872cff7ffb20388c7ac2197d983085625.tar.bz2 dotty-a6c50c1872cff7ffb20388c7ac2197d983085625.zip |
Fixed a bug in LRUcache which prevented sizes >= 8.
Diffstat (limited to 'src/dotty/tools/dotc/core/Types.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Types.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Types.scala b/src/dotty/tools/dotc/core/Types.scala index 377b20991..71218680a 100644 --- a/src/dotty/tools/dotc/core/Types.scala +++ b/src/dotty/tools/dotc/core/Types.scala @@ -327,7 +327,7 @@ object Types { } /** The member of this type with the given name */ - final def member(name: Name)(implicit ctx: Context): Denotation = /*>|>*/ track("member-" + name) /*<|<*/ { + final def member(name: Name)(implicit ctx: Context): Denotation = /*>|>*/ track("member") /*<|<*/ { findMember(name, widenIfUnstable, EmptyFlags) } |