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
@@ -6,4 +6,4 @@ contract C {
uint a = A(1000);
}
// ----
// TypeError 5704: (B.sol:48-55): Module is not callable.
// TypeError 5704: (B.sol:48-55): This expression is not callable.