bug: find lost parts

上级 cf1da304
......@@ -29,5 +29,14 @@ impl GrammarRegistry {
_initial_language: i32,
_configuration: IGrammarConfiguration,
) {
}
// todo: modify logic to here for _collectDependenciesForDep
pub fn load_grammar(
&self,
_initial_scope_name: String,
_initial_language: i32,
_configuration: IGrammarConfiguration,
) {
}
}
......@@ -3653,7 +3653,8 @@ var RuleFactory = /** @class */ (function () {
}
else if (pattern.include === '$base' || pattern.include === '$self') {
// Special include also found in `repository`
patternId = RuleFactory.getCompiledRuleId(repository[pattern.include], helper, repository);
let repositoryElement = repository[pattern.include];
patternId = RuleFactory.getCompiledRuleId(repositoryElement, helper, repository);
}
else {
var externalGrammarName = null;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册