]> git.ipfire.org Git - thirdparty/gcc.git/commit
d: Fix error using UFCS in a speculative context
authorIain Buclaw <ibuclaw@gdcproject.org>
Wed, 2 Apr 2025 19:21:14 +0000 (21:21 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Wed, 2 Apr 2025 20:01:57 +0000 (22:01 +0200)
commita66de265ab865aacbb6c4957916605c7bac7ff48
tree29c8eca6c901c52343648a8ffaf68d24075c11b1
parent716d39f0a248c1003033e6a312c736180790ef70
d: Fix error using UFCS in a speculative context

This reverts a change in the upstream D implementation of the compiler,
as it is no longer necessary since another fix for opDispatch got
applied in the same area (merged in r12-6003-gfd43568cc54e17).

gcc/d/ChangeLog:

* dmd/MERGE: Merge upstream dmd ed17b3e95d.

Reviewed-on: https://github.com/dlang/dmd/pull/21132
gcc/d/dmd/MERGE
gcc/d/dmd/expressionsem.d
gcc/testsuite/gdc.test/compilable/imports/test21098_phobos.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/imports/test21098b.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/test21098.d [new file with mode: 0644]