Improved error messages when converting to/from builtin functions

This commit is contained in:
Alex Beregszaszi
2020-12-10 22:38:15 +00:00
parent ff7e45f417
commit fa37e69c25
11 changed files with 25 additions and 15 deletions
@@ -22,4 +22,4 @@ contract Test {
}
}
// ----
// TypeError 9574: (B:269-313): Type function (struct L.Item memory) is not implicitly convertible to expected type function (struct L.Item memory) external.
// TypeError 9574: (B:269-313): Type function (struct L.Item memory) is not implicitly convertible to expected type function (struct L.Item memory) external. Special functions can not be converted to function types.