You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func sr_11074(line:String= #line){} // expected-error {{default argument value of type 'Int' cannot be converted to type 'String'}}
176
+
sr_11074() // expected-error {{cannot call global function 'sr_11074(line:)' because default argument of type 'Int' cannot be converted to type 'String'}}
177
+
178
+
classSR_11074_C{init(line:String= #line){}} // expected-error {{default argument value of type 'Int' cannot be converted to type 'String'}}
179
+
let _ =SR_11074_C() // expected-error {{cannot call initializer 'init(line:)' because default argument of type 'Int' cannot be converted to type 'String'}}
0 commit comments