mirror of
https://github.com/processing/processing4.git
synced 2026-02-15 03:15:40 +01:00
type mismatch error
This commit is contained in:
@@ -143,6 +143,12 @@ public class ErrorMessageSimplifier {
|
||||
result = "I don't recognize the name \"" + args[0] + "\"";
|
||||
}
|
||||
break;
|
||||
case IProblem.TypeMismatch:
|
||||
if (args.length > 1) {
|
||||
result = "You can't assign a \"" + getSimpleName(args[0])
|
||||
+ "\" type to a \"" + getSimpleName(args[1]) + "\" type";
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
log("Simplified Error Msg: " + result);
|
||||
|
||||
Reference in New Issue
Block a user