Skip to content

Commit 8992608

Browse files
committed
Remove unused function that can’t be compiled for Java
dafny-lang/dafny#3951
1 parent 79551df commit 8992608

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/JSON/Utils/Str.dfy

-6
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,6 @@ module {:options "-functionSyntax:4"} JSON.Utils.Str {
8787
else [minus] + OfNat_any(-n, chars)
8888
}
8989

90-
function DigitsTable(digits: seq<Char>): map<Char, nat>
91-
requires forall i, j | 0 <= i < j < |digits| :: digits[i] != digits[j]
92-
{
93-
map i: nat | 0 <= i < |digits| :: digits[i] := i
94-
}
95-
9690
function ToNat_any(str: String, base: nat, digits: map<Char, nat>) : (n: nat)
9791
requires base > 0
9892
requires forall c | c in str :: c in digits

0 commit comments

Comments
 (0)