You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** ilidoc Association
*/
ASSOCIATION Assoc1 =
AssocA -- {0..*} ClassA;
AssocB -<> {1} ClassB;
END Assoc1;
When using the new functionality Generate markdown documentation INTERLIS2 Language Server crashes and no output is generated. The following error is shown in the log:
[Error - 2:19:26 PM] Parser: Compile error at line 15:8 no viable alternative at input '/** ilidoc Association\r\n */\r\n ASSOCIATION'. - Antlr4.Runtime.NoViableAltException: Exception of type 'Antlr4.Runtime.NoViableAltException' was thrown.
at Antlr4.Runtime.Atn.ParserATNSimulator.ExecATN(DFA dfa, DFAState s0, ITokenStream input, Int32 startIndex, ParserRuleContext outerContext)
at Antlr4.Runtime.Atn.ParserATNSimulator.AdaptivePredict(ITokenStream input, Int32 decision, ParserRuleContext outerContext)
at Geowerkstatt.Interlis.Tools.Interlis24Parser.topicContents() | Line='15' CharPosition='8' Message='no viable alternative at input '/** ilidoc Association\r\n */\r\n ASSOCIATION''
...
Expected behaviour
At the time of writing ilidoc is not supported when generating markdown documentation. So output should be generated ignoring ilidoc, as it is simply a block comment with an additional *.
Tests show that ilidoc blocks for other model elements are ignored correctly.
Problem
Given the following model snippet:
When using the new functionality Generate markdown documentation INTERLIS2 Language Server crashes and no output is generated. The following error is shown in the log:
Expected behaviour
At the time of writing ilidoc is not supported when generating markdown documentation. So output should be generated ignoring ilidoc, as it is simply a block comment with an additional
*
.Tests show that ilidoc blocks for other model elements are ignored correctly.
Version affected: 0.2.1
test-model and complete log
The text was updated successfully, but these errors were encountered: