mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 20:34:44 +00:00
Update re.rs
This commit is contained in:
parent
b879788d2a
commit
dcf41877cb
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
|||
use erg_common::vis::Visibility;
|
||||
|
||||
use crate::ty::constructors::{array_t, func, kw};
|
||||
use crate::ty::typaram::TyParam;
|
||||
use crate::ty::constructors::{func, kw};
|
||||
use crate::ty::Type;
|
||||
use Type::*;
|
||||
|
||||
|
@ -19,7 +18,7 @@ impl Context {
|
|||
vec![kw("pattern", Str), kw("repl", Str), kw("string", Str)],
|
||||
None,
|
||||
vec![kw("count", Nat)],
|
||||
array_t(Str, TyParam::erased(Nat)),
|
||||
Str,
|
||||
),
|
||||
Immutable,
|
||||
Public,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue