Open bsideup opened 8 years ago
Macro methods inherit their global nature from Groovy extension methods. It means that if you have two macro libraries on classpath with the same method name, it will cause a race.
We could use some special syntax or conventions to work around it. For instance, use static imports: https://github.com/groovy/groovy-core/compare/master...bsideup:feature/extension_methods?diff=unified&name=feature%2Fextension_methods#diff-759d479e1d214cc727264e44227fdbb8
Rr some special syntax like using foo from com.example.MyCoolMacroMethods
using foo from com.example.MyCoolMacroMethods
Macro methods inherit their global nature from Groovy extension methods. It means that if you have two macro libraries on classpath with the same method name, it will cause a race.
We could use some special syntax or conventions to work around it. For instance, use static imports: https://github.com/groovy/groovy-core/compare/master...bsideup:feature/extension_methods?diff=unified&name=feature%2Fextension_methods#diff-759d479e1d214cc727264e44227fdbb8
Rr some special syntax like
using foo from com.example.MyCoolMacroMethods