This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,7 @@
|
||||
# probe: what happens when a String is indexed by codepoint= at a negative index?
|
||||
def main():
|
||||
var t = String("abc")
|
||||
var i = -1
|
||||
print("before")
|
||||
print(String(t[codepoint=i]))
|
||||
print("after")
|
||||
Reference in new issue
Block a user