Skip to content

Conversation

robstoll
Copy link
Owner


I confirm that I have read the Contributor Agreements v1.0, agree to be bound on them and confirm that my contribution is compliant.

- need to add compileOnly to modules using logic as it looks like
  IR behaves differently and doesn't "inherit" the compile only
  dependencies
- update to kbox 1.0.0 which also uses IR for JS
- cannot longer use the mock of spek for js as it is compiled for LEGACY
  add own mocks
- same same for mockk
Copy link

codecov bot commented Jan 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (84b9a13) 91.83% compared to head (bb3f02a) 91.83%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1668   +/-   ##
=========================================
  Coverage     91.83%   91.83%           
  Complexity      114      114           
=========================================
  Files           423      423           
  Lines          4604     4604           
  Branches        228      228           
=========================================
  Hits           4228     4228           
  Misses          330      330           
  Partials         46       46           
Flag Coverage Δ
current 91.39% <ø> (ø)
current_windows 90.52% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

which basically means we will no longer be able to use
$metadata$.interfaces on an instance as it no longer exists. Interfaces
are now numbers, and I did not have the time to find out where the
number to name mapping is.

moreover:
- KotlinTestTeamCityConsoleAdapter cuts off the column number from
  stacktraces (see https://youtrack.jetbrains.com/issue/KT-64188),
  making it impossible to jump in the console to the correct place
  (jumps only to file)
  implement a workaround which appends a third number so that we keep
  the column number after KotlinTestTeamCityConsoleAdapter has cut off
  the third number
- remove new clutter from stacktrace (.protoOf. and name mangling).

- adapt KClassFullNameTest as some simpleName bugs have been fixed
  (and some new were introduced)
@robstoll robstoll merged commit fc68d6b into main Jan 20, 2024
@robstoll robstoll deleted the bc/js-IR-backend branch January 20, 2024 21:54
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.

workaround intellij KotlinJs bug which removes column numbers in stack traces Library lacks support for IR compiler
1 participant