| Index: compiler/java/com/google/dart/compiler/ast/DartReturnBlock.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartReturnBlock.java b/compiler/java/com/google/dart/compiler/ast/DartReturnBlock.java
|
| index 0c6dbed811cfe07358ac644a4dfbc4de0f36a743..203dbd797929351eada59f79e35442c75be05cff 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartReturnBlock.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartReturnBlock.java
|
| @@ -11,5 +11,7 @@ import com.google.common.collect.Lists;
|
| public class DartReturnBlock extends DartBlock {
|
| public DartReturnBlock(DartExpression returnVal) {
|
| super(Lists.<DartStatement>newArrayList(new DartReturnStatement(returnVal)));
|
| + // Set the source information for the synthesized node.
|
| + getStatements().get(0).setSourceInfo(returnVal.getSourceInfo());
|
| }
|
| }
|
|
|