People often tell others acting like an ass to grow up.
This has nothing to do with being an informative description of children and more to do with PG's troll post, now that is somewhat ironic :p
For example, saying an asshole needs to grow up, is demeaning him by saying he is in an undesirable state (not grown up) which implies being a child is bad.