Skip to content
New issue

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

KTL-1478 Swift Export in Kotlin Playground: support new target in Widget #210

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

nikpachoo
Copy link
Contributor

@nikpachoo nikpachoo commented May 16, 2024

@@ -34,6 +34,9 @@ export const API_URLS = {
case TargetPlatforms.JUNIT:
url = `${this.server}/api/${version}/compiler/test`;
break;
case TargetPlatforms.SWIFT_EXPORT:
url = `${this.server}/api/${version}/${TargetPlatforms.SWIFT_EXPORT.id}/compiler/translate?compiler=swift-export`;
Copy link
Contributor

@zoobestik zoobestik May 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we use translate?compiler= is it based on jscode?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it's based on JS. Here's more details JetBrains/kotlin-compiler-server#723

Copy link
Contributor

@zoobestik zoobestik May 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants