Skip to content

Commit

Permalink
remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
lothran committed Mar 30, 2023
1 parent b5087a6 commit 832f567
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion uvls/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "uvls"
version = "0.1.2"
version = "0.1.3"
edition = "2021"


Expand Down
4 changes: 0 additions & 4 deletions uvls/src/module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ impl ConfigModule {
entries.push(entry);
}
}
info!("{path:?} {i:?}");
file.visit_named_children(Symbol::Root, false, |sym, prefix| match sym {
Symbol::Feature(_) | Symbol::Attribute(_) => {
if let Some(config) = self.values.get(&i.sym(sym)) {
Expand All @@ -120,7 +119,6 @@ impl ConfigModule {
)
}
pub fn serialize(&self) -> Vec<ConfigEntry> {
info!("{:?}", self.values);
let ConfigEntry::Import(_,v) = self.serialize_rec(&[],InstanceID(0)) else {unreachable!()};
v
}
Expand All @@ -143,7 +141,6 @@ pub struct Module {
}
impl Module {
pub fn get_instance(&self, instance: InstanceID, sym: Symbol) -> InstanceID {
info!("{instance:?} {sym:?}");
InstanceID(self.instances.get_index_of(&(instance, sym)).unwrap())
}
pub fn new(
Expand Down Expand Up @@ -237,7 +234,6 @@ impl Module {
let mut out = HashMap::new();
let mut out_span = HashMap::new();
let mut stack = vec![(InstanceID(0), doc.as_slice())];
info!("resolve {doc:#?}");
while let Some((instance, config)) = stack.pop() {
let file = self.file(instance);
for c in config.iter() {
Expand Down

0 comments on commit 832f567

Please sign in to comment.