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
constBuilderModeDoc=`Options controlling the SSA builder.The value is a sequence of zero or more of these letters:...I build bare [I]nit functions: no init guards or calls to dependent inits.`
In fact, the I option is not handled by the String and Set methods on BuilderMode. In practice, this means that using the BareInits option is inaccessible through e.g. ssadump:
$ ssadump -build=I main.go
invalid value "I"for flag -build: unknown BuilderMode option: 'I'
The text was updated successfully, but these errors were encountered:
gopherbot
added
the
Tools
This label describes issues relating to any tools in the x/tools repository.
label
Nov 15, 2020
I accepted this fix, but probably should have confirmed that this was an accidental omission in https://golang.org/cl/5172. If not, please let me know and I'll revert.
The documentation for
ssa.BuilderMode
states:In fact, the
I
option is not handled by theString
andSet
methods onBuilderMode
. In practice, this means that using theBareInits
option is inaccessible through e.g.ssadump
:The text was updated successfully, but these errors were encountered: