Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
class Blah {} class MyList extends LinkedList<Object> {} List<Blah> o = new MyList()
should not pass the type checker, but
class Blah {} class MyList extends LinkedList<Object> {} List<Object> o = new MyList()
should. Currently both pass.