aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Definitions.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-02-23 13:36:05 +0100
committerMartin Odersky <odersky@gmail.com>2013-02-23 13:36:05 +0100
commit7cde8b6d78022aadb00d3f82fb9019da39a62b49 (patch)
tree389ce0d44ecec47a7fa6caec79d252fe129d5116 /src/dotty/tools/dotc/core/Definitions.scala
parentd54fee4fcc75d5e9b58353da9daea0aa1b760aeb (diff)
downloaddotty-7cde8b6d78022aadb00d3f82fb9019da39a62b49.tar.gz
dotty-7cde8b6d78022aadb00d3f82fb9019da39a62b49.tar.bz2
dotty-7cde8b6d78022aadb00d3f82fb9019da39a62b49.zip
Moving associatedFile from SymDenotation to Symbol
Motivation: This is something that stays invariant over all periods. but _can_ change between compilation runs. Therefore it matches the lifetime of a Symbol.
Diffstat (limited to 'src/dotty/tools/dotc/core/Definitions.scala')
-rw-r--r--src/dotty/tools/dotc/core/Definitions.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Definitions.scala b/src/dotty/tools/dotc/core/Definitions.scala
index 935369091..ef9f3d70d 100644
--- a/src/dotty/tools/dotc/core/Definitions.scala
+++ b/src/dotty/tools/dotc/core/Definitions.scala
@@ -41,7 +41,7 @@ class Definitions(implicit ctx: Context) {
val parentRefs: List[TypeRef] = ctx.normalizeToRefs(parents, cls, paramDecls)
CompleteClassDenotation(cls, ScalaPackageClass, name, flags, parentRefs, decls = paramDecls)(ctx)
}
- new ClassSymbol(NoCoord, classDenot)
+ new ClassSymbol(NoCoord, classDenot, null)
}
private def mkArityArray(name: String, arity: Int, countFrom: Int): Array[ClassSymbol] = {