Relates :
|
Date: Tue, 08 Apr 2003 10:39:05 +0200 From: Mads Torgersen <###@###.###> To: Neal M Gafter <###@###.###> Subject: Classes in conjunction types Toying with conjunction types, I managed to make the compiler choke on the following program: public class Inference { class A {} interface B {} class Foo<T extends A & B>{} } Try it out! It turns out that if I change A to be an interface, there are no problems. /Mads
|