Christian Dietrich
Christian Dietrich
@msujew could you provide an alpha, this would make adoption the easiest
thx. am gonna do some test rounds
it looks much better now. but i very seldomly still see issues. am not sure if other phases might have similar side effects need also to figure out if this...
i indeed can see - all documents are in state 6 (validated) - there are references that cannot be resolved. it happens very very rarely. i dont have deeper insights...
the two effects i see. - doLink skips some references cause they are in state linking error - sometimes elements are not in the index at all. => there seem...
@msujew `get ref() {` this one may turn references into errors, but wont push them to document.references. (also for foreign documents) thus i wonder if then, after a cancellation. the...
another qustion: should changed files always be reparsed/unlinked?
hmmmmmmm have found this one: ``` // Some of these documents can be pretty large, so parsing them again can be quite expensive. // Therefore, we only parse if the...
patched the code and the trap hits ``` // 0. Parse content await this.runCancelable(documents, DocumentState.Parsed, cancelToken, async doc => { await this.langiumDocumentFactory.update(doc, cancelToken) for (const node of AstUtils.streamAst(doc.parseResult.value)) { AstUtils.streamReferences(node).forEach(refInfo...