You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running 'go generate ./macos/appkit' in a cloned DarwinKit repo, the files enumtypes.gen.go and aliastypes.gen.go are created. When I try to run my test program I see this error:
package command-line-arguments
imports github.com/progrium/macdriver/macos/appkit
imports github.com/progrium/macdriver/macos/appkit: import cycle not allowed
Further investigation shows that both files import "github.com/progrium/macdriver/macos/appkit". This is an error because both files are located in the appkit package already. Both files do not use this import.
There is also the problem with enumtypes.gen.go where it tries to use methods from the math package without importing that package.
My info:
Mac OS: 12.3.1
Go version: 1.20.1
CPU: M1 (ARM64)
The text was updated successfully, but these errors were encountered:
After running 'go generate ./macos/appkit' in a cloned DarwinKit repo, the files enumtypes.gen.go and aliastypes.gen.go are created. When I try to run my test program I see this error:
Further investigation shows that both files import "github.com/progrium/macdriver/macos/appkit". This is an error because both files are located in the appkit package already. Both files do not use this import.
There is also the problem with enumtypes.gen.go where it tries to use methods from the math package without importing that package.
My info:
The text was updated successfully, but these errors were encountered: