From d9fda61fe1e5a9c576594756016f880a9d52e5c8 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Thu, 27 May 2021 08:14:12 +0200 Subject: Pass tests with GDC 10.3 --- source/tanya/container/array.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source') diff --git a/source/tanya/container/array.d b/source/tanya/container/array.d index 6031c21..c6d06ad 100644 --- a/source/tanya/container/array.d +++ b/source/tanya/container/array.d @@ -1123,7 +1123,8 @@ struct Array(T) } /// ditto - bool opEquals(Range that) + bool opEquals(R)(R that) + if (is(R == Range)) { return equal(opIndex(), that); } -- cgit v1.2.3