Commit 6a0fb608 authored by Robert Griesemer's avatar Robert Griesemer

- added item to TODO list in go_spec

- filed a bug

R=r
OCL=15517
CL=15517
parent 2b70c6ad
......@@ -52,6 +52,8 @@ Open issues according to gri:
[ ] iant suggests to use abstract/precise int for len(), cap() - good idea
(issue: what happens in len() + const - what is the type?)
[ ] Do composite literals create a new literal each time (gri thinks yes)
[ ] should binary <- be at lowest precedence level? when is a send/receive non-blocking?
[ ] consider syntactic notation for composite literals to make them parseable w/o type information
-->
Contents
......
// errchk $G $D/$F.go
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
func f() /* no return type */ {}
func main() {
x := f(); // should not compile
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment