From df400d9dff930a804998ba5ea8536ea312b8ca76 Mon Sep 17 00:00:00 2001 From: RazvanN7 Date: Mon, 3 Apr 2017 12:55:49 +0300 Subject: [PATCH] Fix Issue 17283 - std.experimental.typecons uses private module members --- std/typecons.d | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/std/typecons.d b/std/typecons.d index a0c05ef8949..d43da0331b7 100644 --- a/std/typecons.d +++ b/std/typecons.d @@ -4813,7 +4813,7 @@ if (!isMutable!Target) } // Make a tuple of non-static function symbols -private template GetOverloadedMethods(T) +package template GetOverloadedMethods(T) { import std.meta : Filter; @@ -4955,7 +4955,7 @@ version(unittest) static assert(findCovariantFunction!(UnittestFuncInfo!nomatch, B, methodsB) == ptrdiff_t.max); } -private template DerivedFunctionType(T...) +package template DerivedFunctionType(T...) { static if (!T.length) { @@ -5080,7 +5080,7 @@ package template staticIota(int beg, int end) } } -private template mixinAll(mixins...) +package template mixinAll(mixins...) { static if (mixins.length == 1) { @@ -5101,7 +5101,7 @@ private template mixinAll(mixins...) } } -private template Bind(alias Template, args1...) +package template Bind(alias Template, args1...) { alias Bind(args2...) = Template!(args1, args2); }