M2
M2 copied to clipboard
Documentation of creating types
In the documentation node for "Type", there is literally zero mention of "new", which is the only way to create a type!
I'd say this should be listed under "Functions and methods returning a type", but new isn't really a function or method. Still, maybe we should change it so exceptional language syntax features can be listed there? Maybe NewOfMethod and friends should be listed there, but displayed the way we would use them?