Skip to content

Commit

Permalink
Bump groovy to 3.0.0-beta-2 (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellansun authored Jul 13, 2019
1 parent 51dbe8c commit a4064dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ compileJava.dependsOn antlr


ext {
asmVersion = '7.0'
asmVersion = '7.2-beta'
antlr4Version = '4.7.3'
// groovyVersion = '3.0.0-SNAPSHOT'
groovyVersion = '3.0.0-alpha-4'
groovyVersion = '3.0.0-beta-2'
junitVersion = '4.12'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ import org.codehaus.groovy.ast.expr.MapEntryExpression
import org.codehaus.groovy.ast.expr.MapExpression
import org.codehaus.groovy.ast.expr.MethodCallExpression
import org.codehaus.groovy.ast.expr.MethodPointerExpression
import org.codehaus.groovy.ast.expr.MethodReferenceExpression
import org.codehaus.groovy.ast.expr.NotExpression
import org.codehaus.groovy.ast.expr.PostfixExpression
import org.codehaus.groovy.ast.expr.PrefixExpression
Expand Down Expand Up @@ -1080,6 +1081,13 @@ class AstNodeToScriptVisitor extends CompilationUnit.PrimaryClassNodeOperation i
expression?.methodName?.visit this
}

@Override
void visitMethodReferenceExpression(MethodReferenceExpression expression) {
expression?.expression?.visit this
print '::'
expression?.methodName?.visit this
}

@Override
void visitArrayExpression(ArrayExpression expression) {
print 'new '
Expand Down

0 comments on commit a4064dd

Please sign in to comment.