Skip to content

Error in CodeListener/0.1.7.0/AutoComplete/Rhino/init.py #5

Description

@yck011522

I had the problem where code completion is not working for Rhino.RhinoDoc. Upon investigation I noticed there is two flagged error in the init.py. Two function signatures have a line like this:

def TryGetEnumValue(self,*__args):
# Error generating skeleton for function TryGetEnumValue: Method must be called on a Type for which Type.IsGenericParameter is false.

def GetEnumValue(self,*__args):
# Error generating skeleton for function GetEnumValue: Method must be called on a Type for which Type.IsGenericParameter is false.

I use Pylance and it is flagging these two lines as error because there is nothing in the def signature after this error message. I added a pass to them and it seems to work fine. I suspect this fix is related to the problem in #4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions