You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ianlancetaylor But where to find a document for all possibilities without knowing the implementation details? How can one classify bugs apart from expected behaviors?
go2go is an experimental tool, and the main purpose of the tool is to see if the generics design draft provides the semantics that people need and want. The syntax is not the point of the tool. Report bugs where the behavior is not what you expect, or where you can't do what you want. Bugs about syntactic details are less interesting, because the syntax is much easier to change than the semantics.
That said, we will soon be updating the dev.go2go branch to default to only permitting the syntax described in the design draft.
What version of Go are you using (
go version
)?What did you do?
According to the commit message of 1964d56:
However, given the following example:
What did you expect to see?
Throw missing constraint error, e.g.
What did you see instead?
Nothing thrown.
The text was updated successfully, but these errors were encountered: