refactor with
This commit is contained in:
+3
-6
@@ -93,7 +93,6 @@ pub enum MaybeThunk {
|
||||
Builtins,
|
||||
ReplBinding(StringId),
|
||||
ScopedImportBinding(StringId),
|
||||
WithLookup(StringId),
|
||||
}
|
||||
|
||||
pub trait Ref<'ir> {
|
||||
@@ -182,12 +181,10 @@ pub enum Ir<'ir, R: RefExt<'ir> + ?Sized + 'ir> {
|
||||
span: TextRange,
|
||||
},
|
||||
|
||||
With {
|
||||
namespace: R::MaybeThunkRef,
|
||||
body: R::IrRef,
|
||||
thunks: Vec<'ir, (ThunkId, R::IrRef)>,
|
||||
WithLookup {
|
||||
sym: StringId,
|
||||
namespaces: Vec<'ir, R::MaybeThunkRef>,
|
||||
},
|
||||
WithLookup(StringId),
|
||||
|
||||
// Function related
|
||||
Func {
|
||||
|
||||
Reference in New Issue
Block a user