addrs: Fix infinite recursion in AbsInputVariableInstance.String
This commit is contained in:
parent
b62e9a7227
commit
5771db6696
|
@ -34,7 +34,7 @@ func (m ModuleInstance) InputVariable(name string) AbsInputVariableInstance {
|
|||
|
||||
func (v AbsInputVariableInstance) String() string {
|
||||
if len(v.Module) == 0 {
|
||||
return v.String()
|
||||
return v.Variable.String()
|
||||
}
|
||||
|
||||
return fmt.Sprintf("%s.%s", v.Module.String(), v.Variable.String())
|
||||
|
|
Loading…
Reference in New Issue