swiftlang/swift

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

Open

#54,688 opened on Feb 24, 2020

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Swift (10,719 forks)batch import
compilergood first issueimprovementstandard libraryswift evolution proposal needed

Repository metrics

Stars
 (69,989 stars)
PR merge metrics
 (Avg merge 8d 17h) (510 merged PRs in 30d)

Description

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