In Swift, we must specify the type for Character variables(because there’s no 
Character literals):

let eol: Character = “\n”


it's not a big problem, but, Is it the unique case that can’t use type infer?




_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to