Skip to content

Commit 14555ee

Browse files
committed
Update lambda_expression.java
1 parent 95bcf2d commit 14555ee

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

dynamicjava/src/koala/dynamicjava/parser/lambda_expression.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
public class LambdaExpression extends PrimaryExpression {
66
private Option<List<FormalParameter>> typedParams;
77
private Option<List<String>> inferredParams;
8-
// A lambda expression have either the block as its body, the body could also be an expression, refer to Java 8 documentation for details
9-
private Option<BlockStatement> blockBody;
10-
private Option<Expression> exprBody;
8+
// A lambda expression have either the block as its body, the body could also be an expression,
9+
//refer to Java 8 documentation for details
10+
private Option<BlockStatement> blockBD;
11+
private Option<Expression> exprBD;
1112
public LambdaExpression(List<FormalParameter> typedParams,
1213
List<String> inferredParams,
13-
BlockStatement blockBody,
14-
Expression exprBody) {
15-
this(typedParams, inferredParams, blockBody, exprBody, SourceInfo.NONE);
14+
BlockStatement blockBD,
15+
Expression exprBD) {
16+
this(typedParams, inferredParams, blockBD, exprBD, SourceInfo.NONE);
1617
}
1718
/**
1819
* This class creates new lambda expression, which is newly introduced by Java 8.

0 commit comments

Comments
 (0)