Message ID | mcrsiin7qog.fsf@iant-glaptop.roam.corp.google.com |
---|---|
State | New |
Headers | show |
Index: test/fixedbugs/bug299.go =================================================================== --- test/fixedbugs/bug299.go (revision 216257) +++ test/fixedbugs/bug299.go (working copy) @@ -21,7 +21,9 @@ type T struct { // legal according to spec func (p T) m() {} -// not legal according to spec -func (p (T)) f() {} // ERROR "parenthesize|expected" -func (p *(T)) g() {} // ERROR "parenthesize|expected" -func (p (*T)) h() {} // ERROR "parenthesize|expected" +// now legal according to spec +func (p (T)) f() {} +func (p *(T)) g() {} +func (p (*T)) h() {} +func (p (*(T))) i() {} +func ((T),) j() {}