Summary: Struct member destructor can not be called from shared
--- Comment #0 from Benjamin Thaut <c...@benjamin-thaut.de> 2012-06-25 07:13:33
Created an attachment (id=1119)
If a struct a has another struct b as a member which has a destructor and the
struct a is created as shared, the destructor of b can not be called.
The error message dmd generates is:
Error: destructor main.bar.~this () is not callable using argument types ()
Tested with dmd 2.059
This prevents one from using shared properly together with structs.
See attached repro case
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------