Commit graph

2358 commits

Author SHA1 Message Date
Walter Bright
a0f6f845ec fix Issue 23143 - ImportC: forward enum declarations need to be supported 2022-07-12 00:06:15 +00:00
The Dlang Bot
b156f0a9fc
Merge pull request #14255 from Geod24/useful-attributes-error
Print the inference error trace for regular inference errors

Signed-off-by: Dennis <dkorpel@users.noreply.github.com>
Signed-off-by: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2022-07-11 19:23:17 +00:00
Geod24
a2d2c4b31e Do not generate detailed candidates / constraint error msg in speculative contexts
Unless the error is actually going to be printed.
2022-07-11 19:20:12 +00:00
Geod24
b7e88c79ac druntime: Fix broken links following merge 2022-07-11 19:43:55 +02:00
Geod24
dde47f1356 Trivial: Use early return in checkAddressVar
When the whole function is enclosed in an if statement,
one can be sure an early return is to be used instead.
2022-07-11 14:38:47 +02:00
Geod24
107793c4da errorSupplementalInferredSafety: Use proper cast mechanism
The code seems to assume dynamic casts, a la D, will work,
but those are C++ classes and this cast will always be true.
2022-07-11 14:38:47 +02:00
Iain Buclaw
09d04945bd Fix build script paths to work with new merged repository structure
Co-Authored-By: Geod24 <pro.mathias.lang@gmail.com>
Co-Authored-By: Martin Kinkelin <noone@nowhere.com>
Co-Authored-By: Vladimir Panteleev <git@cy.md>
2022-07-09 23:49:27 +02:00
Iain Buclaw
6374bb87b7 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00