Hoping to identify this plant for a friend in Scotland - Diervilla has been suggested, but it doesn't seem quite right from what I can tell. It's a fairly tall perennial, about 5 feet or so, with arching branches, flowering in late summer early fall. I've attached two photos, and I'm hoping they're good enough for someone to identify it. The branches shown are coming off of upright jointed taller stems (barely visible in the first photo). I'm utterly ignorant, so all apologies if I've missed crucial details. thanks muchly!
I found this in a wilder part of my garden recently, the seed I suspect was brought in by a bird from a neighbour's garden 100 yards away. In its third year of growth it has already reached 12ft. Another common name for it is Pheasantberry, as it has been used for game cover.
Edible, and quite good, with a taste of burnt sugar (perhaps 'good' is subjective in this case). Dried berries taste like/have the texture of raisins.
I did taste a berry fresh off the bush and it was reasonably pleasant, which is why I decided not to uproot the plant. Would the flavour be improved by drying the berries?