Commit 13cd8cd9 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 1f1bf04d
This diff is collapsed.
...@@ -243,7 +243,6 @@ type commonCoder struct { ...@@ -243,7 +243,6 @@ type commonCoder struct {
typeName string // or empty typeName string // or empty
typ types.Type typ types.Type
varN int // suffix to add to variables (size0, size1, ...) - for nested computations
varUsed map[string]bool // whether a variable was used varUsed map[string]bool // whether a variable was used
} }
...@@ -255,7 +254,7 @@ func (c *commonCoder) setFunc(recvName, typeName string, typ types.Type) { ...@@ -255,7 +254,7 @@ func (c *commonCoder) setFunc(recvName, typeName string, typ types.Type) {
// get variable name for varname // get variable name for varname
func (c *commonCoder) var__(varname string) string { func (c *commonCoder) var__(varname string) string {
return fmt.Sprintf("%s%d", varname, c.varN) return varname // XXX was varname + N
} }
func (c *commonCoder) var_(varname string) string { func (c *commonCoder) var_(varname string) string {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment