diff options
author | Paul Phillips <paulp@improving.org> | 2010-12-08 04:23:29 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-12-08 04:23:29 +0000 |
commit | 9a7e511b3e851eba9e8cd7a422d21af9b8023204 (patch) | |
tree | 323e839113a971b0588ed1cf3f9b9b8e841525b5 /test/files/pos/t3946 | |
parent | 8aed49aba930520b4b26b81beb57ffd6cc626765 (diff) | |
download | scala-9a7e511b3e851eba9e8cd7a422d21af9b8023204.tar.gz scala-9a7e511b3e851eba9e8cd7a422d21af9b8023204.tar.bz2 scala-9a7e511b3e851eba9e8cd7a422d21af9b8023204.zip |
I learned from #4067 that we don't have any kin...
I learned from #4067 that we don't have any kind of signature validation
yet. I could swear someone did that. Anyway, I did. If you give option
-Yverify-generics it will yell at you for any that are invalid. For
instance, the one in the ticket.
% scalac -Yverify-generics -d /tmp
src/library/scala/collection/immutable/List.scala
[BAD!] method orElse in scala.collection.immutable.List
<A1:IB1:Ljava/lang/Object;>(Lscala/PartialFunction<TA1;TB1;>;)Lscala/Par
tialFunction<TA1;TB1;>; [BAD!] method
orElse in scala.collection.immutable.List
<A1:IB1:Ljava/lang/Object;>(Lscala/PartialFunction<TA1;TB1;>;)Lscala/Par
tialFunction<TA1;TB1;>;
Of course you still have to figure out what is wrong and why. Review by
moors, dragos.
Diffstat (limited to 'test/files/pos/t3946')
0 files changed, 0 insertions, 0 deletions