mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Disallow using overloaded functions as literal suffixes
This commit is contained in:
+2
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user