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
@@ -7,4 +7,4 @@ contract CrashContract {
}
}
// ----
// TypeError 5704: (170-177): Type is not callable
// TypeError 5704: (170-177): Rational number literal is not callable.