cmd/compile: About simplifying the if of typecheck1 #41446
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What did you do?
I find a todo tag in line 2106 of the file cmd/compile/internal/gc/typecheck.go.Is this simplifying the 'if'?
I found that this code will enter the 'if' when top is equal to 0001. Can it be changed like this?
Then another 'if' I have no idea to simplify.
The text was updated successfully, but these errors were encountered: