View Single Post
  #4 (permalink)  
Old 07-11-2007, 02:19 PM
hedefalk hedefalk is offline
Member
 
Join Date: Jul 2007
Posts: 3
hedefalk is on a distinguished road
I'll try to make an even simpler example to focus on the point of my question:

Code:
class Generic<T> { } class CompilesFine { public int id(Generic<Integer> request) { return 0; } public byte id(Generic<Double> request) { return 0; } } class DoesNotCompile { public int id(Generic<Integer> request) { return 0; } public int id(Generic<Double> request) { return 0; } }
/Viktor
Reply With Quote