Update re.rs

This commit is contained in:
Shunsuke Shibayama 2022-10-13 01:34:24 +09:00
parent b879788d2a
commit dcf41877cb

View file

@ -1,7 +1,6 @@
use erg_common::vis::Visibility; use erg_common::vis::Visibility;
use crate::ty::constructors::{array_t, func, kw}; use crate::ty::constructors::{func, kw};
use crate::ty::typaram::TyParam;
use crate::ty::Type; use crate::ty::Type;
use Type::*; use Type::*;
@ -19,7 +18,7 @@ impl Context {
vec![kw("pattern", Str), kw("repl", Str), kw("string", Str)], vec![kw("pattern", Str), kw("repl", Str), kw("string", Str)],
None, None,
vec![kw("count", Nat)], vec![kw("count", Nat)],
array_t(Str, TyParam::erased(Nat)), Str,
), ),
Immutable, Immutable,
Public, Public,