File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -763,11 +763,16 @@ no_specialize(@nospecialize(x)) = sin(1)
763763no_specialize(@nospecialize(x:: Integer )) = sin(2 )
764764@test no_specialize(1.0 ) == sin(1 )
765765@test no_specialize(1 ) == sin(2 )
766- no_specialize_kw(@nospecialize(x= 0 )) = sin(1 )
767- no_specialize_kw(@nospecialize(x:: Integer = 0 )) = sin(2 )
768- @test no_specialize_kw(1.0 ) == sin(1 )
769- @test no_specialize_kw(1 ) == sin(2 )
770- @test no_specialize_kw() == sin(2 )
766+ no_specialize_kw1(@nospecialize(x= 0 )) = sin(1 )
767+ no_specialize_kw1(@nospecialize(x:: Integer )) = sin(2 )
768+ @test no_specialize_kw1(1.0 ) == sin(1 )
769+ @test no_specialize_kw1(1 ) == sin(2 )
770+ @test no_specialize_kw1() == sin(2 )
771+ no_specialize_kw2(@nospecialize(x)) = sin(1 )
772+ no_specialize_kw2(@nospecialize(x:: Integer = 0 )) = sin(2 )
773+ @test no_specialize_kw2(1.0 ) == sin(1 )
774+ @test no_specialize_kw2(1 ) == sin(2 )
775+ @test no_specialize_kw2() == sin(2 )
771776
772777# 0.7
773778@test read(IOBuffer(" aaaa" ), String) == " aaaa"
You can’t perform that action at this time.
0 commit comments