Commit graph

3 commits

Author SHA1 Message Date
Dennis
9b94878c85
Make safe error messages consistent (#20654)
Co-authored-by: Dennis Korpel <dennis@sarc.nl>
2025-01-08 13:46:38 +08:00
Nick Treleaven
bed5228567 Add supplemental messages to explain unsafe casts
Change msg parameter to use `ref`.
Add test for existing extern(C++) interface cast error.
Add test for class qualifier cast in @safe code.
Add test for casting with opaque array element type.
2024-06-14 02:57:58 +02:00
Iain Buclaw
6374bb87b7 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
Renamed from test/fail_compilation/test15672.d (Browse further)