Skip to content

Commit ecc3e57

Browse files
committed
stash
1 parent e340a58 commit ecc3e57

2 files changed

Lines changed: 95 additions & 207 deletions

File tree

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
use emmylua_parser::LuaSyntaxNode;
22

3-
use crate::{LuaType, TypeSubstitutor};
3+
use crate::{DbIndex, LuaInferCache, TypeSubstitutor};
44

55
#[derive(Debug)]
66
pub struct TplContext<'a> {
7-
pub tpl_param_types: &'a [LuaType],
8-
pub call_arg_types: &'a [LuaType],
7+
pub db: &'a DbIndex,
8+
pub cache: &'a mut LuaInferCache,
99
pub substitutor: &'a mut TypeSubstitutor,
10-
pub root: LuaSyntaxNode
10+
pub root: LuaSyntaxNode,
1111
}
12-

0 commit comments

Comments
 (0)