diff options
author | Allan Renucci <allan.renucci@gmail.com> | 2017-04-03 21:20:24 +0200 |
---|---|---|
committer | Allan Renucci <allan.renucci@gmail.com> | 2017-04-03 21:20:24 +0200 |
commit | 8377c0da86f7e9959e40e4b863a4831df9947e67 (patch) | |
tree | 5e09e2d8d6d2bdd32fef28bb4f56623e9c0e508f /compiler/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala | |
parent | 5021c768ccd123e148291bdda28920dea5e85630 (diff) | |
download | dotty-8377c0da86f7e9959e40e4b863a4831df9947e67.tar.gz dotty-8377c0da86f7e9959e40e4b863a4831df9947e67.tar.bz2 dotty-8377c0da86f7e9959e40e4b863a4831df9947e67.zip |
Fixes @unchecked warnings
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)) } } } |