Skip to content

Commit

Permalink
chrom : move CachedScope from cache.rs to scope.rs (kcl-lang#888)
Browse files Browse the repository at this point in the history
Signed-off-by: never <[email protected]>
  • Loading branch information
NeverRaR authored Nov 16, 2023
1 parent e7164d8 commit e61efe8
Show file tree
Hide file tree
Showing 4 changed files with 201 additions and 213 deletions.
209 changes: 0 additions & 209 deletions kclvm/sema/src/resolver/cache.rs

This file was deleted.

4 changes: 1 addition & 3 deletions kclvm/sema/src/resolver/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
mod arg;
mod attr;
pub mod cache;
mod calculation;
mod config;
pub mod doc;
Expand Down Expand Up @@ -36,8 +35,7 @@ use kclvm_ast::ast::AstIndex;
use kclvm_ast::ast::Program;
use kclvm_error::*;

use self::cache::CachedScope;
use self::scope::{builtin_scope, ProgramScope};
use self::scope::{builtin_scope, CachedScope, ProgramScope};

/// Resolver is responsible for program semantic checking, mainly
/// including type checking and contract model checking.
Expand Down
Loading

0 comments on commit e61efe8

Please sign in to comment.