HashMap
cannot be used as type declaration or what am I missing?
import HashMap "mo:base/HashMap";
import Text "mo:base/Text";
actor Echo {
let test: ?HashMap<Text, Nat> = null; // => unbound type HashMap
};
HashMap
cannot be used as type declaration or what am I missing?
import HashMap "mo:base/HashMap";
import Text "mo:base/Text";
actor Echo {
let test: ?HashMap<Text, Nat> = null; // => unbound type HashMap
};
I should have wait 2 more minutes before posting
import HashMap "mo:base/HashMap";
import Text "mo:base/Text";
actor Echo {
let test: ?HashMap.HashMap<Text, Nat> = null;
};