groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raviteja Lokineni <raviteja.lokin...@gmail.com>
Subject Re: CompileStatic and CompileDynamic question
Date Fri, 24 Feb 2017 18:02:52 GMT
Figured it out never mind, it was a stupid of me. Had to look closely at
the declared generics.

On Fri, Feb 24, 2017 at 11:25 AM, Raviteja Lokineni <
raviteja.lokineni@gmail.com> wrote:

> I see this error during compile I am not able to figure out what's wrong
> with this. Is this a bug:
>
> [Static type checking] - Cannot call <class>#<method>(some.package.CustomClass1,
> java.util.Map <java.lang.String, java.util.Set>, java.util.List <java.util
> .Map>) with arguments [some.package.CustomClass1, java.util.Map <String,
> Set>, java.util.List <Map>]
>
> The class is annotated with @CompileStatic whereas the method in question
> is annotated with @CompileDynamic.
>
> Thanks,
> --
> *Raviteja Lokineni* | Business Intelligence Developer
> TD Ameritrade
>
> E: raviteja.lokineni@gmail.com
>
> [image: View Raviteja Lokineni's profile on LinkedIn]
> <http://in.linkedin.com/in/ravitejalokineni>
>
>


-- 
*Raviteja Lokineni* | Business Intelligence Developer
TD Ameritrade

E: raviteja.lokineni@gmail.com

[image: View Raviteja Lokineni's profile on LinkedIn]
<http://in.linkedin.com/in/ravitejalokineni>

Mime
View raw message