cmd/compile/internal/ir: OCONVNOP is documented as having no effect, but it might change the type #71841
Labels
Documentation
Issues describing a change to documentation.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
I am unsure whether this is a bug or not, but the current docs of
OCONVNOP
is as follows:go/src/cmd/compile/internal/ir/node.go
Line 172 in 6e0a81a
Note the "no effect", but actually it can change the type:
Is this the expected behavior? If so i think that the docs should be updated, as it might be confusing (as it is a NOP).
CC @golang/compiler
The text was updated successfully, but these errors were encountered: