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

Unresolved reference error #1446

Closed
dmytro-vovk opened this issue Mar 17, 2015 · 1 comment
Closed

Unresolved reference error #1446

dmytro-vovk opened this issue Mar 17, 2015 · 1 comment
Assignees
Milestone

Comments

@dmytro-vovk
Copy link

Given the working code:

package main

import "fmt"

type myStruct struct {
    MyVal bool
}

type myChanType chan myStruct

func chanFn(c myChanType) {
    for v := range c {
        fmt.Printf("Got %v\n", v.MyVal) // v.MyVal is unresolved
    }
}

func main() {
    ch := make(myChanType)
    go chanFn(ch)
    ch <- myStruct{true}
}

Line with comment shows "Unresolved reference 'MyVal'" error.

IDEA IU-141.104.1
Plugin 0.9.176

@dlsniper dlsniper added this to the 1.0.0 milestone Mar 17, 2015
@dlsniper
Copy link
Member

I can confirm it on commit e48e0e5 (and I hope I assign it to the right person :D)

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

No branches or pull requests

4 participants