@@ -1588,7 +1588,7 @@ private auto packedArrayView(T)(inout(size_t)* ptr, size_t items) @trusted pure
1588
1588
// Partially unrolled binary search using Shar's method
1589
1589
// ============================================================================
1590
1590
1591
- string genUnrolledSwitchSearch (size_t size) @safe pure nothrow
1591
+ auto genUnrolledSwitchSearch (size_t size) @safe pure nothrow
1592
1592
{
1593
1593
import core.bitop : bsr;
1594
1594
import std.array : replace;
@@ -2760,7 +2760,7 @@ public:
2760
2760
}
2761
2761
---
2762
2762
*/
2763
- string toSourceCode (string funcName=" " )
2763
+ string toSourceCode ()( string funcName=" " )
2764
2764
{
2765
2765
import std.array : array;
2766
2766
auto range = byInterval.array();
@@ -6135,7 +6135,7 @@ package @trusted auto memoizeExpr(string expr)()
6135
6135
}
6136
6136
6137
6137
// property for \w character class
6138
- package @property @safe CodepointSet wordCharacter()
6138
+ package @property @safe auto wordCharacter()
6139
6139
{
6140
6140
return memoizeExpr! (" unicode.Alphabetic | unicode.Mn | unicode.Mc
6141
6141
| unicode.Me | unicode.Nd | unicode.Pc" )();
@@ -6212,7 +6212,7 @@ package dchar parseUniHex(Range)(ref Range str, size_t maxDigit)
6212
6212
.canFind(" invalid codepoint" ));
6213
6213
}
6214
6214
6215
- auto caseEnclose (CodepointSet set)
6215
+ auto caseEnclose ()( CodepointSet set)
6216
6216
{
6217
6217
auto cased = set & unicode.LC ;
6218
6218
foreach (dchar ch; cased.byCodepoint)
@@ -6226,7 +6226,7 @@ auto caseEnclose(CodepointSet set)
6226
6226
/+
6227
6227
fetch codepoint set corresponding to a name (InBlock or binary property)
6228
6228
+/
6229
- @trusted CodepointSet getUnicodeSet(in char [] name, bool negated, bool casefold)
6229
+ @trusted CodepointSet getUnicodeSet()( in char [] name, bool negated, bool casefold)
6230
6230
{
6231
6231
CodepointSet s = unicode(name);
6232
6232
// FIXME: caseEnclose for new uni as Set | CaseEnclose(SET && LC)
0 commit comments