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
@MikhailArkhipov

Description

@MikhailArkhipov

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions