diff options
author | Martin Odersky <odersky@gmail.com> | 2016-12-21 18:43:27 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-12-21 18:43:38 +0100 |
commit | e7b045a2fa9b1196465b388393ab23ce5979616e (patch) | |
tree | 7961fc0a7a7853f708f2fc06fa4cc54688b78013 /compiler/src/dotty/tools/dotc/config/Config.scala | |
parent | 098c50ac83eb4d18b23a1ed888cf601053c46ae6 (diff) | |
download | dotty-e7b045a2fa9b1196465b388393ab23ce5979616e.tar.gz dotty-e7b045a2fa9b1196465b388393ab23ce5979616e.tar.bz2 dotty-e7b045a2fa9b1196465b388393ab23ce5979616e.zip |
Fix #1795: Avoid infinite recursion between member and asSeenFrom
Diffstat (limited to 'compiler/src/dotty/tools/dotc/config/Config.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/config/Config.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/config/Config.scala b/compiler/src/dotty/tools/dotc/config/Config.scala index 7744a5479..119af9483 100644 --- a/compiler/src/dotty/tools/dotc/config/Config.scala +++ b/compiler/src/dotty/tools/dotc/config/Config.scala @@ -133,6 +133,8 @@ object Config { */ final val LogPendingFindMemberThreshold = 10 - /** Maximal number of outstanding recursive calls to findMember */ + /** Maximal number of outstanding recursive calls to findMember before backing out + * when findMemberLimit is set. + */ final val PendingFindMemberLimit = LogPendingFindMemberThreshold * 4 } |