aboutsummaryrefslogtreecommitdiff
path: root/dexpreopt
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2022-04-21 12:50:51 -0700
committerColin Cross <ccross@android.com>2023-06-22 08:18:33 -0700
commitc85750bfe3d0ebadc5ef9051603464699c0a09fc (patch)
tree4e933d1bc7b26f5283c8a0bc6c2d8b0aac869dbc /dexpreopt
parentabcfc77717b9116f0e838d3b56be447330f1b55a (diff)
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
Diffstat (limited to 'dexpreopt')
-rw-r--r--dexpreopt/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dexpreopt/config.go b/dexpreopt/config.go
index e61ebe624..bb83dc842 100644
--- a/dexpreopt/config.go
+++ b/dexpreopt/config.go
@@ -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)
}
}