MCPcopy Create free account
hub / github.com/argotorg/solidity / reportUnimplementedFeatureError

Method reportUnimplementedFeatureError

libsolidity/interface/CompilerStack.cpp:2104–2120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2102}
2103
2104void CompilerStack::reportUnimplementedFeatureError(
2105 UnimplementedFeatureError const& _error,
2106 ContractDefinition const* _contractDefinition
2107)
2108{
2109 solAssert(_error.comment(), "Errors must include a message for the user.");
2110 if (_error.sourceLocation().sourceName)
2111 solAssert(m_sources.count(*_error.sourceLocation().sourceName) != 0);
2112
2113 m_errorReporter.unimplementedFeatureError(
2114 1834_error,
2115 (_error.sourceLocation().sourceName || !_contractDefinition) ?
2116 _error.sourceLocation() :
2117 _contractDefinition->location(),
2118 *_error.comment()
2119 );
2120}
2121
2122void CompilerStack::reportCodeGenerationError(Error const& _error, ContractDefinition const* _contractDefinition)
2123{

Callers

nothing calls this directly

Calls 5

commentMethod · 0.80
sourceLocationMethod · 0.45
countMethod · 0.45
locationMethod · 0.45

Tested by

no test coverage detected