From 55316548a3be29eda7a00ec1d30173df430e4e13 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 28 Nov 2023 23:06:24 +0000 Subject: [PATCH] Add missing ! --- .../inspection/mixinextras/UnnecessaryMutableLocalInspection.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/platform/mixin/inspection/mixinextras/UnnecessaryMutableLocalInspection.kt b/src/main/kotlin/platform/mixin/inspection/mixinextras/UnnecessaryMutableLocalInspection.kt index 8308eb4c1..4aaf915f9 100644 --- a/src/main/kotlin/platform/mixin/inspection/mixinextras/UnnecessaryMutableLocalInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/mixinextras/UnnecessaryMutableLocalInspection.kt @@ -59,7 +59,7 @@ class UnnecessaryMutableLocalInspection : MixinInspection() { // Mutable Local references do have different semantics inside a WrapOperation. ?.let { it is InjectorAnnotationHandler && it !is WrapOperationHandler } == true } - if (hasValidMixinAnnotation) { + if (!hasValidMixinAnnotation) { return }