1
0
mirror of https://github.com/golang/go synced 2024-11-21 20:34:40 -07:00

fix up some irregular indentation

R=rsc
OCL=33382
CL=33391
This commit is contained in:
Rob Pike 2009-08-17 13:30:22 -07:00
parent 3e804ba7a7
commit 74dd0ab670
39 changed files with 317 additions and 316 deletions

View File

@ -1,4 +1,4 @@
// errchk $G $D/$F.go
// ! $G $D/$F.go || echo BUG: compilation succeeds incorrectly
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style

View File

@ -1,9 +1,9 @@
// $G $D/$F.go && $L $F.$A && ./$A.out
// 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.
// $G $D/$F.go && $L $F.$A && ./$A.out
package main
import "os"

View File

@ -16,6 +16,7 @@ func GetValue() uint {
func Send(a, b chan uint) int {
var i int;
LOOP:
for {
select {

View File

@ -3,4 +3,5 @@
// license that can be found in the LICENSE file.
package bug0
const A = -1

View File

@ -3,5 +3,6 @@
// license that can be found in the LICENSE file.
package bug1
import "./bug0"

View File

@ -96,7 +96,7 @@ panic PC=xxx
== fixedbugs/
=========== fixedbugs/bug016.go
fixedbugs/bug016.go:7: constant -3 overflows uint
fixedbugs/bug016.go:11: constant -3 overflows uint
=========== fixedbugs/bug027.go
hi
@ -121,7 +121,7 @@ do break
broke
=========== fixedbugs/bug081.go
fixedbugs/bug081.go:5: fatal error: typecheck loop
fixedbugs/bug081.go:9: fatal error: typecheck loop
=========== fixedbugs/bug093.go
M

View File

@ -9,8 +9,7 @@ package main
import "os"
func main() {
s :=
0 +
s := 0 +
123 +
0123 +
0000 +

View File

@ -4,7 +4,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import "rand"

View File

@ -4,7 +4,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import "rand"

View File

@ -1,4 +1,4 @@
// errchk $G $D/$F.go
// # errchk $G $D/$F.go
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style

View File

@ -1,8 +1,9 @@
#!/bin/sh
# 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.
#!/bin/sh
case X"$GOARCH" in
Xamd64)
export A=6