criswxart / go-tour

Automatically exported from code.google.com/p/go-tour
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

pic.go: 'too many arguments in call to image.NewNRGBA' #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
installing the go-tour package produces a compiler error in pic.go

What steps will reproduce the problem?

$ goinstall go-tour.googlecode.com/hg/gotour
/bin/bash: === cd /home/krs/go/src/pkg/go-tour.googlecode.com/hg/pic; bash 
gomake -f- install
6g -I "/home/krs/go/pkg/linux_amd64" -I "/home/krs/go/bin/pkg/linux_amd64"  -p 
go-tour.googlecode.com/hg/pic -o _go_.6 pic.go 
pic.go:21: cannot use dx (type int) as type image.Rectangle in function argument
pic.go:21: too many arguments in call to image.NewNRGBA
make: *** [_go_.6] Error 1
--- exit status 2
goinstall: go-tour.googlecode.com/hg/pic: install: running bash: exit status 2

What version of the product are you using? On what operating system?

$ 6g -V
6g version weekly.2011-09-21 9927
$ uname -a
Linux miranda 3.0.0-4.dmz.2-liquorix-amd64 #1 ZEN SMP PREEMPT Tue Sep 6 
01:59:23 CDT 2011 x86_64 GNU/Linux

Original issue reported on code.google.com by karl.sac...@gmail.com on 5 Oct 2011 at 1:03

GoogleCodeExporter commented 8 years ago
The tour only supports the release version of Go. (Currently release.r60.1.)

It's too much work to continually update the tour to track the weeklies/tip.

Original comment by a...@golang.org on 5 Oct 2011 at 1:08