aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2016-01-04 14:14:52 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2016-01-04 14:14:52 +0100
commitf9abfd54c30dab551472841ddd74fb467e755766 (patch)
treeaa2bd84cb529a1b7c746e1c9eb1a3d688224755d /src
parentf0c6814a61768155d3e8c08093f365fce6360527 (diff)
downloaddotty-f9abfd54c30dab551472841ddd74fb467e755766.tar.gz
dotty-f9abfd54c30dab551472841ddd74fb467e755766.tar.bz2
dotty-f9abfd54c30dab551472841ddd74fb467e755766.zip
Mark TermRefWithFixedSym as non-final.
Diffstat (limited to 'src')
-rw-r--r--src/dotty/tools/dotc/core/Types.scala5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/Types.scala b/src/dotty/tools/dotc/core/Types.scala
index 9eaf9bc89..374ae4a53 100644
--- a/src/dotty/tools/dotc/core/Types.scala
+++ b/src/dotty/tools/dotc/core/Types.scala
@@ -1695,8 +1695,9 @@ object Types {
override def computeHash = unsupported("computeHash")
}
- final class TermRefWithFixedSym(prefix: Type, name: TermName, val fixedSym: TermSymbol) extends TermRef(prefix, name) with WithFixedSym
- final class TypeRefWithFixedSym(prefix: Type, name: TypeName, val fixedSym: TypeSymbol) extends TypeRef(prefix, name) with WithFixedSym
+ // Those classes are non final as Linker extends them.
+ class TermRefWithFixedSym(prefix: Type, name: TermName, val fixedSym: TermSymbol) extends TermRef(prefix, name) with WithFixedSym
+ class TypeRefWithFixedSym(prefix: Type, name: TypeName, val fixedSym: TypeSymbol) extends TypeRef(prefix, name) with WithFixedSym
/** Assert current phase does not have erasure semantics */
private def assertUnerased()(implicit ctx: Context) =