| 2102 | } |
| 2103 | |
| 2104 | void 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 | |
| 2122 | void CompilerStack::reportCodeGenerationError(Error const& _error, ContractDefinition const* _contractDefinition) |
| 2123 | { |
nothing calls this directly
no test coverage detected