Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when process parameters, "self" can't be ModuleType #86

Closed
wants to merge 1 commit into from
Closed

when process parameters, "self" can't be ModuleType #86

wants to merge 1 commit into from

Conversation

nabice
Copy link

@nabice nabice commented Mar 14, 2017

eg:
=====a.py======
import b.c
b.c.gf("eeeeeeeeeee")

=====b\c.py=====
def gf(param):
pass

Here b.c is package name, not class name

eg:
=====a.py======
import b.c
b.c.gf("eeeeeeeeeee")

=====b\c.py=====
def gf(param):
    pass

Here b.c is package name, not class name
@@ -1098,7 +1098,7 @@ public Type apply(@NotNull FunType func,
}
} else {
// usual method
if (selfType != null) {
if (selfType != null && !(selfType instanceof ModuleType)) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not the right place to check though. selfType should not be set at all here for package name. Need to find somewhere earlier than this.

@nabice
Copy link
Author

nabice commented Mar 19, 2017

Please fix it, I am not familiar with it.

@yinwang0 yinwang0 closed this in 0750a7a Mar 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants