summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-09-22 19:34:26 +0000
committerPaul Phillips <paulp@improving.org>2011-09-22 19:34:26 +0000
commit7dc4723db3b8d435a5596db9de3e0378e023c8df (patch)
treee6d84c9caba0835898e1d2a8121ca4283abcd55e /src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
parent7e47107efa5d0eea79731d7f73a3b624b9cb1601 (diff)
downloadscala-7dc4723db3b8d435a5596db9de3e0378e023c8df.tar.gz
scala-7dc4723db3b8d435a5596db9de3e0378e023c8df.tar.bz2
scala-7dc4723db3b8d435a5596db9de3e0378e023c8df.zip
Fixing isTrivial in NullaryMethod.
1) Made NullaryMethodType a SimpleTypeProxy. (This is incidental to isTrivial, it just seemed like the right thing to do.) 2) Modified implementations of isTrivial for MethodType and NullaryMethodType to only be considered trivial if there are no annotations on the return type. This means asSeenFrom will not be skipped and the continuations plugin will work properly. There are a lot of other angles one could take, so review by moors, rompf.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/RefChecks.scala')
0 files changed, 0 insertions, 0 deletions