mirror of
https://github.com/tiffany352/rink-rs
synced 2024-11-10 13:44:15 +00:00
Allow unit files to reference already loaded ones
This commit is contained in:
parent
716efc2edf
commit
7c8fa3dc1d
1 changed files with 1 additions and 3 deletions
|
@ -108,9 +108,7 @@ impl Context {
|
|||
match *expr {
|
||||
Expr::Unit(ref name) => {
|
||||
let name = self.intern(name);
|
||||
if self.lookup(&name).is_none() {
|
||||
println!("Lookup failed: {}", name);
|
||||
}
|
||||
let _ = self.lookup(&name);
|
||||
},
|
||||
Expr::Frac(ref left, ref right) |
|
||||
Expr::Pow(ref left, ref right) |
|
||||
|
|
Loading…
Reference in a new issue