Skip to content

Commit

Permalink
Supplemental fix for issue 5770
Browse files Browse the repository at this point in the history
  • Loading branch information
9rnsr committed Apr 5, 2015
1 parent 2788afb commit 981bb7b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions std/internal/math/biguintcore.d
Expand Up @@ -98,11 +98,14 @@ private:
{
assert( data.length >= 1 && (data.length == 1 || data[$-1] != 0 ));
}

immutable(BigDigit) [] data = ZERO;

this(immutable(BigDigit) [] x) pure nothrow @nogc @safe
{
data = x;
}
package(std) // used from: std.bigint
this(T)(T x) pure nothrow @safe if (isIntegral!T)
{
opAssign(x);
Expand Down
3 changes: 3 additions & 0 deletions std/uni.d
Expand Up @@ -2400,6 +2400,7 @@ public:

private:

package(std) // used from: std.regex.internal.parser
ref intersect(U)(U rhs)
if(isCodepointSet!U)
{
Expand Down Expand Up @@ -2434,6 +2435,7 @@ private:
}

// same as the above except that skip & drop parts are swapped
package(std) // used from: std.regex.internal.parser
ref sub(U)(U rhs)
if(isCodepointSet!U)
{
Expand All @@ -2447,6 +2449,7 @@ private:
return this;
}

package(std) // used from: std.regex.internal.parse
ref add(U)(U rhs)
if(isCodepointSet!U)
{
Expand Down

0 comments on commit 981bb7b

Please sign in to comment.