Merge "Fix infinite recursion when printing unrecognized linktype"
This commit is contained in:
@@ -1038,7 +1038,7 @@ func (lt linkType) String() string {
|
|||||||
case javaPlatform:
|
case javaPlatform:
|
||||||
return "private API"
|
return "private API"
|
||||||
default:
|
default:
|
||||||
panic(fmt.Errorf("unrecognized linktype: %v", lt))
|
panic(fmt.Errorf("unrecognized linktype: %d", lt))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user