Commit Graph

95563 Commits

Author SHA1 Message Date
Dmitriy Dolovov f7d2dfd729 [IR] Linker: Small improvements 2022-10-20 10:18:57 +02:00
Dmitriy Dolovov 181809e2af [IR][tests] Support friend-dependencies in KLIB ABI compatibility tests 2022-10-20 10:18:56 +02:00
Dmitriy Dolovov bd4304c6e2 [IR] Partial linkage: Avoid false positively-detected unimplemented callables
^KT-53663
2022-10-20 10:18:56 +02:00
Dmitriy Dolovov 500e4f5e24 [IR][tests] Add test to check absence of false positively-detected unimplemented callables
^KT-53663
2022-10-20 10:18:56 +02:00
Dmitriy Dolovov cd007c02df [IR][tests] Add cases to visibility-related tests where a callable accidentally starts to override newly added open callable in super class
^KT-53608
2022-10-20 10:18:56 +02:00
Dmitriy Dolovov ec4b85b111 [IR][tests] Add cases to visibility-related tests where a visibility of an open callable in super class is narrowed
^KT-53608
2022-10-20 10:18:56 +02:00
Dmitriy Dolovov 15cf2bab98 [IR][tests] Replace returned values in visibility-related tests
^KT-53608
2022-10-20 10:18:55 +02:00
Dmitriy Dolovov f846ecf7d7 [IR] Partial linkage: Avoid overriding of private callable members
^KT-53608
2022-10-20 10:18:55 +02:00
Dmitriy Dolovov 84b3e7bfbe [IR] Minor: Code cleanup 2022-10-20 10:18:55 +02:00
Dmitriy Dolovov 64867a1627 [IR][tests] Rename top-level declarations in visibility-related tests to distinguish them from nested declarations 2022-10-20 10:18:55 +02:00
Dmitriy Dolovov 71d51801ce [IR] Partial linkage fix: Implement abstract fake overrides in non-abstract classes so that there are no call sites that still refer to abstract fake overrides
^KT-53663
2022-10-20 10:18:54 +02:00
Dmitriy Dolovov cb20998d93 [IR] Allow different origins in Ir[Function|Property]WithLateBinding
^KT-53663
2022-10-20 10:18:54 +02:00
Dmitriy Dolovov 859c465b9e [IR] Rename IrFakeOverride[Function|Property] to Ir[Function|Property]WithLateBinding
^KT-53663
2022-10-20 10:18:54 +02:00
Dmitriy Dolovov 296c1cbd0f [Native][tests] Add partial linkage tests (muted) for replacement-of-return-type case
^KT-51707
2022-10-20 10:18:54 +02:00
Dmitriy Dolovov 24d8ac97cd [IR][tests] Make ABI compatibility tests less verbose, part 2 2022-10-20 10:18:54 +02:00
Dmitriy Dolovov db1c8cc7a7 [IR][tests] Make ABI compatibility tests less verbose, part 1 2022-10-20 10:18:53 +02:00
Dmitriy Dolovov 437d6b8391 [IR][tests] AbstractJsKLibABITestCase - forgotten super.tearDown() call 2022-10-20 10:18:53 +02:00
Dmitriy Dolovov 3569ec7666 [IR][tests] New test: change of visibility for callables 2022-10-20 10:18:53 +02:00
Dmitriy Dolovov 8374b2da85 [IR][tests] New test: non-abstract callable member in abstract class becomes abstract
^KT-53663
2022-10-20 10:18:53 +02:00
Dmitriy Dolovov 94f9963230 [Native][tests] Update test warnings filter to reflect changes in partial linkage warnings 2022-10-20 10:18:52 +02:00
Dmitriy Dolovov 4d056b211e [IR][tests] Update tests to reflect changes in partial linkage error messages 2022-10-20 10:18:52 +02:00
Dmitriy Dolovov 12c6015d5e [IR] Partial linkage: report the exact IR element where unlinked symbols are used 2022-10-20 10:18:52 +02:00
Mikhail Glukhikh bd3e3e2524 Make some features targeting 1.8/1.9 bug fixes (was forgotten before) 2022-10-19 17:24:46 +00:00
Dmitriy Dolovov 9b199a174d [IR][tests] Partial linkage: Fix JS tests after rebasing
^KT-53608
2022-10-19 13:46:25 +00:00
Dmitriy Dolovov 125507b559 [IR][JS] Partial linkage: Temporarily mute tests that fail with IR IC turned on 2022-10-19 13:46:24 +00:00
Dmitriy Dolovov f048e3ddf7 [IR][tests] Refactoring: Get rid of AbstractKlibABITestCase 2022-10-19 13:46:24 +00:00
Dmitriy Dolovov b5655dfaac [IR][tests] Ignore muted ABI compatibility tests 2022-10-19 13:46:23 +00:00
Dmitriy Dolovov 6f8c2a36f9 [IR][JS] Partial linkage: Support KLIB ABI compat tests w/ and w/o IC 2022-10-19 13:46:23 +00:00
Dmitriy Dolovov afcf78ac94 [IR][JS] Partial linkage: Add IDEA run configurations for tests w/ and w/o IC 2022-10-19 13:46:23 +00:00
Dmitriy Dolovov 460e21c7bc [IR][JS] Partial linkage: Enable PL for IR IC compiler 2022-10-19 13:46:22 +00:00
Dmitriy Dolovov 2f9d6f6c44 [IR] Partial linkage: Rename UnlinkedDeclarationsSupport to PartialLinkageSupport 2022-10-19 13:46:22 +00:00
Dmitriy Dolovov 15635482aa [IR] Partial linkage: Enable it by just passing a boolean flag to IR linker constructor 2022-10-19 13:46:22 +00:00
Dmitriy Dolovov a0fdf08b56 [IR] Partial linkage: unify UnlinkedDeclarationsSupport for JS and Native backends 2022-10-19 13:46:21 +00:00
Artem Kobzar 7b9aed25da [K/JS] Add the ability to turn off polyfills generating 2022-10-19 12:52:23 +00:00
Jinseong Jeon dbf0ba442a (U|S)LC: fix getText for modifier list / accessor 2022-10-19 14:17:36 +02:00
Jinseong Jeon e1344968ec (S|U)LC: fix getTextOffset and getTextRange for modifier list of accessors
in a similar way 36e1149e did for property accessors
2022-10-19 14:17:36 +02:00
Jinseong Jeon 19151fa866 SLC: fix getTextOffsets and getTextRange for accessors
Same idea from LC fix at 36e1149e
2022-10-19 14:17:36 +02:00
Jinseong Jeon ae437716d6 SLC: remove unnecessary overridden kotlinOrigin for accessor
Same as the declaration in the base class SymbolLightMemberBase
2022-10-19 14:17:36 +02:00
Dmitriy Novozhilov 8fbb605034 [FIR] Rename containingClass function to containingClassLookupTag
Since this function returns lookup tag instead of FirClass or symbol
  the old name may lead to misunderstanding
