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

Error without file:line #1278

Closed
xushiwei opened this issue Jun 16, 2022 · 0 comments
Closed

Error without file:line #1278

xushiwei opened this issue Jun 16, 2022 · 0 comments
Assignees
Labels
Milestone

Comments

@xushiwei
Copy link
Member

The following program sample.gop triggers an unexpected result

func foo(in string) {
	var out io.Writer
	out = &in
}

Expected result

report error with file:line:

Got

-: cannot use  (type *string) as type io.Writer in assignment

Gop Version

v1.1.0

Additional Notes

No response

@xushiwei xushiwei added the bug label Jun 16, 2022
@xushiwei xushiwei added this to the Go+ v1.2 milestone Jun 16, 2022
visualfc added a commit to visualfc/gop that referenced this issue Jun 19, 2022
xushiwei added a commit that referenced this issue Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants