Skip to content

Commit ec8880f

Browse files
committed
Removed unused fields
1 parent 7994e57 commit ec8880f

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/linter/converter/mod.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,6 @@ type R<T> = Result<(T, Implicits), QErrorNode>;
5353
/// equivalent program.
5454
struct ConverterImpl<'a> {
5555
pub resolver: Rc<RefCell<TypeResolverImpl>>,
56-
// TODO pass a trait that exposes only the functionality really needed here
57-
pub functions: &'a FunctionMap,
58-
// TODO pass a trait that exposes only the functionality really needed here
59-
pub subs: &'a SubMap,
60-
// TODO pass a trait that exposes only the functionality really needed here
61-
pub user_defined_types: &'a UserDefinedTypes,
6256
pub context: Context<'a>,
6357
}
6458

@@ -70,10 +64,7 @@ impl<'a> ConverterImpl<'a> {
7064
) -> Self {
7165
let resolver = Rc::new(RefCell::new(TypeResolverImpl::new()));
7266
Self {
73-
user_defined_types,
7467
resolver: Rc::clone(&resolver),
75-
functions,
76-
subs,
7768
context: Context::new(functions, subs, user_defined_types, Rc::clone(&resolver)),
7869
}
7970
}

0 commit comments

Comments
 (0)