aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/tasty
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2017-04-04 13:45:40 +0200
committerGitHub <noreply@github.com>2017-04-04 13:45:40 +0200
commit42c2a6fbbddf73ef2faeb6204c2b7521a76d7345 (patch)
treeaf1a711407a2b16922672890e98faa8915f9dc8b /compiler/src/dotty/tools/dotc/core/tasty
parenta71cb970b779692d2dd68cd9ba00d2be5e6759be (diff)
parentfee6953c75eb93956e4e33ff8351aa2ec992854c (diff)
downloaddotty-42c2a6fbbddf73ef2faeb6204c2b7521a76d7345.tar.gz
dotty-42c2a6fbbddf73ef2faeb6204c2b7521a76d7345.tar.bz2
dotty-42c2a6fbbddf73ef2faeb6204c2b7521a76d7345.zip
Merge pull request #2168 from allanrenucci/warnings
Fixes `@unchecked` warnings
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/tasty')
-rw-r--r--compiler/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala b/compiler/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala
index 6c7982d78..86e5be2e2 100644
--- a/compiler/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala
+++ b/compiler/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala
@@ -159,7 +159,6 @@ class TreeBuffer extends TastyBuffer(50000) {
val tree = it.next
treeAddrs.get(tree) match {
case addr: Addr => treeAddrs.put(tree, adjusted(addr))
- case addrs: List[Addr] => treeAddrs.put(tree, addrs.map(adjusted))
}
}
}