swiftlang/swift

[SR-12260] It's impossible to change the default type for array and dictionary literals

Open

#54.688 aperta il 24 feb 2020

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Swift (10.719 fork)batch import
compilergood first issueimprovementstandard libraryswift evolution proposal needed

Metriche repository

Star
 (69.989 star)
Metriche merge PR
 (Merge medio 8g 17h) (510 PR mergiate in 30 g)

Descrizione

Previous ID SR-12260
Radar rdar://problem/59740182
Original Reporter cukier (JIRA User)
Type Improvement
Votes 0
Component/s Compiler, Standard Library
Labels Improvement, StarterProposal
Assignee None
Priority Medium

md5: 37f9095891a29ee41ce249e50f84041f

Issue Description:

It's possible to change the default types for all literals except array and dictionary

https://developer.apple.com/documentation/swift/swift_standard_library/initialization_with_literals/default_literal_types

Guida contributor