{
HaxeTree tree = parseFunction("function main() { var x:Int; x=123;}");
linker.visit(tree, new Environment());
Assignment node = TestHelper.getAssignment(tree);
HaxeType firstType = node.getLeftOperand().getHaxeType();
HaxeType secondType = node.getRightOperand().getHaxeType();
assertTrue(TypeUtils.isAvailableAssignement(secondType, firstType));
}