Update register.rs

This commit is contained in:
Shunsuke Shibayama 2023-02-07 21:59:24 +09:00
parent 8673a0ce56
commit 95672909f1

View file

@ -329,6 +329,9 @@ impl Context {
None,
self.absolutize(name.loc()),
);
if let Some(shared) = self.shared() {
shared.index.register(&vi);
}
self.params.push((Some(name.clone()), vi));
Ok(())
}