mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 23:02:27 +00:00
compiler: provide filename to Compile()
This commit is contained in:
parent
d8db85ef55
commit
057e1c6e3c
9 changed files with 19 additions and 18 deletions
|
@ -77,6 +77,6 @@ func compileFile(src string) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
_, err = compiler.Compile(file)
|
||||
_, err = compiler.Compile("foo.go", file)
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue