aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-09-15 15:39:57 +0200
committerMartin Odersky <odersky@gmail.com>2016-10-02 16:12:28 +0200
commit5a46d19dde76b739f6672c9b6f57355cfd38159a (patch)
tree57dc454cad17be45e71e9180bb283c7cd606920e /src/dotty/tools/dotc/core
parentc9fa504161cc34ec979ae3c1b73db6798adc4872 (diff)
downloaddotty-5a46d19dde76b739f6672c9b6f57355cfd38159a.tar.gz
dotty-5a46d19dde76b739f6672c9b6f57355cfd38159a.tar.bz2
dotty-5a46d19dde76b739f6672c9b6f57355cfd38159a.zip
Handle inlining in inlining arguments
We got unbound symbols before because a TreeTypeMap would copy a tree of an inline DefDef but would not adapt the inline body stored in the @inline annotation of the DefDef to point to the updated tree.
Diffstat (limited to 'src/dotty/tools/dotc/core')
-rw-r--r--src/dotty/tools/dotc/core/tasty/TreePickler.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/tasty/TreePickler.scala b/src/dotty/tools/dotc/core/tasty/TreePickler.scala
index 12ab050f6..99a3ff85c 100644
--- a/src/dotty/tools/dotc/core/tasty/TreePickler.scala
+++ b/src/dotty/tools/dotc/core/tasty/TreePickler.scala
@@ -572,7 +572,7 @@ class TreePickler(pickler: TastyPickler) {
def pickle(trees: List[Tree])(implicit ctx: Context) = {
trees.foreach(tree => if (!tree.isEmpty) pickleTree(tree))
- assert(forwardSymRefs.isEmpty, i"unresolved symbols: ${forwardSymRefs.keySet.toList}%, % when pickling $trees%\n %")
+ assert(forwardSymRefs.isEmpty, i"unresolved symbols: ${forwardSymRefs.keySet.toList}%, % when pickling ${ctx.source}")
}
def compactify() = {