Used correct enum class name

This commit is contained in:
bigguy345 committed 2026-01-04 19:41:28 +02:00
1 parent a36cc044bd
commit 0d45d636b8
1 file changed
+1 -1
@@ -311,7 +311,7 @@ public class MethodCallInfo {
// For constructors, check if the type has any constructors at all
if (receiverType != null && receiverType.hasConstructors()) {
setError(ErrorType.WRONG_ARG_COUNT,
"No constructor in '" + methodName + "' matches " + arguments.size() + " argument(s)");
"No constructor in '" + receiverType.getSimpleName() + "' matches " + arguments.size() + " argument(s)");
} else {
setError(ErrorType.UNRESOLVED_METHOD,
"Cannot resolve constructor for '" + methodName + "'");