Skip to content

Is this Unresolved reference 'insert' on the String struct because of SKIP? #195

Answered by marcprux
davidakoontz asked this question in Q&A
Discussion options

You must be logged in to vote

As you point out in the reference to https://skip.tools/docs/modules/skip-lib/#swift-standard-library-support, Kotlin strings are not mutable, and so we cannot support functions like insert. The workaround is to do something like:

greet = atSign + greet

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by marcprux
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@davidakoontz
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants