carbon-language / carbon-lang

Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
https://github.com/carbon-language/carbon-lang/blob/trunk/README.md
Other
32.31k stars 1.48k forks source link

Improve formatting of the type of a function or generic class name. #4033

Closed zygoloid closed 3 weeks ago

zygoloid commented 3 weeks ago

Don't format the type of the function F as "F". Instead use "<type of F>".

Also improve instruction naming for function and generic class name values: name the value after the function or generic class, and add a .type suffix to the type.