Fix OPT_IN_IS_NO_ENABLED message (see KT-48534)

This commit is contained in:
Mikhail Glukhikh
2021-10-19 16:23:29 +03:00
parent 98d34b40ab
commit 931779f1c6
@@ -165,7 +165,7 @@ public class DefaultErrorMessages {
MAP.put(OPT_IN_OVERRIDE, "{1}", TO_STRING, STRING);
MAP.put(OPT_IN_OVERRIDE_ERROR, "{1}", TO_STRING, STRING);
MAP.put(OPT_IN_IS_NOT_ENABLED, "This class can only be used with the compiler argument '-Xopt-in=kotlin.RequiresOptIn'");
MAP.put(OPT_IN_IS_NOT_ENABLED, "This class can only be used with the compiler argument '-opt-in=kotlin.RequiresOptIn'");
MAP.put(OPT_IN_CAN_ONLY_BE_USED_AS_ANNOTATION, "This class can only be used as an annotation");
MAP.put(OPT_IN_MARKER_CAN_ONLY_BE_USED_AS_ANNOTATION_OR_ARGUMENT_IN_OPT_IN, "This class can only be used as an annotation or as an argument to @OptIn");