Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/type/dictionary.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ var y2: [String : ] // expected-error{{expected dictionary value type}}

struct NotHashable { }

var nh1 : [NotHashable : Int ] // expected-error{{'NotHashable' does not conform to protocol 'Hashable'}}
var nh1 : [NotHashable : Int] // expected-error{{'NotHashable' does not conform to protocol 'Hashable'}}
2 changes: 1 addition & 1 deletion test/type/infer/global_variables.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

var b = true, i = 17

var d : Dictionary = [0 : "Zero", 1 : "One", 2 : "Two" ]
var d : Dictionary = [0 : "Zero", 1 : "One", 2 : "Two"]

func testGlobals() {
b = false
Expand Down
2 changes: 1 addition & 1 deletion test/type/infer/instance_variables.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
struct X {
var b = true, i = 17

var d : Dictionary = [0 : "Zero", 1 : "One", 2 : "Two" ]
var d : Dictionary = [0 : "Zero", 1 : "One", 2 : "Two"]
}

func testX(inout x: X) {
Expand Down