Commit
literals that lack a contextual type. This fixes SR-305
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// RUN: %target-parse-verify-swift | ||
|
||
let dict = [ | ||
"keys": [ | ||
"key 1": ["key": "value"], | ||
"key 2": ["key": "value"], | ||
"key 3": ["key": "value"], | ||
"key 4": ["key": "value"], | ||
"key 5": ["key": "value"], | ||
"key 6": ["key": "value"], | ||
"key 7": ["key": "value"], | ||
"key 8": ["key": "value"], | ||
"key 9": ["key": "value"], | ||
"key 10": ["key": "value"], | ||
"key 11": ["key": "value"], | ||
"key 12": ["key": "value"], | ||
"key 13": ["key": "value"], | ||
"key 14": ["key": "value"], | ||
"key 15": ["key": "value"], | ||
"key 16": ["key": "value"], | ||
"key 17": ["key": "value"], | ||
"key 18": ["key": "value"], | ||
"key 19": ["key": "value"], | ||
"key 20": ["key": "value"], | ||
] | ||
] | ||
This comment has been minimized.
Sorry, something went wrong. |
7 comments
on commit 2cdd7d6
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.
Love the commit message!
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.
From reddit post to fix in less than 12 hours -- nice work @jopamer!
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.
Nice!
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.
Awesome!
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.
Xcode 8.2 , Swift 3.0 , Plateform : IOS, Device Type: Simulator
This seems have another face in terms of "Nil Coalescing Operator". Compilation was that much slow as i can refer compilation time was too much long, And the main part not only compilation slows down, after compilation execution also slowed down, for example simple screen transaction of screen of performing scrolling on UITableView also Slowed down.
As i was trying to construct dictionary like
let dict = [
"key1" = modalobject.someValue 1?? "default value",
"key2" = modalobject.someValue 2?? "default value",
"key3" = modalobject.someValue3 ?? "default value",
"key4" = modalobject.someValue4 ?? "default value"
]
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.
@dipkasyap please, please, please do not report bugs under ancient commits. Please go file an SR at bugs.swift.org.
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.
@CodaFi , Sorry , i was unaware of that, my mistake ! Any way thanks a lot for valuable suggestion.
Missing newline at the end of file