Compiler implementation of the D programming language.
Do an implicit cast. Issue error if it can't be done.
Return MATCH level of implicitly converting e to type t. Don't do the actual cast; don't change e.
Do an explicit cast. Assume that the 'this' expression does not have any indirections.
Set type inference target t Target type flag 1: don't put an error when inference fails
Scale addition/subtraction to/from pointer.
Bring leaves to common type.
Do integral promotions (convertchk). Don't convert
Do char promotions. char -> dchar wchar -> dchar dchar -> dchar
This provides a transition from the non-promoting behavior of unary + - ~ to the C-like integral promotion behavior.
|UnaExp ||NegExp, UAddExp, or ComExp which is revised per rules|
See if both types are arrays that can be compared for equality. Return true if so. If they are arrays, but incompatible, issue error. This is to enable comparing things like an immutable array with a mutable one.
See if both types are arrays that can be compared for equality without any casting. Return true if so. This is to enable comparing things like an immutable array with a mutable one.
© 1999–2019 The D Language Foundation
Licensed under the Boost License 1.0.