mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-18 13:25:06 +00:00
Set line number to use left parenthesis not right
This commit is contained in:
@@ -498,7 +498,7 @@ func appendAction(fset *token.FileSet, mm methodMap, decl ast.Decl, pkgImportPat
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add this call's args to the renderArgs.
|
// Add this call's args to the renderArgs.
|
||||||
pos := fset.Position(callExpr.Rparen)
|
pos := fset.Position(callExpr.Lparen)
|
||||||
methodCall := &methodCall{
|
methodCall := &methodCall{
|
||||||
Line: pos.Line,
|
Line: pos.Line,
|
||||||
Names: []string{},
|
Names: []string{},
|
||||||
|
|||||||
Reference in New Issue
Block a user