Merge "Fix infinite recursion when printing unrecognized linktype" am: f0f152484b
am: 2cf358677b
am: 98f5b4b6e0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1600834 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I53ea29450f59496f10a896d3712a32c044102efe
This commit is contained in:
@@ -1038,7 +1038,7 @@ func (lt linkType) String() string {
|
||||
case javaPlatform:
|
||||
return "private API"
|
||||
default:
|
||||
panic(fmt.Errorf("unrecognized linktype: %v", lt))
|
||||
panic(fmt.Errorf("unrecognized linktype: %d", lt))
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user