diff --git a/scie-grammar/src/grammar/grammar_registry.rs b/scie-grammar/src/grammar/grammar_registry.rs index 89a039a1a5d461a1cafbdeb062b169f9731ebc18..4b179dcfab4a15cca0595a951a2c05b27a5fac58 100644 --- a/scie-grammar/src/grammar/grammar_registry.rs +++ b/scie-grammar/src/grammar/grammar_registry.rs @@ -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, + ) { } } diff --git a/vscode-tests/vendor/main.js b/vscode-tests/vendor/main.js index b335a36adac015b0f5f7c0db7cd56251d75313ff..6a62bc421d57aac778927cf5913820e548aa3f9f 100644 --- a/vscode-tests/vendor/main.js +++ b/vscode-tests/vendor/main.js @@ -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;