groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Garcia <mario.g...@gmail.com>
Subject Re: Problem creating groovy-macro spec files
Date Sun, 22 May 2016 13:29:21 GMT
Yep, that's what I thought, but I was hoping somebody telling me It was my
fault :P

I'll take a further look to see if I'm able to see what's happening.
Thanks anyway :)

2016-05-22 15:25 GMT+02:00 Pascal Schumacher <pascalschumacher@gmx.net>:

> Hi Mario,
>
> as far as I remember groovy-macro is global ast-transformation. I guess
> here is some side-effect/bug which causes the test failures. Sadly I lack
> the necessary knowledge to investigate further.
>
> -Pascal
>
>
> Am 22.05.2016 um 14:33 schrieb Mario Garcia:
>
> Hi:
>
> I'm trying to write some examples about the new features coming in the new
> 'groovy-macro' but I'm experiencing some issues.
>
> In order to use 'groovy-macro' in the specs I've added the following line
> in the root build.gradle:
>
>    testCompile project(':groovy-macro')
>
> But when running tests using "./gradlew test" two tests are failing:
>
>    -
>    org.codehaus.groovy.classgen.asm.sc.bugs.Groovy6757Bug#testExplicitTypeHint
>    -
>    org.codehaus.groovy.classgen.asm.sc.bugs.Groovy7316Bug#testTypeCheckingBypassUsingExplicitTypeHint
>
> I've removed my examples to isolate the issue. And it turns out it just
> fails adding the testCompile dependency. Once I remove the dependency all
> tests succeed.
>
> Any ideas ? Should I've been doing the dependency management in some other
> way? Maybe a bug ?
>
> Mario
>
>
>
>

Mime
View raw message