compiler: allow to split main package across multiple files
This commit is contained in:
parent
553e57c2c4
commit
a34ba92d46
6 changed files with 63 additions and 33 deletions
4
pkg/compiler/testdata/multi/file2.go
vendored
4
pkg/compiler/testdata/multi/file2.go
vendored
|
@ -5,3 +5,7 @@ var SomeVar30 = 30
|
|||
func Sum() int {
|
||||
return SomeVar12 + SomeVar30
|
||||
}
|
||||
|
||||
func Func2() bool {
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue