@overload如何只对return生效 #1580
              
                Unanswered
              
          
                  
                    
                      xiangnanscu
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
有时候函数的签名都是一样的,而且签名定义比较复杂,一大坨那种,只是有不同的返回类型,如果使用@overload来定义,又要写一次相同的签名,感觉有点重复。有没有那种只overload返回类型的呢?
Beta Was this translation helpful? Give feedback.
All reactions