compiler: drop useless options parameter to Compile()
It's not used in any way there.
This commit is contained in:
parent
e319c6c638
commit
579aa31ddd
5 changed files with 6 additions and 10 deletions
|
@ -259,7 +259,7 @@ func handleLoadGo(c *ishell.Context) {
|
|||
c.Err(err)
|
||||
return
|
||||
}
|
||||
b, err := compiler.Compile(bytes.NewReader(fb), &compiler.Options{})
|
||||
b, err := compiler.Compile(bytes.NewReader(fb))
|
||||
if err != nil {
|
||||
c.Err(err)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue