swiftlang/swift

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

Open

#54.688 geöffnet am 24. Feb. 2020

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Swift (10.719 Forks)batch import
compilergood first issueimprovementstandard libraryswift evolution proposal needed

Repository-Metriken

Stars
 (69.989 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T 17h) (510 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide