diff options
author | Martin Odersky <odersky@gmail.com> | 2016-05-20 14:05:19 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-05-23 12:01:40 +0200 |
commit | f99d3fb1ed3de8390d444d5ee71ce1330a4f92f1 (patch) | |
tree | bb1038a243d82f72722c813f5f525a2edc9bd285 /tests/pos-scala2/t3833.scala | |
parent | e4f87d90414e5cfd590f2549e090e7e0ab8141b8 (diff) | |
download | dotty-f99d3fb1ed3de8390d444d5ee71ce1330a4f92f1.tar.gz dotty-f99d3fb1ed3de8390d444d5ee71ce1330a4f92f1.tar.bz2 dotty-f99d3fb1ed3de8390d444d5ee71ce1330a4f92f1.zip |
Replace aliases to Unit by Unit
Do this in the inferred (result-)type of ValDefs and DefDefs.
Without this fix, TreeTraverser#traverseChildren in Trees.scala
gets a result type of BoxedUnit (but only when co-compiled from
source, not when unpickled).
Diffstat (limited to 'tests/pos-scala2/t3833.scala')
0 files changed, 0 insertions, 0 deletions