diff --git a/src/main/java/lanat/ArgumentTypeInfer.java b/src/main/java/lanat/ArgumentTypeInfer.java index 7942c97f..cb9d88b4 100644 --- a/src/main/java/lanat/ArgumentTypeInfer.java +++ b/src/main/java/lanat/ArgumentTypeInfer.java @@ -69,7 +69,7 @@ void registerNumericWithTuple( @NotNull Class infer ) { assert !infer.isPrimitive() && inferPrimitive.isPrimitive() - : "Infer must be a primitive type and inferPrimitive must be a non-primitive type."; + : "Infer must be a non-primitive type and inferPrimitive must be a primitive type."; // register both the primitive and non-primitive types ArgumentTypeInfer.register(type, inferPrimitive, infer);