mirror of
https://github.com/golang/go
synced 2024-11-21 20:44:39 -07:00
fix up some irregular indentation
R=rsc OCL=33382 CL=33391
This commit is contained in:
parent
3e804ba7a7
commit
74dd0ab670
@ -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
|
||||
|
@ -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"
|
||||
|
@ -16,7 +16,8 @@ func GetValue() uint {
|
||||
|
||||
func Send(a, b chan uint) int {
|
||||
var i int;
|
||||
LOOP:
|
||||
|
||||
LOOP:
|
||||
for {
|
||||
select {
|
||||
case a <- GetValue():
|
||||
|
@ -3,4 +3,5 @@
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package bug0
|
||||
|
||||
const A = -1
|
||||
|
@ -3,5 +3,6 @@
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package bug1
|
||||
|
||||
import "./bug0"
|
||||
|
||||
|
@ -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
|
||||
|
@ -9,8 +9,7 @@ package main
|
||||
import "os"
|
||||
|
||||
func main() {
|
||||
s :=
|
||||
0 +
|
||||
s := 0 +
|
||||
123 +
|
||||
0123 +
|
||||
0000 +
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
3
test/run
3
test/run
@ -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
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
package main
|
||||
|
||||
import(
|
||||
import (
|
||||
"fmt";
|
||||
"os";
|
||||
"utf8";
|
||||
|
Loading…
Reference in New Issue
Block a user