This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_2_5_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_2_5_X by this push:
new beeca7d fix for 2_5_X
beeca7d is described below
commit beeca7dc59bfbf43a1047796fefd3f8ffd588004
Author: Paul King <[email protected]>
AuthorDate: Wed Jul 3 01:52:10 2019 +1000
fix for 2_5_X
---
src/test/groovy/bugs/Groovy9184.groovy | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/test/groovy/bugs/Groovy9184.groovy
b/src/test/groovy/bugs/Groovy9184.groovy
index 28c763d..2325e5e 100644
--- a/src/test/groovy/bugs/Groovy9184.groovy
+++ b/src/test/groovy/bugs/Groovy9184.groovy
@@ -24,15 +24,13 @@ import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.JUnit4
-import static org.codehaus.groovy.control.ParserPluginFactory.antlr2
-
@CompileStatic
@RunWith(JUnit4)
final class Groovy9184 {
@Test(timeout=1500L)
void testEnumWithinEnum() {
- def config = new CompilerConfiguration(pluginFactory: antlr2())
+ def config = new CompilerConfiguration()
new GroovyShell(config).evaluate('''
enum Outer {