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

fatal error: dowidth: unknown type: blank #238

Closed
gopherbot opened this issue Nov 16, 2009 · 4 comments
Closed

fatal error: dowidth: unknown type: blank #238

gopherbot opened this issue Nov 16, 2009 · 4 comments

Comments

@gopherbot
Copy link

by emage@spamcop.net:

What steps will reproduce the problem?
1. Put the following code in test.go:

  package main

  func main() {
        bar := make(chan bool);
        select {
        case _ = <-bar:
                return
        }
  }

2. Run 8g test.go

What is the expected output?

Some error related to the line with the case clause, which probably ought
to be just "<-bar" instead of "_ = <-bar".

What do you see instead?

  <epoch>: fatal error: dowidth: unknown type: blank

What is your $GOOS?  $GOARCH?

GOOS=linux GOARCH=386

Which revision are you sync'ed to?  (hg log -l 1)

4076:9a2607678b31
@rsc
Copy link
Contributor

rsc commented Nov 17, 2009

Comment 1:

Owner changed to r...@golang.org.

Status changed to Accepted.

@griesemer
Copy link
Contributor

Comment 2:

Corresponding test case: test/bugs/bug218.go .

@rsc
Copy link
Contributor

rsc commented Dec 2, 2009

Comment 3:

Labels changed: added compilerbug.

@rsc
Copy link
Contributor

rsc commented Dec 3, 2009

Comment 4:

This issue was closed by revision c6e316a.

Status changed to Fixed.

Merged into issue #-.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants