varivera / aliasing-java

0 stars 0 forks source link

method overloaded #23

Open varivera opened 5 years ago

varivera commented 5 years ago

What method is being called in case there are more than one with the same name. void m(T v) T m(T v)

varivera commented 5 years ago

In a unqualified call, the method being called is the right one. The overloading is solved by the AST. However, if the method is a qualified call, the implementation was calling the first method name found (which is a mistake). For now, there is a workaround and works. But, there's a need to get rid of it.