-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Program with HRTB rejected with inexplicable error message #50301
Copy link
Copy link
Closed
Labels
A-inferenceArea: Type inferenceArea: Type inferenceC-bugCategory: This is a bug.Category: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.T-langRelevant to the language teamRelevant to the language team
Metadata
Metadata
Assignees
Labels
A-inferenceArea: Type inferenceArea: Type inferenceC-bugCategory: This is a bug.Category: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.T-langRelevant to the language teamRelevant to the language team
Type
Fields
Give feedbackNo fields configured for issues without a type.
(Sorry about the non-informative title, I couldn't come up with a useful description.)
As discovered towards the end of this forum thread, the following code (playground) fails to compile:
I get the following error message:
Changing the definition of
Itemtou32makes the program compile, but it seems like it should be accepted as it is.