From 86e35a96a71ea734bb0e47d618193ca6b429f8ce Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Fri, 11 Mar 2011 14:46:36 -0800 Subject: [PATCH] go/typechecker: fix build R=rsc CC=golang-dev https://golang.org/cl/4278043 --- src/pkg/go/typechecker/testdata/test1.src | 2 +- src/pkg/go/typechecker/testdata/test4.src | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pkg/go/typechecker/testdata/test1.src b/src/pkg/go/typechecker/testdata/test1.src index b0808ee7acb..b5531fb9f5b 100644 --- a/src/pkg/go/typechecker/testdata/test1.src +++ b/src/pkg/go/typechecker/testdata/test1.src @@ -7,7 +7,7 @@ package P1 const ( - c1 /* ERROR "missing initializer" */ + c1 = 0 c2 int = 0 c3, c4 = 0 ) diff --git a/src/pkg/go/typechecker/testdata/test4.src b/src/pkg/go/typechecker/testdata/test4.src index bb9aee3ad3a..94d3558f9cd 100644 --- a/src/pkg/go/typechecker/testdata/test4.src +++ b/src/pkg/go/typechecker/testdata/test4.src @@ -7,5 +7,5 @@ package P4 const ( - c0 /* ERROR "missing initializer" */ + c0 = 0 )