diff --git a/Cargo.lock b/Cargo.lock
index 9599d91..6f79618 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -367,6 +367,7 @@ dependencies = [
"colored",
"dust-lang",
"env_logger",
+ "log",
"nu-ansi-term",
"reedline",
]
diff --git a/dust-lang/src/context.rs b/dust-lang/src/context.rs
index 256d070..4913f6f 100644
--- a/dust-lang/src/context.rs
+++ b/dust-lang/src/context.rs
@@ -36,7 +36,7 @@ impl Context {
for (identifier, (value_data, usage_data)) in other.variables.read()?.iter() {
if let ValueData::Type(Type::Function { .. }) = value_data {
- log::trace!("Inheriting type of variable {identifier}.");
+ log::trace!("Context inheriting type of {identifier}.");
self_data.insert(identifier.clone(), (value_data.clone(), usage_data.clone()));
}
@@ -49,7 +49,7 @@ impl Context {
let mut self_data = self.variables.write()?;
for (identifier, (value_data, usage_data)) in other.variables.read()?.iter() {
- log::trace!("Inheriting variable {identifier}.");
+ log::trace!("Context inheriting variable {identifier}.");
self_data.insert(identifier.clone(), (value_data.clone(), usage_data.clone()));
}
@@ -65,7 +65,7 @@ impl Context {
pub fn get_type(&self, identifier: &Identifier) -> Result