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
Copy file name to clipboardExpand all lines: test/1_stdlib/Renames.swift
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -240,6 +240,11 @@ func _Index() {
240
240
func fn3<T :RandomAccessIndexType>(_:T){} // expected-error {{'RandomAccessIndexType' has been renamed to 'Strideable'}} {{16-37=Strideable}} {{none}}
241
241
}
242
242
243
+
func _InputStream(){
244
+
_ =readLine(stripNewline:true) // expected-error {{'readLine(stripNewline:)' has been renamed to 'readLine(strippingNewline:)'}} {{7-15=readLine}} {{16-28=strippingNewline}} {{none}}
245
+
_ =readLine() // ok
246
+
}
247
+
243
248
func _IntegerArithmetic(){
244
249
func fn1<T :IntegerArithmeticType>(_:T){} // expected-error {{'IntegerArithmeticType' has been renamed to 'IntegerArithmetic'}} {{16-37=IntegerArithmetic}} {{none}}
245
250
func fn2<T :SignedNumberType>(_:T){} // expected-error {{'SignedNumberType' has been renamed to 'SignedNumber'}} {{16-32=SignedNumber}} {{none}}
0 commit comments