diff --git a/lang/src/son.rs b/lang/src/son.rs index 78200b34..60b3543a 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)