d: Fix regression caused by recent refactoring

gcc/d/ChangeLog:

	PR d/95573
	* dmd/MERGE: Merge upstream dmd 5041e56f1.
This commit is contained in:
Iain Buclaw 2020-06-08 22:11:00 +02:00
parent 49a09af117
commit 5fceefeee9
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
955b8b36f8bbacc59745b44cdf48ef1ddeb01bcd
5041e56f12806f13a8fa5e98a6c98279636a8d2a
The first line of this file holds the git revision number of the last
merge done from the dlang/dmd repository.

View File

@ -9384,7 +9384,7 @@ Type *Parameter::isLazyArray()
TypeDelegate *td = (TypeDelegate *)tel;
TypeFunction *tf = td->next->toTypeFunction();
if (!tf->parameterList.varargs == VARARGnone && tf->parameterList.length() == 0)
if (tf->parameterList.varargs == VARARGnone && tf->parameterList.length() == 0)
{
return tf->next; // return type of delegate
}