Remove unused tests and add asserts for not implemented parts in code generation.

quick fix on christian's rational

change so that ubuntu will stop yelling

be more specific with rational declaration for Windows sake

rational in namespace correction for windows
This commit is contained in:
chriseth authored and VoR0220 committed 2016-05-10 16:03:33 -05:00
1 parent 656405240e
commit d4206b7cd0
7 files changed
+19 -37

No files matched your search

+2
View File
@@ -774,6 +774,7 @@ bool TypeChecker::visit(VariableDeclarationStatement const& _statement)
solAssert(!var.typeName(), "");
var.annotation().type = valueComponentType->mobileType();
if (!var.annotation().type)
{
if (valueComponentType->category() == Type::Category::RationalNumber)
fatalTypeError(
_statement.initialValue()->location(),
@@ -783,6 +784,7 @@ bool TypeChecker::visit(VariableDeclarationStatement const& _statement)
);
else
solAssert(false, "");
}
var.accept(*this);
}
else