Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
6a0fb608
Commit
6a0fb608
authored
Sep 18, 2008
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added item to TODO list in go_spec
- filed a bug R=r OCL=15517 CL=15517
parent
2b70c6ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
doc/go_spec.txt
doc/go_spec.txt
+2
-0
test/bugs/bug103.go
test/bugs/bug103.go
+14
-0
No files found.
doc/go_spec.txt
View file @
6a0fb608
...
...
@@ -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
...
...
test/bugs/bug103.go
0 → 100644
View file @
6a0fb608
// 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
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment