Use solUnimplemented wherever possible

This commit is contained in:
Alex Beregszaszi committed 2016-11-28 09:51:02 +00:00
1 parent 9c2ed33e9a
commit f1bc979c0f
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -1252,7 +1252,7 @@ void ExpressionCompiler::endVisit(Literal const& _literal)
case Type::Category::StringLiteral:
break; // will be done during conversion
default:
BOOST_THROW_EXCEPTION(InternalCompilerError() << errinfo_comment("Only integer, boolean and string literals implemented for now."));
solUnimplemented("Only integer, boolean and string literals implemented for now.");
}
}
@@ -1392,7 +1392,7 @@ void ExpressionCompiler::appendBitOperatorCode(Token::Value _operator)
void ExpressionCompiler::appendShiftOperatorCode(Token::Value _operator)
{
BOOST_THROW_EXCEPTION(UnimplementedFeatureError() << errinfo_comment("Shift operators not yet implemented."));
solUnimplemented("Shift operators not yet implemented.");
switch (_operator)
{
case Token::SHL: