Or a person? If you had to slam on the brakes then maybe you were going a bit too fast.
It's perverse for the council to say that they can't put a crossing there as it's unsafe but that is exactly the place where people are crossing.
Wasn't the time to look at this crossing point when they built the flats? No, they just put a small barrier up on either side of the road as "that'll stop them crossing here"