aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/SymDenotations.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/SymDenotations.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/SymDenotations.scala')
-rw-r--r--src/dotty/tools/dotc/core/SymDenotations.scala2
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 910fec909..91f157e2c 100644
--- a/src/dotty/tools/dotc/core/SymDenotations.scala
+++ b/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -1016,7 +1016,7 @@ object SymDenotations {
}
object NoDenotation extends SymDenotation(
- NoSymbol, NoSymbol, "<none>".toTermName, EmptyFlags, NoType) {
+ NoSymbol, NoSymbol, "<none>".toTermName, Permanent, NoType) {
override def exists = false
override def isTerm = false
override def isType = false