July 14, 2011 [Issue 6311] New: Some array ops aren't nothrow | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6311 Summary: Some array ops aren't nothrow Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: druntime AssignedTo: nobody@puremagic.com ReportedBy: bearophile_hugs@eml.cc --- Comment #0 from bearophile_hugs@eml.cc 2011-07-14 02:32:51 PDT --- void foo(int[] a) nothrow { a[] = a[]; // OK a[] = a[] + a[]; a[] += a[]; } void main() {} DMD 2.054 gives: test.d(3): Error: _arraySliceSliceAddSliceAssign_i is not nothrow test.d(4): Error: _arraySliceSliceAddass_i is not nothrow test.d(1): Error: function test.foo 'foo' is nothrow yet may throw -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 07, 2013 [Issue 6311] Some array ops aren't nothrow | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=6311 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2013-06-06 19:10:05 PDT --- *** This issue has been marked as a duplicate of issue 8651 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation