https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96250
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Iain Buclaw <ibuc...@gcc.gnu.org>: https://gcc.gnu.org/g:bf465206b7012a9049821c68236093969d7767da commit r10-8650-gbf465206b7012a9049821c68236093969d7767da Author: Iain Buclaw <ibuc...@gdcproject.org> Date: Fri Aug 21 01:52:28 2020 +0200 d: Adjust backport of PR96250 for front-end implementation. gcc/d/ChangeLog: 2020-08-21 Iain Buclaw <ibuc...@gdcproject.org> PR d/96250 * dmd/expressionsem.c (ExpressionSemanticVisitor::visit(TypeExp)): Fix cast from Expression to VarExp.