diff options
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala | 2 |
1 files changed, 1 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..e9449a312 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala @@ -159,7 +159,7 @@ 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)) + case addrs: List[Addr @unchecked] => treeAddrs.put(tree, addrs.map(adjusted)) } } } |