diff --git a/src/object.rs b/src/object.rs index 7aa7bec..296d425 100644 --- a/src/object.rs +++ b/src/object.rs @@ -60,7 +60,7 @@ impl QuoteTable { } pub fn get(&self, quote: Quote) -> &(Span, Scope, Vec, Rc>) { - &self.table[quote.0] + &self.table[quote.index()] } }