Fix captures (#4421)

* Fix rowcondition and import captures

* Only check extra blocks if not yet seen
This commit is contained in:
JT
2022-02-11 07:37:10 -05:00
committed by GitHub
parent e16d6ae00c
commit 886ed5ab2d
3 changed files with 30 additions and 3 deletions

View File

@ -607,7 +607,7 @@ pub struct StateDelta {
pub(crate) file_contents: Vec<(Vec<u8>, usize, usize)>,
vars: Vec<Type>, // indexed by VarId
decls: Vec<Box<dyn Command>>, // indexed by DeclId
blocks: Vec<Block>, // indexed by BlockId
pub blocks: Vec<Block>, // indexed by BlockId
overlays: Vec<Overlay>, // indexed by OverlayId
pub scope: Vec<ScopeFrame>,
#[cfg(feature = "plugin")]