castAs(GoLiteralExpression.class, 1, returnStmt.getExpressions()));
}
public void testReturnLiteral2() throws Exception {
GoFile file = get(parse("package main; func a() { return \"a\";\n}"));
GoFunctionDeclaration func = childAt(0,
file.getFunctions());
GoBlockStatement blockStmt = get(func.getBlock());
GoReturnStatement returnStmt =
castAs(GoReturnStatement.class,
0, blockStmt.getStatements());