Better error message when trying to call things that are not functions

This commit is contained in:
Kamil Śliwak
2023-04-04 17:30:37 +02:00
parent 293690e5a4
commit a019f400d0
13 changed files with 46 additions and 8 deletions
@@ -0,0 +1,5 @@
contract C {
uint a = msg(1000);
}
// ----
// TypeError 5704: (26-35): Magic variable is not callable.