Skip to content

Commit a5e2069

Browse files
stevengjararslan
authored andcommitted
remove unnecessary at-generated (#24360)
Fix from #24240.
1 parent d4b80e3 commit a5e2069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/mathconstants.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ catalan
8585
for T in (AbstractIrrational, Rational, Integer, Number)
8686
Base.:^(::Irrational{:ℯ}, x::T) = exp(x)
8787
end
88-
@generated Base.literal_pow(::typeof(^), ::Irrational{:ℯ}, ::Val{p}) where {p} = exp(p)
88+
Base.literal_pow(::typeof(^), ::Irrational{:ℯ}, ::Val{p}) where {p} = exp(p)
8989

9090
Base.log(::Irrational{:ℯ}) = 1 # use 1 to correctly promote expressions like log(x)/log(ℯ)
9191
Base.log(::Irrational{:ℯ}, x::Number) = log(x)

0 commit comments

Comments
 (0)