So, if you decide to grow the plant, eat only the fruit. I found no information about poisons, but caution is wise. I was busy last fall and did not get around to spreading and turning in the manure and compost. The reason we recommend applying manure to the garden in the fall is to allow the winter precipitation, which was plentiful this winter in much of New Mexico, to leach the salts from the manure deep into the soil so that our vegetables and flowers are not injured. Our soils are naturally salty, our water contains minerals, and the manure contains considerable quantities of salts.
Excess salt is harmful to plants.
Leaching to remove the salts reduces the chance of injury. However, properly matured compost will have been properly leached in the frequent turning and application of water necessary for composting here in New Mexico. Even if compost were a major constituent, the composting process should have caused much of the harmful salts to be leached away. Compost often has considerable plant debris in addition to the manure, or no manure at all. In such a compost, there would definitely be no problem.