I saw the pathfinding restrictions in the waypoint stations today. They've been there a while, and I seem to remember I was the one that requested them in the first place. So I thought I'd test them out, and they work- though perhaps a little too well:

The restriction is doing precisely what it made to do: The train that is assigned to stop at that waypoint is not allowed to approach it. (The other empty waypoint there is configured identically; 3 holding waypoints, but only 2 trains on that line). The selected train is offscreen to the right somewhere, not the one sitting at the third waypoint, but it looks the same.
This feels like it should be an illegal configuration for the waypoint station.
Update 4.2 | v0.8.6c (b612).
Reproduction:
- Have a train.
- Have a waypoint.
- Have the train on a line that explicitly uses that waypoint. Haven't tested with Network waiting bays, but it might work the same.
- Configure the waypoint restrictions to deny the very line (or network) that is explicitly using it. This is the part that I feel ought to be impossible.
- Make sure the train has nowhere else to go, so it's forced to go there. The effect is largely invisible otherwise (it will simply pick the alternatives, if they're not occupied by other trains).
- Watch the pathfinding restriction function as designed!
If I assume it works the same on Network waiting bays, these restrictions seem like an excellent way to sort waiting bays by cargo type- as I've done on previous worlds- but using a single network, rather than three separate specific-cargo-type networks. Undoubtedly makes that kind of arrangement much easier to build and maintain.
