Of course dreams have meaning, but it's almost always symbolic or metaphorical, rather then literal, and only a very few are truly precognitive. You
should know if this is so.
Please try not to be alarmed. Death in dreams most often means the death of something to do with you in your waking life. The death of a certain
feeling maybe ? Have you given up on anything in your life ? it could mean the death of that. Or the death of the 'old' you as in you are changing,
or becoming a 'new' person in some way.
Take a look at your waking/daily life to see how this idea might apply to you.
As to the 'dieing in your dream, you die in real life' idea. I'm not sure if this has ever been proven true or is simply urban myth.

