Skip to content

Commit

Permalink
fix: Externs
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham Chaturvedi committed Nov 13, 2024
1 parent bdb6509 commit 0bc1f96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@
import java.util.concurrent.*;

public class MutableMap<K, V>
extends DafnyLibraries._ExternBase_MutableMap<K, V> {
implements DafnyLibraries.MutableMapTrait<K, V> {

private ConcurrentHashMap<K, V> m;

public MutableMap(
dafny.TypeDescriptor<K> _td_K,
dafny.TypeDescriptor<V> _td_V
) {
super(_td_K, _td_V);
m = new ConcurrentHashMap<K, V>();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def Unlock(self):
self.lock.release()


class MutableMap(smithy_dafny_standard_library.internaldafny.generated.DafnyLibraries.MutableMap):
class MutableMap(smithy_dafny_standard_library.internaldafny.generated.DafnyLibraries.MutableMapTrait):
def ctor__(self):
pass

Expand Down

0 comments on commit 0bc1f96

Please sign in to comment.