I don't know if that is a glitch or a bug.
its by design
How so? If Shadowheart was knocked out, I should be able to revive her. However, dead is dead. I should be able to revive unless I have a scroll in my bag. It's cool because the game is seriously fun!