File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ h_3(x::A{T}) where {T} = x
16
16
h_4 (x, :: Int , z) = x
17
17
18
18
@generated g_1 (x) = x
19
- @generated g_2 (x:: Integer ) = x
19
+ @generated g_2 (x:: String ) = x
20
20
21
21
i_1 (x; y = x) = x * y
22
22
i_2 (x:: Int ; y = x) = x * y
Original file line number Diff line number Diff line change @@ -209,13 +209,13 @@ end
209
209
210
210
doc. data = Dict (
211
211
:binding => Docs. Binding (M, :g_2 ),
212
- :typesig => Tuple{Integer },
212
+ :typesig => Tuple{String },
213
213
:module => M,
214
214
)
215
215
DSE. format (TYPEDSIGNATURES, buf, doc)
216
216
str = String (take! (buf))
217
217
@test occursin (" \n ```julia\n " , str)
218
- @test occursin (" \n g_2(x::Integer )" , str)
218
+ @test occursin (" \n g_2(x::String )" , str)
219
219
@test occursin (" \n ```\n " , str)
220
220
221
221
doc. data = Dict (
You can’t perform that action at this time.
0 commit comments