Merge "Fix infinite recursion when printing unrecognized linktype" am: f0f152484b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1600834 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I6bf67cf22a8547fe9cabf7f4f2f54a7045cbf980
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