We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The string "A\(x)Z" can be used as an ExpressibleByStringInterpolation, but the string with just a single interpolation like "\(x)" cannot.
"A\(x)Z"
ExpressibleByStringInterpolation
"\(x)"
See the test case at skiptools/skip-lib@f1d42cf
Two adjacent string interpolations:
XCTAssertEqual("stringstring", intepolate("\("string")\("string")"))
will be transpiled to the Kotlin:
XCTAssertEqual("stringstring", intepolate({ val str = StringExpressibleExample.StringInterpolationExample(literalCapacity = 0, interpolationCount = 0) str.appendInterpolation("string") str.appendInterpolation("string") StringExpressibleExample(stringInterpolation = str) }()))
But the single string interpolation:
XCTAssertEqual("string", intepolate("\("string")"))
does not handle interpolation:
XCTAssertEqual("string", intepolate("${"string"}"))
The text was updated successfully, but these errors were encountered:
Fixed by @aabewhite in 0.7.32 (0c2aa6b)
Sorry, something went wrong.
No branches or pull requests
The string
"A\(x)Z"
can be used as anExpressibleByStringInterpolation
, but the string with just a single interpolation like"\(x)"
cannot.See the test case at skiptools/skip-lib@f1d42cf
Two adjacent string interpolations:
will be transpiled to the Kotlin:
But the single string interpolation:
does not handle interpolation:
The text was updated successfully, but these errors were encountered: