You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that we are creating potentialNationalNumber from normalizedNationalNumber.Byte(), which is a pointer. So any change in potentialNationalNumber will also change the value of normalizedNationalNumber.
I will submit a PR to address this issue.
The text was updated successfully, but these errors were encountered:
The national number of phone number
+33 07856952
should be07856952
. But the code is returning78569522
as the result. This is caused by a bug in lineThe problem is that we are creating
potentialNationalNumber
fromnormalizedNationalNumber.Byte()
, which is a pointer. So any change inpotentialNationalNumber
will also change the value ofnormalizedNationalNumber
.I will submit a PR to address this issue.
The text was updated successfully, but these errors were encountered: