compiler: allow to split main package across multiple files

This commit is contained in:
Evgenii Stratonikov 2020-08-10 18:23:45 +03:00
parent 553e57c2c4
commit a34ba92d46
6 changed files with 63 additions and 33 deletions

View file

@ -5,3 +5,7 @@ var SomeVar30 = 30
func Sum() int {
return SomeVar12 + SomeVar30
}
func Func2() bool {
return false
}