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
$ cat test.swift && swiftc -o test test.swift && ./test
print("abc".hasPrefix("a"))
test.swift:1:7: error: value of type 'String' has no member 'hasPrefix'
print("abc".hasPrefix("a"))
^~~~~ ~~~~~~~~~
Swift versions 4.0.2 on both
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: 29ba569747314d2a0051173965e32872
Issue Description:
the following Swift code
compiled and run on Darwin gives
but on Linux
Swift versions 4.0.2 on both
The text was updated successfully, but these errors were encountered: