Constructors cannot have calldata parameters.

This commit is contained in:
chriseth
2020-07-06 16:52:51 +02:00
parent 375cb09341
commit f372ba6fea
4 changed files with 17 additions and 1 deletions
+1
View File
@@ -928,6 +928,7 @@ public:
/// @returns true if this variable is a parameter or return parameter of an internal function
/// or a function type of internal visibility.
bool isInternalCallableParameter() const;
bool isConstructorParameter() const;
/// @returns true iff this variable is a parameter(or return parameter of a library function
bool isLibraryFunctionParameter() const;
/// @returns true if the type of the variable does not need to be specified, i.e. it is declared