> Why not print member function attributes (const, immutable, etc) when the argument is a type?

I don't know how to get from a `TypeFunction` to a `FuncDeclaration`, which holds these attributes. I would actually appreciate some help here. If you can improve `getFunctionAttributes` further it would be awesome!