EE was going to free door latch on RR car, said he told another EE, who was on other side of car, that he was going to work on latch. Another EE had come into the Bldg and was talking to the other EE at same time, when other EE finished talking, having not heard injured EE, he shut car door with slate bar, pinching injured EE's finger in latch.