More unification for typechecking:

This commit is contained in:
Nathan Braswell
2018-09-22 20:10:56 -04:00
parent 6c7f313075
commit 9178c2a29d
3 changed files with 33 additions and 8 deletions

View File

@@ -309,5 +309,8 @@ obj str (Object, Serializable, Hashable) {
fun for_each(func: fun(char):void) {
data.for_each(func)
}
fun contains(c: char): bool {
return data.contains(c)
}
};