Commit 138a3fd5 authored by Martin Kinkelin's avatar Martin Kinkelin

Upgrade to v2.085.1

parent eaa65fca
......@@ -106,7 +106,7 @@ set(LDC_VERSION "1.15.0") # May be overridden by git hash tag
set(DMDFE_MAJOR_VERSION 2)
set(DMDFE_MINOR_VERSION 0)
set(DMDFE_PATCH_VERSION 85)
set(DMDFE_FIX_LEVEL 0) # Comment out if not used
set(DMDFE_FIX_LEVEL 1) # Comment out if not used
set(DMD_VERSION ${DMDFE_MAJOR_VERSION}.${DMDFE_MINOR_VERSION}${DMDFE_PATCH_VERSION})
if(DEFINED DMDFE_FIX_LEVEL)
......
......@@ -3583,6 +3583,8 @@ private extern (C++) final class ExpressionSemanticVisitor : Visitor
Expression arg = (*exp.arguments)[i];
arg = resolveProperties(sc, arg);
arg = arg.implicitCastTo(sc, Type.tsize_t);
if (arg.op == TOK.error)
return setError();
arg = arg.optimize(WANTvalue);
if (arg.op == TOK.int64 && cast(sinteger_t)arg.toInteger() < 0)
{
......
Subproject commit 4bd6937f5b573e9ce0893a324c2bb98347ba6457
Subproject commit 8a85f374a9d2c00984025910fb2271cdb683939f
Subproject commit d50920cb2c59ae27fac0c77fa9f91e2414bddd80
Subproject commit 981412bd500ea9d7735fe9b73d38c7e2770247f8
Subproject commit 3a2f3d3b87d78b5cdf2b4521387e394e30aabc85
Subproject commit afbdba667fc8593e7915ec947b850fe0ef5a97fc
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment