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
extra infomation: env GOSSAFUNC=test go run/install main.go has the same problem. env GOSSAFUNC=test go build/run/install -a main.go will work correctly with "-a" flag env GOSSAFUNC=test go tool compile main.go will work correctly
I guess it is related to the cache mechanism of "go" command, using "go tool compile" or with "-a" flag(force rebuild) will work correctly.
What did you expect to see?
generate ssa.html file again in the current directory
What did you see instead?
output with the following message, but no ssa.html file is generated in the current directory
# command-line-arguments
dumped SSA to ./ssa.html
The text was updated successfully, but these errors were encountered:
This does indeed seem like a duplicate of #31290. Please feel free to contribute and follow-up with that issue. If you think this issue was closed in error, please respond.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes,with the latest release go1.14.6
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
env GOSSAFUNC=test go build main.go
for the following code:remove ssa.html
run
env GOSSAFUNC=test go build main.go
againextra infomation:
env GOSSAFUNC=test go run/install main.go
has the same problem.env GOSSAFUNC=test go build/run/install -a main.go
will work correctly with "-a" flagenv GOSSAFUNC=test go tool compile main.go
will work correctlyI guess it is related to the cache mechanism of "go" command, using "go tool compile" or with "-a" flag(force rebuild) will work correctly.
What did you expect to see?
generate ssa.html file again in the current directory
What did you see instead?
output with the following message, but no ssa.html file is generated in the current directory
The text was updated successfully, but these errors were encountered: