equal
deleted
inserted
replaced
601 /** |
601 /** |
602 * Compute a synthetic method type corresponding to the requested polymorphic |
602 * Compute a synthetic method type corresponding to the requested polymorphic |
603 * method signature. The target return type is computed from the immediately |
603 * method signature. The target return type is computed from the immediately |
604 * enclosing scope surrounding the polymorphic-signature call. |
604 * enclosing scope surrounding the polymorphic-signature call. |
605 */ |
605 */ |
606 Type instantiatePolymorphicSignatureInstance(Env<AttrContext> env, Type site, |
606 Type instantiatePolymorphicSignatureInstance(Env<AttrContext> env, |
607 Name name, |
|
608 MethodSymbol spMethod, // sig. poly. method or null if none |
607 MethodSymbol spMethod, // sig. poly. method or null if none |
609 List<Type> argtypes) { |
608 List<Type> argtypes) { |
610 final Type restype; |
609 final Type restype; |
611 |
610 |
612 //The return type for a polymorphic signature call is computed from |
611 //The return type for a polymorphic signature call is computed from |