Remove the inaccurate Type::categoryName() and change the error message for invalid calls to one independent of the category

This commit is contained in:
Kamil Śliwak
2023-04-20 13:50:22 +02:00
parent a77d4e281f
commit 34da6c8811
16 changed files with 13 additions and 57 deletions
@@ -2,4 +2,4 @@ contract C {
uint a = msg(1000);
}
// ----
// TypeError 5704: (26-35): Magic variable is not callable.
// TypeError 5704: (26-35): This expression is not callable.