go/types, types2: error messages print untyped nil
, compiler used to print just nil
#48852
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Maybe it's sufficient to just print
nil
where we printuntyped nil
in error messages. Theuntyped nil
is printed to differenciate it from typednil
's, but now we print the type of typednil
's in parentheses.Investigate.
Marked for 1.18 in case we consider it important for more concise error messages, but could easily be backlog.
cc: @findleyr
The text was updated successfully, but these errors were encountered: