equal
deleted
inserted
replaced
2599 * the same parameterized interface with two different argument lists. |
2599 * the same parameterized interface with two different argument lists. |
2600 * @param pos Position to be used for error reporting. |
2600 * @param pos Position to be used for error reporting. |
2601 * @param type The type whose interfaces are checked. |
2601 * @param type The type whose interfaces are checked. |
2602 */ |
2602 */ |
2603 void checkClassBounds(DiagnosticPosition pos, Type type) { |
2603 void checkClassBounds(DiagnosticPosition pos, Type type) { |
2604 checkClassBounds(pos, new HashMap<>(), type); |
2604 checkClassBounds(pos, new HashMap<TypeSymbol,Type>(), type); |
2605 } |
2605 } |
2606 //where |
2606 //where |
2607 /** Enter all interfaces of type `type' into the hash table `seensofar' |
2607 /** Enter all interfaces of type `type' into the hash table `seensofar' |
2608 * with their class symbol as key and their type as value. Make |
2608 * with their class symbol as key and their type as value. Make |
2609 * sure no class is entered with two different types. |
2609 * sure no class is entered with two different types. |