Groovy transpiler uses compilerConfiguration.groovyClassLoader instead of the groovy compilation unit class loader.
This commit is contained in:
parent
3be4761541
commit
bf44fdd633
2
TODO.md
2
TODO.md
@ -8,3 +8,5 @@
|
||||
- extensible
|
||||
- fp
|
||||
- [ ] di bug: @Singleton toSelf() causes stack overflow
|
||||
- [ ] figure out how to make the GroovyClassLoader consistent between the groovy compiler configuration and the wvc
|
||||
compiler configuration.
|
||||
|
@ -224,7 +224,7 @@ public class DefaultGroovyTranspiler implements GroovyTranspiler {
|
||||
// resolver, transpilerConfiguration, and positionSetter
|
||||
final ClassLoaderComponentClassNodeResolver resolver = new ClassLoaderComponentClassNodeResolver(
|
||||
compileUnit,
|
||||
compileUnit.getGroovyCompilationUnit().getClassLoader()
|
||||
compilerConfiguration.getGroovyClassLoader()
|
||||
);
|
||||
final var transpilerConfiguration = this.getConfiguration(resolver);
|
||||
final PositionSetter positionSetter = transpilerConfiguration.getPositionSetter();
|
||||
|
Loading…
Reference in New Issue
Block a user