thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Reiss <dre...@facebook.com>
Subject Re: Java Compiler doesn't support method overloading
Date Tue, 07 Oct 2008 02:13:12 GMT
You are correct that Thrift doesn't support method overloading.
The bug here is that we are not checking to make sure that there
are no functions with duplicated names.

--David

Jonhnny Weslley wrote:
> Hi,
> 
> The Java Compiler implementation doesn't support method overloading.
> The generated classes declaring overloaded methods contains duplicated
> nested types,
> i.e., for each overloaded method *xxx* is generated a *xxx_args* and *
> x_result* nested classes.
> The code doesn't compile!
> 

Mime
View raw message