mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #4018 from ethereum/disable-bytes0
Disable FixedBytesType(0) aka bytes0
This commit is contained in:
@@ -505,10 +505,6 @@ class FixedBytesType: public Type
|
||||
public:
|
||||
virtual Category category() const override { return Category::FixedBytes; }
|
||||
|
||||
/// @returns the smallest bytes type for the given literal or an empty pointer
|
||||
/// if no type fits.
|
||||
static std::shared_ptr<FixedBytesType> smallestTypeForLiteral(std::string const& _literal);
|
||||
|
||||
explicit FixedBytesType(int _bytes);
|
||||
|
||||
virtual bool isImplicitlyConvertibleTo(Type const& _convertTo) const override;
|
||||
|
||||
Reference in New Issue
Block a user