aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-03-28 12:57:54 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-03-31 14:52:08 +0200
commitc62d021cdcc0a3dda6daffd74daf8eaf48aeae88 (patch)
tree2128e1ec522dad4a0496292f59c0831bb6cafbe2 /src/dotty/tools/dotc/core
parentdd53b26706254985ba6b4faa9c89272571857906 (diff)
downloaddotty-c62d021cdcc0a3dda6daffd74daf8eaf48aeae88.tar.gz
dotty-c62d021cdcc0a3dda6daffd74daf8eaf48aeae88.tar.bz2
dotty-c62d021cdcc0a3dda6daffd74daf8eaf48aeae88.zip
Fix in NamedType#denot
Need to update checkedPeriod when new denotation is computed.
Diffstat (limited to 'src/dotty/tools/dotc/core')
-rw-r--r--src/dotty/tools/dotc/core/Types.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/Types.scala b/src/dotty/tools/dotc/core/Types.scala
index a7a33ce8e..8799f9fd0 100644
--- a/src/dotty/tools/dotc/core/Types.scala
+++ b/src/dotty/tools/dotc/core/Types.scala
@@ -1039,6 +1039,7 @@ object Types {
}
lastDenotation = d
lastSymbol = d.symbol
+ checkedPeriod = ctx.period
d
}