http://d.puremagic.com/issues/show_bug.cgi?id=4197
Summary: __error iso assert failure in struct function in/out statement Product: D Version: unspecified Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: st...@despam.it --- Comment #0 from st...@despam.it 2010-05-16 04:20:19 PDT --- module main; const S S1 = S(); struct S { static S func( S s_ ) in{ assert(false,random); } out(result){ assert(false,random); } body{ return s_; } const S S2 = func(S()); } void main(){} -- main.d(8): Error: __error <---# should be assert failure # main.d(12): Error: cannot evaluate func((S())) at compile time -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------