diff --git a/lang/src/son.rs b/lang/src/son.rs index 78200b3..60b3543 100644 --- a/lang/src/son.rs +++ b/lang/src/son.rs @@ -1477,7 +1477,8 @@ impl<'a> Codegen<'a> { && ity.try_upcast(ty) == Some(ty) && val.ty == ity { - self.error(pos, "the type is known at this point, remove the hint"); + _ = pos; + //self.error(pos, "the type is known at this point, remove the hint"); } self.assert_ty(expr.pos(), &mut val, ty, "hinted expr"); Some(val)