aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Contexts.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-04-04 09:51:41 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-04-08 16:56:04 +0200
commitf573a56ddc2b4f3c55c3ce1d92903a239896b950 (patch)
tree0cc02532a4ee13ed215ca1a8b47237fb7901c8bc /src/dotty/tools/dotc/core/Contexts.scala
parentdd5341106d9b57a99316a26a1f0c7e195b6debf1 (diff)
downloaddotty-f573a56ddc2b4f3c55c3ce1d92903a239896b950.tar.gz
dotty-f573a56ddc2b4f3c55c3ce1d92903a239896b950.tar.bz2
dotty-f573a56ddc2b4f3c55c3ce1d92903a239896b950.zip
Better printing of denotations.
Used to print <none> for denotations with a symbol, now prints "some I" where I is the denotation's info.Reworked phases.
Diffstat (limited to 'src/dotty/tools/dotc/core/Contexts.scala')
-rw-r--r--src/dotty/tools/dotc/core/Contexts.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/Contexts.scala b/src/dotty/tools/dotc/core/Contexts.scala
index 4f95ff247..b662326c5 100644
--- a/src/dotty/tools/dotc/core/Contexts.scala
+++ b/src/dotty/tools/dotc/core/Contexts.scala
@@ -189,7 +189,6 @@ object Contexts {
private var phasedCtx: Context = _
private var phasedCtxs: Array[Context] = _
-
/** This context at given phase.
* This method will always return a phase period equal to phaseId, thus will never return squashed phases
*/
@@ -211,7 +210,7 @@ object Contexts {
final def withPhase(phase: Phase): Context =
withPhase(phase.id)
- /** If -Ydebug is on, the top of the stack trace where this context
+ /** If -Ydebug is on, the top of the stack trace where this context
* was created, otherwise `null`.
*/
private var creationTrace: Array[StackTraceElement] = _