Disallow using overloaded functions as literal suffixes

This commit is contained in:
Kamil Śliwak
2023-04-12 12:24:24 +02:00
parent 134c5a951f
commit de6c347577
24 changed files with 41 additions and 134 deletions
@@ -11,3 +11,5 @@ contract C {
// Not ambiguous: 1024 won't fit into uint8.
bool b = 1024 suffix8;
}
// ----
// TypeError 2144: (325-334): No matching declaration found after variable lookup.