aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-11-22 01:34:29 +0100
committerGitHub <noreply@github.com>2016-11-22 01:34:29 +0100
commit34d64f381362b12a595fd26690c7c9b1c26d16f7 (patch)
tree325f4dfe60fc7d2ed41d64385cd30606e3c3e0e5 /src/dotty/tools/dotc/core
parent5b409515613173970d44a21978b04432cd01b73d (diff)
parent8932d98c4dcb6eb840cf640bc636982236613a16 (diff)
downloaddotty-34d64f381362b12a595fd26690c7c9b1c26d16f7.tar.gz
dotty-34d64f381362b12a595fd26690c7c9b1c26d16f7.tar.bz2
dotty-34d64f381362b12a595fd26690c7c9b1c26d16f7.zip
Merge pull request #1725 from dotty-staging/change-pickle-early
Don't retain picklers until backend.
Diffstat (limited to 'src/dotty/tools/dotc/core')
-rw-r--r--src/dotty/tools/dotc/core/SymDenotations.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala
index fb6a40100..8b7c28e19 100644
--- a/src/dotty/tools/dotc/core/SymDenotations.scala
+++ b/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -105,7 +105,7 @@ object SymDenotations {
ownerIfExists: Symbol,
final val name: Name,
initFlags: FlagSet,
- final val initInfo: Type,
+ initInfo: Type,
initPrivateWithin: Symbol = NoSymbol) extends SingleDenotation(symbol) {
//assert(symbol.id != 4940, name)
@@ -232,7 +232,7 @@ object SymDenotations {
case _ =>
}
*/
- if (Config.checkNoSkolemsInInfo) assertNoSkolems(initInfo)
+ if (Config.checkNoSkolemsInInfo) assertNoSkolems(tp)
myInfo = tp
}
@@ -751,7 +751,7 @@ object SymDenotations {
// def isOverridable: Boolean = !!! need to enforce that classes cannot be redefined
def isSkolem: Boolean = name == nme.SKOLEM
- def isInlineMethod(implicit ctx: Context): Boolean = is(InlineMethod, butNot = Accessor)
+ def isInlineMethod(implicit ctx: Context): Boolean = is(InlineMethod, butNot = Accessor)
// ------ access to related symbols ---------------------------------