Skip to content

Add experimental JS opt-ins as Kotlin compiler options#1809

Merged
c-schuler merged 3 commits into
mainfrom
js-optins-as-compiler-options
Jul 10, 2026
Merged

Add experimental JS opt-ins as Kotlin compiler options#1809
c-schuler merged 3 commits into
mainfrom
js-optins-as-compiler-options

Conversation

@antvaset

@antvaset antvaset commented Jul 10, 2026

Copy link
Copy Markdown
Contributor
  • Add ExperimentalJsExport, ExperimentalJsStatic, ExperimentalWasmJsInterop as Kotlin compiler options. This is commonly done in KMP/JS projects so that you don't have add this everywhere:
import kotlin.js.ExperimentalJsExport
import kotlin.js.ExperimentalJsStatic
import kotlin.js.ExperimentalWasmJsInterop

@OptIn(ExperimentalJsExport::class)
@OptIn(ExperimentalJsStatic::class)
@OptIn(ExperimentalWasmJsInterop::class)

@github-actions

Copy link
Copy Markdown

Related Issues

The following open issues may be related to this PR:

Issue Title Score Matched Terms
#1274 cql-to-elm project depends directly on Jackson 8 "compiler options", class, cqframework (path), src (path), options (path), compiler (path), kotlin (path), library (path), cql (path), model (path)
#1400 patientBirthDatePropertyName marked as deprecated but still required for SystemFunctionResolver 6 class, cqframework (path), src (path), info (path), cql2elm (path), library (path), main (path), translator (path), org (path), cql (path), model (path)
#1078 Add FHIR Query Options for queries that return FHIR results 6 "options add", add, options (path), org (path), cql (path), default (path)
#931 Library XML deserializer doesn't include annotations 5.5 add, src (path), options (path), xsd (path), gen (path), library (path), main (path), translator (path), org (path), cql (path)
#683 Unable to use AgeAt functions with Patient class of custom name. 5.5 class, cqframework (path), src (path), builder (path), info (path), cql2elm (path), main (path), org (path), cql (path), model (path)

Tip: If this PR addresses any of these issues, please link them using Closes #NNN or Refs #NNN in the PR description.

@github-actions

Copy link
Copy Markdown

Formatting check succeeded!

@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.75%. Comparing base (95366e9) to head (4a43b9d).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1809      +/-   ##
============================================
- Coverage     68.75%   68.75%   -0.01%     
  Complexity     1699     1699              
============================================
  Files           536      536              
  Lines         30559    30558       -1     
  Branches       7013     7013              
============================================
- Hits          21011    21010       -1     
  Misses         6994     6994              
  Partials       2554     2554              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@c-schuler
c-schuler enabled auto-merge (squash) July 10, 2026 17:34
@sonarqubecloud

Copy link
Copy Markdown

@c-schuler
c-schuler merged commit a6fcb3d into main Jul 10, 2026
9 checks passed
@c-schuler
c-schuler deleted the js-optins-as-compiler-options branch July 10, 2026 17:52
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