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.

Store class member type per instantiation #1642

@wziww

Description

@wziww

Environment data

WX20191008-183219

  • Language Server version: Microsoft Python Language Server version 0.4.38.0
  • OS: Darwin x64 18.0.0
  • VSCode Version: 1.38.1
  • Python version (& distribution if applicable, e.g. Anaconda): python 2.7.16 64-bit

Expected behaviour

p can go to function p inside t2

Actual behaviour

Cant go to definition

Code Snippet / Additional lnformation

class t1(object):
    def __init__(self, obj):
        self.obj = obj
        return


class t2(object):
    def p(self):
        print "haha"

a = t1(t2())
a.obj.p()

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions