diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-03-27 12:53:03 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-03-27 15:02:53 +0100 |
commit | 97faee5a82b40b4c980c8cb222ff5ac4cb9083a4 (patch) | |
tree | 760353c5f86d35d473a54ba2ba71a4b0f55ddd41 /src/dotty/tools/dotc/core/SymDenotations.scala | |
parent | a6419fbd80bb63413de671af331ae35da4fa4e1b (diff) | |
download | dotty-97faee5a82b40b4c980c8cb222ff5ac4cb9083a4.tar.gz dotty-97faee5a82b40b4c980c8cb222ff5ac4cb9083a4.tar.bz2 dotty-97faee5a82b40b4c980c8cb222ff5ac4cb9083a4.zip |
Rename methods on FreshContext to make mutation obvious
And avoid name clashes
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index 248cf3de3..b5c7ea539 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -1356,7 +1356,7 @@ object SymDenotations { val (location, src) = if (file != null) (s" in $file", file.toString) else ("", "the signature") - val name = ctx.fresh.withSetting(ctx.settings.debugNames, true).nameString(denot.name) + val name = ctx.fresh.setSetting(ctx.settings.debugNames, true).nameString(denot.name) ctx.error( s"""|bad symbolic reference. A signature$location |refers to $name in ${denot.owner.showKind} ${denot.owner.showFullName} which is not available. |