What does `Exception: Build system error - indirect recursion detected:` mean?
- gyorgybalazsiOP 1
2020-08-24 17:29:29.94 [ERROR] [LanguageServer] [] Unexpected exception on request, please report! Message: RequestMessage {_jsonrpc = "2.0", _id = IdInt 1083, _method = TextDocumentCodeLens, _params = CodeLensParams {_textDocument = TextDocumentIdentifier {_uri = Uri {getUri = "file:///Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml"}}, _workDoneToken = Nothing}} Exception: Build system error - indirect recursion detected: Key value 1: OfInterest; Key value 2: GetDependencyInformation; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Utilities.daml Key value 3: GetLocatedImports; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Utilities.daml Key value 4: GetParsedModule; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Utilities.daml Key value 5: GhcSession; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Utilities.daml Key value 6: GhcSessionIO; Key value 7: GetParsedModule; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml Key value 8: GhcSession; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml Key value 9: GetDependencyInformation; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml Key value 10: GetLocatedImports; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml Key value 11: GetLocatedImports; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Main.daml Key value 12: GetParsedModule; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Main.daml Key value 13: GhcSession; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Main.daml Key value 14: GetDependencies; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml Key value 15: GetDependencyInformation; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Main.daml Key value 16: GenerateRawDalf; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml Rules may not be recursive [Error - 7:29:29 PM] Request textDocument/codeLens failed. Message: Build system error - indirect recursion detected: Key value 1: OfInterest; Key value 2: GetDependencyInformation; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Utilities.daml Key value 3: GetLocatedImports; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Utilities.daml Key value 4: GetParsedModule; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Utilities.daml Key value 5: GhcSession; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Utilities.daml Key value 6: GhcSessionIO; Key value 7: GetParsedModule; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml Key value 8: GhcSession; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml Key value 9: GetDependencyInformation; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml Key value 10: GetLocatedImports; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml Key value 11: GetLocatedImports; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Main.daml Key value 12: GetParsedModule; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Main.daml Key value 13: GhcSession; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Main.daml Key value 14: GetDependencies; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml Key value 15: GetDependencyInformation; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Main.daml Key value 16: GenerateRawDalf; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml Rules may not be recursive Code: -32603 - cocreature 3
That’s a bug in
daml studio. We’ve seen this a few times but never managed to reproduce it. If you can reproduce it, please let us know!