cmd/go2go: Looks like the type checker fails to report an error. #39852
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Looks like the type checker fails to report an error.
Smaller test case:
This requires that both
Optional(int)
andOptional(string)
implementBox(int)
.Optional(int)
does implement it, butOptional(string)
does not. The type checker passes this without error but probably should not.Originally posted by @ianlancetaylor in #39754 (comment)
The text was updated successfully, but these errors were encountered: