Skip to content

Commit

Permalink
fix(PythonModifier): delete it
Browse files Browse the repository at this point in the history
incompatible with IntelliJ IDEA Ultimate IU-241.13688.18 due to the following problems
Class not found (1 problem)
Access to unresolved class PyFunction.Modifier (1 problem)
Method PythonModifier.symbol(PyFunction) references an unresolved class PyFunction.Modifier. This can lead to NoSuchClassError exception at runtime.
Method not found (1 problem)
Invocation of unresolved method PyFunction.getModifier() (1 problem)
Method PythonModifier.symbol(PyFunction) contains an invokeinterface instruction referencing an unresolved method PyFunction.getModifier(). This can lead to NoSuchMethodError exception at runtime.
  • Loading branch information
LinWanCen committed Mar 3, 2024
1 parent dc4a443 commit 77a10a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ class PythonParser : ParserLang<PyFunction>() {
}

override fun funMap(funMap: MutableMap<String, String>, func: PyFunction) {
val v = PythonModifier.symbol(func)
funMap["name"] = "$v ${func.name}"
funMap["name"] = "${func.name}"
PythonComment.addDocParam(func.structuredDocString, funMap)
}

Expand Down

0 comments on commit 77a10a3

Please sign in to comment.