Use generics for DepSets
Use Go's generics for DepSets so they don't require a type-specific wrapper and reflection. Test: depsets_test.go Change-Id: I22ba0b7d680d37d2cd05230b0f560d166c4dd20b
This commit is contained in:
@@ -321,7 +321,7 @@ func getGlobalConfigRaw(ctx android.PathContext) globalConfigAndRaw {
|
||||
missingDepsCtx.AddMissingDependencies([]string{err.Error()})
|
||||
}
|
||||
} else {
|
||||
android.ReportPathErrorf(ctx, "%w", err)
|
||||
android.ReportPathErrorf(ctx, "%s", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user