Opportunistic - suppress RedundantExplicitType

This commit is contained in:
Zac Sweers
2020-01-18 23:08:44 -05:00
parent 4e84451d6e
commit 3f0d763ce1

View File

@@ -73,6 +73,9 @@ internal class AdapterGenerator(
// Because we generate redundant `out` variance for some generics and there's no way
// for us to know when it's redundant.
"REDUNDANT_PROJECTION",
// Because we may generate redundant explicit types for local vars with default values.
// Example: 'var fooSet: Boolean = false'
"RedundantExplicitType",
// NameAllocator will just add underscores to differentiate names, which Kotlin doesn't
// like for stylistic reasons.
"LocalVariableName"