Last night I had this weird dream. I saw all my primary school classmates come to visit me at my home. When I opened the door they just started walking up and down my home and behaving like my home was the school's playground. It was really weird because I don't think about primary school past anymore.
Studies have shown dreams have two major states. Stage 1-4 were your brain is sort of uploading past information in concentrated bursts and REM sleep were you take that information and try to imagine a different scenario. It's like creating another world or simulator were you can go threw other possible scenarios. This helps us deal with information we don't want to deal with in real life and some believe can be information from our ancestors.
Your dream could have been dealing with something relevant in your life now but been using old information to describe it. Perhaps there are friends of yours currently that are treating you as if you are a child and not respecting you. This is just a guess.