@@ -1588,7 +1588,7 @@ private auto packedArrayView(T)(inout(size_t)* ptr, size_t items) @trusted pure
15881588// Partially unrolled binary search using Shar's method
15891589// ============================================================================
15901590
1591- string genUnrolledSwitchSearch (size_t size) @safe pure nothrow
1591+ auto genUnrolledSwitchSearch (size_t size) @safe pure nothrow
15921592{
15931593 import core.bitop : bsr;
15941594 import std.array : replace;
@@ -2760,7 +2760,7 @@ public:
27602760 }
27612761 ---
27622762 */
2763- string toSourceCode (string funcName=" " )
2763+ string toSourceCode ()( string funcName=" " )
27642764 {
27652765 import std.array : array;
27662766 auto range = byInterval.array();
@@ -6135,7 +6135,7 @@ package @trusted auto memoizeExpr(string expr)()
61356135}
61366136
61376137// property for \w character class
6138- package @property @safe CodepointSet wordCharacter()
6138+ package @property @safe auto wordCharacter()
61396139{
61406140 return memoizeExpr! (" unicode.Alphabetic | unicode.Mn | unicode.Mc
61416141 | unicode.Me | unicode.Nd | unicode.Pc" )();
@@ -6212,7 +6212,7 @@ package dchar parseUniHex(Range)(ref Range str, size_t maxDigit)
62126212 .canFind(" invalid codepoint" ));
62136213}
62146214
6215- auto caseEnclose (CodepointSet set)
6215+ auto caseEnclose ()( CodepointSet set)
62166216{
62176217 auto cased = set & unicode.LC ;
62186218 foreach (dchar ch; cased.byCodepoint)
@@ -6226,7 +6226,7 @@ auto caseEnclose(CodepointSet set)
62266226/+
62276227 fetch codepoint set corresponding to a name (InBlock or binary property)
62286228+/
6229- @trusted CodepointSet getUnicodeSet(in char [] name, bool negated, bool casefold)
6229+ @trusted CodepointSet getUnicodeSet()( in char [] name, bool negated, bool casefold)
62306230{
62316231 CodepointSet s = unicode(name);
62326232 // FIXME: caseEnclose for new uni as Set | CaseEnclose(SET && LC)
0 commit comments