refactoring: fix panic when empty return type
This commit is contained in:
Generated
+520
-520
File diff suppressed because it is too large
Load Diff
Generated
+494
-494
File diff suppressed because it is too large
Load Diff
@@ -1993,7 +1993,7 @@ type:
|
|||||||
return_type:
|
return_type:
|
||||||
/* empty */
|
/* empty */
|
||||||
{
|
{
|
||||||
$$ = nil
|
$$ = &ast.ReturnType{}
|
||||||
}
|
}
|
||||||
| ':' type_expr
|
| ':' type_expr
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user