Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Goto Definition does not work with class methods when modules reference each other #225

Closed

Description

Works in a single file, but not cross-files, specifically with circular references. Works if method is not a class method.

module1:

from .module2 import Derived1

class Base(object):
    @classmethod
    def fob_base(cls): 
        pass

class Derived2(Derived1):
    pass

Derived2.fob_base()

module2:

from module1 import *

class Derived1(Base):
    pass

Activity

  1. changed the title [-]Goto Definition does not work with class methods[/-] on Oct 11, 2018
  2. added a commit that references this issue on Nov 1, 2019
    7f5d956
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugfeature: references

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions