fix the named param issue in the autocompletion
This commit is contained in:
1 parent
34488d1bb6
commit
2b091076c1
4 files changed
+16
-5
No files matched your search
@@ -1181,6 +1181,13 @@ class Param(Statement):
|
||||
debug.warning("Multiple param names (%s).", n)
|
||||
return n[0]
|
||||
|
||||
@property
|
||||
def stars(self):
|
||||
exp = self.expression_list()
|
||||
if exp and isinstance(exp[0], Operator):
|
||||
return exp[0].string.count('*')
|
||||
return 0
|
||||
|
||||
|
||||
class StatementElement(Simple):
|
||||
__slots__ = ('parent', 'next', 'execution')
|
||||
|
||||
Reference in new issue
Block a user