diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-07-24 15:24:06 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-07-24 15:29:42 +1000 |
commit | 91214dad841ee04e01d064da276e3fe46edf9e31 (patch) | |
tree | 10c433cdab7f5f99a99505117bebd40e440fdec2 /test/files/pos/t119.scala | |
parent | 56b7c0f8fa6c1037905867aec88520476dbd3baa (diff) | |
download | scala-91214dad841ee04e01d064da276e3fe46edf9e31.tar.gz scala-91214dad841ee04e01d064da276e3fe46edf9e31.tar.bz2 scala-91214dad841ee04e01d064da276e3fe46edf9e31.zip |
SI-7689 Fix typing regression with default arguments
Regressed in e28c3edda4. That commit encoded upper/lower bounds
of Any/Nothing as EmptyTree, which were triggering the .isEmpty
check in Namers#TypeTreeSubstitutor and resulting in the default
getter having TypeTree() as the return type. This resulted in a
"missing parmameter type" error.
This commit tightens up that condition to only consider empty
TypeTrees (those wrapping null or NoType.)
Diffstat (limited to 'test/files/pos/t119.scala')
0 files changed, 0 insertions, 0 deletions