Skip to content

'invalid recursive type' error (may be 582 again?) #667

@gopherbot

Description

@gopherbot

by ajb44.geo:

What steps will reproduce the problem?
1. cat <<END >min.go
// Created by cgo - DO NOT EDIT
package gtk


type _Cstruct__GList struct {
    next    *_C_GList
    prev    *_C_GList
}
END
2. 6g min.go


What is the expected output? What do you see instead?
Expect nothing, see:
min.go:8: invalid recursive type _C_GList

What is your $GOOS?  $GOARCH?
GOOS=linux
GOARCH=amd64

Which revision are you using?  (hg identify)
be3bb466cbd1+ tip


Please provide any additional information below.

This bug found by attempting to do 'make example' 
in go-gtk version e9a198116f1fe92a9b27e09059cc566f5c4d453a

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions