- 
                Notifications
    
You must be signed in to change notification settings  - Fork 10.6k
 
[stdlib] using static method dispatch instead of failable casts #220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| 
           @gribozavr please have a look.  | 
    
        
          
                stdlib/public/core/Sequence.swift
              
                Outdated
          
        
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra empty lines.
e6ae147    to
    4b705a0      
    Compare
  
    | 
           Updated.  | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changes the signature.  We want to constrain SequenceType.SubSequence this way anyway, but don't have the necessary language feature.  Nevertheless, this requires a writing a proposal in swift-evolution.
| 
           The change LGTM, but because of the signature change in   | 
    
| 
           Will do. Thanks for reviewing it.  | 
    
Overriding `AnySequence.dropFirst` and `AnySequence.prefix` to delegate these operations to an underlying sequence, thus simplifying default implementations in `Sequence`.
4b705a0    to
    d225b37      
    Compare
  
    | 
           Rebased and ready to go.  | 
    
| 
           Needs splitting.  | 
    
…ext_for_key Temporarily move dispatch_context_for_key test into the unreliable tests
Demote ColonWhitespace to a lint rule
[NFC] Fix 'Traling' typo
Add SwiftyStoreKit
Overriding
AnySequence.dropFirstandAnySequence.prefixto delegatethese operations to an underlying sequence, thus simplifying default
implementations in
Sequence.