@@ -2805,42 +2805,42 @@ let types = (Base.BitInteger_types..., BigInt, Bool,
28052805 Complex{Int}, Complex{UInt}, Complex32, Complex64, Complex128)
28062806 for S in types
28072807 for op in (+ , - )
2808- T = @inferred Base. _promote_op (op, S)
2808+ T = @inferred Base. promote_op (op, S)
28092809 t = @inferred op (one (S))
28102810 @test T === typeof (t)
28112811 end
28122812
28132813 for R in types
28142814 for op in (+ , - , * , / , ^ )
2815- T = @inferred Base. _promote_op (op, S, R)
2815+ T = @inferred Base. promote_op (op, S, R)
28162816 t = @inferred op (one (S), one (R))
28172817 @test T === typeof (t)
28182818 end
28192819 end
28202820 end
28212821
2822- @test @inferred (Base. _promote_op (! , Bool)) === Bool
2822+ @test @inferred (Base. promote_op (! , Bool)) === Bool
28232823end
28242824
28252825let types = (Base. BitInteger_types... , BigInt, Bool,
28262826 Rational{Int}, Rational{BigInt},
28272827 Float16, Float32, Float64, BigFloat)
28282828 for S in types, T in types
28292829 for op in (< , > , <= , >= , (== ))
2830- @test @inferred (Base. _promote_op (op, S, T)) === Bool
2830+ @test @inferred (Base. promote_op (op, S, T)) === Bool
28312831 end
28322832 end
28332833end
28342834
28352835let types = (Base. BitInteger_types... , BigInt, Bool)
28362836 for S in types
2837- T = @inferred Base. _promote_op (~ , S)
2837+ T = @inferred Base. promote_op (~ , S)
28382838 t = @inferred ~ one (S)
28392839 @test T === typeof (t)
28402840
28412841 for R in types
28422842 for op in (& , | , << , >> , (>>> ), % , ÷ )
2843- T = @inferred Base. _promote_op (op, S, R)
2843+ T = @inferred Base. promote_op (op, S, R)
28442844 t = @inferred op (one (S), one (R))
28452845 @test T === typeof (t)
28462846 end
0 commit comments