5 lines
187 B
Mojo
5 lines
187 B
Mojo
# probe: does a string literal have replace()? (no: it is a StringLiteral; upper, lower, find and split it has)
|
|
# expect: compile-error
|
|
def main():
|
|
print("GATTACA".replace("T", "U"))
|