groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Laforge <glafo...@gmail.com>
Subject Re: Problem creating groovy-macro spec files
Date Sun, 22 May 2016 14:05:38 GMT
You might want to ping Sergei, Groovy Macro's creator.
I've added Sergei in CC.

Guillaume

On Sun, May 22, 2016 at 3:29 PM, Mario Garcia <mario.ggar@gmail.com> wrote:

> 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
>>
>>
>>
>>
>


-- 
Guillaume Laforge
Apache Groovy committer & PMC Vice-President
Product Ninja & Advocate at Restlet <http://restlet.com>

Blog: http://glaforge.appspot.com/
Social: @glaforge <http://twitter.com/glaforge> / Google+
<https://plus.google.com/u/0/114130972232398734985/posts>

Mime
View raw message