Skip to content

Commit 9b46765

Browse files
committed
Fix return_type
1 parent 9ecece3 commit 9b46765

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/reflection.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export @device_code_lowered, @device_code_typed, @device_code_warntype,
6565
#
6666

6767
"""
68-
Metal.return_type(f, tt) -> r::Type
68+
return_type(f, tt) -> r::Type
6969
7070
Return a type `r` such that `f(args...)::r` where `args::tt`.
7171
"""
@@ -75,5 +75,5 @@ function return_type(@nospecialize(func), @nospecialize(tt))
7575
job = CompilerJob(source, config)
7676
interp = GPUCompiler.get_interpreter(job)
7777
sig = Base.signature_type(func, tt)
78-
Core.Compiler.return_type(interp, sig)
78+
Core.Compiler._return_type(interp, sig)
7979
end

0 commit comments

Comments
 (0)