diff options
author | Paul Phillips <paulp@improving.org> | 2011-09-22 19:34:26 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-09-22 19:34:26 +0000 |
commit | 7dc4723db3b8d435a5596db9de3e0378e023c8df (patch) | |
tree | e6d84c9caba0835898e1d2a8121ca4283abcd55e /test/files/neg | |
parent | 7e47107efa5d0eea79731d7f73a3b624b9cb1601 (diff) | |
download | scala-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 'test/files/neg')
0 files changed, 0 insertions, 0 deletions