aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Periods.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-08-17 15:03:01 +0200
committerMartin Odersky <odersky@gmail.com>2013-08-17 15:03:01 +0200
commit8b2e95eaf06096b1fb4b50fc273809c687f39373 (patch)
tree43365d18406cff390e7c2dd8d65ce5e0a3387c3b /src/dotty/tools/dotc/core/Periods.scala
parentfd6a6774be4be37f707f509aef997e456a6b64ac (diff)
downloaddotty-8b2e95eaf06096b1fb4b50fc273809c687f39373.tar.gz
dotty-8b2e95eaf06096b1fb4b50fc273809c687f39373.tar.bz2
dotty-8b2e95eaf06096b1fb4b50fc273809c687f39373.zip
Making definitions permanent
Need to ensure that specially generated symbols in definitions are valid forever; otherwise they would disappear after first run.
Diffstat (limited to 'src/dotty/tools/dotc/core/Periods.scala')
-rw-r--r--src/dotty/tools/dotc/core/Periods.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Periods.scala b/src/dotty/tools/dotc/core/Periods.scala
index 8a1b65f2c..2a38acd15 100644
--- a/src/dotty/tools/dotc/core/Periods.scala
+++ b/src/dotty/tools/dotc/core/Periods.scala
@@ -128,7 +128,7 @@ object Periods {
final val Nowhere = new Period(0)
- final val InitialPeriod = Period(InitialRunId, FirstPhaseId, FirstPhaseId)
+ final val InitialPeriod = Period(InitialRunId, FirstPhaseId)
/** An ordinal number for compiler runs. First run has number 1. */
type RunId = Int