add override export support #17884
                  
                    
                      He-Pin
                    
                  
                
                  started this conversation in
                Feature Requests
              
            Replies: 0 comments 1 reply
-
| refs another request: lampepfl/dotty-feature-requests#85 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    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.
Uh oh!
There was an error while loading. Please reload this page.
-
Kotlin's delegation can be used when there is an inheritance relation, with current export can't.
With Java we can make use of lombok's @Delegate
Can do an overriding
What about add
override exportsupport?The current implementation can work if the exported member doesn't have concrete definition in the base class.
as:
Beta Was this translation helpful? Give feedback.
All reactions