Skip to content

Commit 913d290

Browse files
committed
cmd/compile: sort OAS2* declarations
Change-Id: Idd3acf5f808705c608cd4e5877bc93e1626d9a58 Reviewed-on: https://go-review.googlesource.com/c/go/+/179238 Run-TryBot: Matthew Dempsky <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Robert Griesemer <[email protected]>
1 parent 5d0d87a commit 913d290

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed

src/cmd/compile/internal/gc/class_string.go

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cmd/compile/internal/gc/op_string.go

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cmd/compile/internal/gc/syntax.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,10 +599,10 @@ const (
599599
OSTR2RUNES // Type(Left) (Type is []rune, Left is a string)
600600
OAS // Left = Right or (if Colas=true) Left := Right
601601
OAS2 // List = Rlist (x, y, z = a, b, c)
602+
OAS2DOTTYPE // List = Rlist (x, ok = I.(int))
602603
OAS2FUNC // List = Rlist (x, y = f())
603-
OAS2RECV // List = Rlist (x, ok = <-c)
604604
OAS2MAPR // List = Rlist (x, ok = m["foo"])
605-
OAS2DOTTYPE // List = Rlist (x, ok = I.(int))
605+
OAS2RECV // List = Rlist (x, ok = <-c)
606606
OASOP // Left Etype= Right (x += y)
607607
OCALL // Left(List) (function call, method call or type conversion)
608608

0 commit comments

Comments
 (0)