From 7e1059d3bd76742d62d6adfe228e41f47fbe5fa6 Mon Sep 17 00:00:00 2001 From: Evgeny Gerashchenko Date: Wed, 18 Apr 2012 20:36:43 +0400 Subject: [PATCH] Added IDE error messages for OVERLOAD_RESOLUTION_AMBIGUITY and NONE_APPLICABLE. --- .../org/jetbrains/jet/plugin/highlighter/IdeErrorMessages.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/idea/src/org/jetbrains/jet/plugin/highlighter/IdeErrorMessages.java b/idea/src/org/jetbrains/jet/plugin/highlighter/IdeErrorMessages.java index 4425b6aacff..d8cc81dfaa0 100644 --- a/idea/src/org/jetbrains/jet/plugin/highlighter/IdeErrorMessages.java +++ b/idea/src/org/jetbrains/jet/plugin/highlighter/IdeErrorMessages.java @@ -102,6 +102,9 @@ public class IdeErrorMessages { "" + "
Expected:{1}
Found:{2}
", TO_STRING, RENDER_TYPE, RENDER_TYPE); + MAP.put(OVERLOAD_RESOLUTION_AMBIGUITY, "Overload resolution ambiguity. All these functions match. ", HTML_AMBIGUOUS_CALLS); + MAP.put(NONE_APPLICABLE, "None of the following functions can be called with the arguments supplied. ", HTML_AMBIGUOUS_CALLS); + MAP.setImmutable(); }