Commit graph

2 commits

Author SHA1 Message Date
Nick Treleaven
7d6ac55712
Fix Issue 12118 - Modify immutable data using throw (#14706)
* Fix Issue 12118 - Modify immutable data using throw

* Change immutable test to const

* Deprecate throwing any qualified type

* Allow throw shared as std.concurrency does that

* Use static this instead of static const for test

* Only allow single shared qualifier or none

* Add changelog

* Disallow throwing shared objects too

* Update changelog/dmd.throw-qualifier.dd

Co-authored-by: Razvan Nitu <razvan.nitu1305@gmail.com>

---------

Co-authored-by: Razvan Nitu <razvan.nitu1305@gmail.com>
2023-03-13 17:42:18 +02:00
Iain Buclaw
6374bb87b7 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
Renamed from test/runnable/class_destructors.d (Browse further)