Melt dark chocolate and butter together in a double boiler.
Add sugar and mix well.
Add eggs one at a time, mixing thoroughly after each addition.
Sift in flour and salt, then mix until well combined.
Add nuts and pour the batter into the baking pan.
Bake in a preheated oven at 180°C (356°F) for 25 minutes.