fix(ScalaLangDoc): ScDocTag.getCommentDataText() -> getAllText()
incompatible with IntelliJ IDEA Ultimate IU-241.14024.14 due to the following problem Method not found (1 problem) Invocation of unresolved method ScDocTag.getCommentDataText() (1 problem) Method ScalaLangDoc.appendTag(...) contains an invokeinterface instruction referencing an unresolved method ScDocTag.getCommentDataText(). This can lead to NoSuchMethodError exception at runtime.
This commit is contained in:
@@ -71,7 +71,7 @@ public class ScalaLangDoc extends JavaLangDoc {
|
||||
for (@NotNull PsiDocTag tag : tags) {
|
||||
if (tag instanceof ScDocTag) {
|
||||
@NotNull ScDocTag scDocTag = (ScDocTag) tag;
|
||||
String doc = scDocTag.getCommentDataText();
|
||||
String doc = scDocTag.getAllText();
|
||||
DocFilter.addHtml(tagStrBuilder, doc);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user