mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-03 05:54:33 +00:00
Update mod.rs
This commit is contained in:
parent
154b56b2a7
commit
d9460b78c1
1 changed files with 2 additions and 2 deletions
|
@ -327,9 +327,9 @@ impl MethodType {
|
||||||
/// Recursive functions/methods are highlighted with the prefix `rec_`, as performance may be significantly degraded.
|
/// Recursive functions/methods are highlighted with the prefix `rec_`, as performance may be significantly degraded.
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct Context {
|
pub struct Context {
|
||||||
pub(crate) name: Str,
|
pub name: Str,
|
||||||
|
pub kind: ContextKind,
|
||||||
pub(crate) cfg: ErgConfig,
|
pub(crate) cfg: ErgConfig,
|
||||||
pub(crate) kind: ContextKind,
|
|
||||||
// Type bounds & Predicates (if the context kind is Subroutine)
|
// Type bounds & Predicates (if the context kind is Subroutine)
|
||||||
// ユーザー定義APIでのみ使う
|
// ユーザー定義APIでのみ使う
|
||||||
pub(crate) bounds: Vec<TyBound>,
|
pub(crate) bounds: Vec<TyBound>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue