compiler: process packages in deterministic order

This commit is contained in:
Evgenii Stratonikov 2020-08-05 10:56:36 +03:00
parent b771d2d024
commit 6f2759be3a
7 changed files with 72 additions and 1 deletions

7
pkg/compiler/testdata/pkg1/pkg1.go vendored Normal file
View file

@ -0,0 +1,7 @@
package pkg1
import "github.com/nspcc-dev/neo-go/pkg/compiler/testdata/pkg3"
func init() {
pkg3.A = 1
}