mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Show unimplemented function if trying to instantiate an abstract class
This commit is contained in:
1 parent
c835bcec62
commit
494dea262e
4 files changed
+25
-1
No files matched your search
@@ -151,6 +151,16 @@ void ErrorReporter::syntaxError(SourceLocation const& _location, string const& _
|
||||
);
|
||||
}
|
||||
|
||||
void ErrorReporter::typeError(SourceLocation const& _location, SecondarySourceLocation const& _secondaryLocation, string const& _description)
|
||||
{
|
||||
error(
|
||||
Error::Type::TypeError,
|
||||
_location,
|
||||
_secondaryLocation,
|
||||
_description
|
||||
);
|
||||
}
|
||||
|
||||
void ErrorReporter::typeError(SourceLocation const& _location, string const& _description)
|
||||
{
|
||||
error(
|
||||
|
||||
Reference in new issue
Block a user