2022-10-19 11:09:34 +00:00
Dmitriy Novozhilov be3f8e7eb0 [FIR] Remove redundant opt-ins to ExperimentalStdlibApi in FIR modules 2022-10-19 11:09:33 +00:00
Dmitriy Novozhilov fa9f0bcf84 [FIR] Ignore CFA-only edges in DFA even if they are dead
^KT-53920 Fixed
2022-10-19 11:09:33 +00:00
Dmitriy Novozhilov 0eb34983cb [Assign plugin] Fix experimentality warning message 2022-10-19 11:09:33 +00:00
Dmitriy Novozhilov 248c45acb3 [FIR] Properly set resolvedToCompanionObject field for lhs of GetClassCall
^KT-54209 Fixed
2022-10-19 11:09:32 +00:00
Dmitriy Novozhilov 55aae5325c [Test] Add test for KT-54209 2022-10-19 11:09:32 +00:00
Dmitriy Novozhilov 64e21af03b [FIR] Consider containing class during visibility check of static function call
^KT-53441
2022-10-19 11:09:32 +00:00
Dmitriy Novozhilov a14cab7245 [FIR] Add pretty toString to Candidate 2022-10-19 11:09:31 +00:00
Dmitriy Novozhilov 5665139865 [Test] Add test for KT-54125 2022-10-19 11:09:31 +00:00
Dmitriy Novozhilov fa697f4eab [Build] Exclude atomicfu-runtime from JPS build 2022-10-19 11:09:31 +00:00
Dmitriy Novozhilov d39c019051 [FE] Add toString to NewConstraintError 2022-10-19 11:09:30 +00:00
Jerome Prinet 74ba175255 Update Gradle Enterprise plugin to 3.11.2 2022-10-19 12:41:51 +02:00