Commit graph

8 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
RazvanN7
37406ce453 Fix Issue 23783 - -preview=nosharedaccess does not detect comparison of shared data 2023-03-22 00:05:02 +01:00
Iain Buclaw
a2157f073c Merge remote-tracking branch 'upstream/stable' into merge_stable 2023-03-01 18:01:11 +00:00
RazvanN7
c129fd01ad Fix Issue 23732 - Cannot create shared instance of class with -preview=nosharedaccess 2023-02-26 11:21:03 +01:00
Razvan Nitu
67c137a177
Fix Issue 23639 - Casting to shared not allowed with -preview=nosharedaccess (#14836) 2023-01-20 14:59:08 +02:00
Dennis Korpel
4a18b03244 Issue 23226 - allow access to non-shared this 2022-08-14 14:42:53 +00:00
Iain Buclaw
6374bb87b7 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
Renamed from test/fail_compilation/shared.d (Browse further)