Commit Graph

  • aeeb64b9ef [LL FIR] LLFirResolveTarget: more accurate toString Dmitrii Gridin 2023-09-11 18:18:31 +02:00
  • 6893c44a06 [LL FIR] merge LLFirResolveTargetWithDedicatedElement into LLFirResolveTarget Dmitrii Gridin 2023-09-11 18:15:49 +02:00
  • fd25531268 [LL FIR] LLFirResolveTargetWithDedicatedElement: implement common toStringForTarget Dmitrii Gridin 2023-09-11 18:11:03 +02:00
  • 3432e8d1f9 [LL FIR] LLFirResolveTarget: move util to a separate file Dmitrii Gridin 2023-09-11 17:10:49 +02:00
  • 53584cdd49 Don't emit CAST_NEVER_SUCCEEDS when casting to a forward declaration type Timofey Solonin 2023-09-11 11:13:55 +02:00
  • 28f90b3ea8 Add CAST_NEVER_SUCCEEDS diagnostic to forwardDeclarations.kt Add safe as casts to forwardDeclarations.kt Timofey Solonin 2023-09-11 11:15:51 +02:00
  • f5bd7cee05 [K/N] Adjust filecheck tests for atomic intrinsics to -opt mode Vladimir Sukharev 2023-09-13 17:46:22 +00:00
  • c637a228eb [K/N] Fix filecheck kt53621 tests on linux arm64. Alexander Shabalin 2023-09-13 14:30:43 +02:00
  • 7b50506aea KT-61889 [AA] Migrate KtFirReferenceShortener to ContextCollector Roman Golyshev 2023-09-11 12:57:08 +02:00
  • ce900063c0 [LL FIR] reduce number of in-block modifications Dmitrii Gridin 2023-09-08 16:02:29 +02:00
  • 431f4a8bd3 [Build] Remove junit from versions.properties Alexander.Likhachev 2023-09-13 12:03:28 +02:00
  • 14e23a7d84 [K/N] Cache FqNames computed from ClassIds in KonanMangler Sergej Jaskiewicz 2023-09-13 13:37:08 +02:00
  • 904f8706ee [K/N] Don't use reflection in irText tests for obtaining manglers Sergej Jaskiewicz 2023-09-05 18:39:23 +02:00
  • 9eba17d631 [K/N] Move Native-specific mangle constants to more suitable places Sergej Jaskiewicz 2023-09-05 16:55:34 +02:00
  • 08a9e7eae9 [IR] Outline the main logic in annotation-related helpers Sergej Jaskiewicz 2023-09-05 15:46:19 +02:00
  • 157ab48fde [K/N] Delete unused methods in ObjCInterop.kt Sergej Jaskiewicz 2023-08-28 16:19:15 +02:00
  • e3b5dc509c [K/N] De-duplicate code for mangling objc interop function names Sergej Jaskiewicz 2023-08-24 15:13:45 +02:00
  • 0fd4f10f6c [K/N] Avoid magic strings in KonanMangler Sergej Jaskiewicz 2023-08-23 17:09:37 +02:00
  • ddfd94b3b2 [K/N] Move KonanMangler to a new common module Sergej Jaskiewicz 2023-08-23 16:59:34 +02:00
  • d1127f1a31 [K/N] Move IR-related ObjC interop helpers to a new common module Sergej Jaskiewicz 2023-08-23 12:59:18 +02:00
  • 5cb252fe49 [descriptors] Move DeclarationDescriptor#findPackage helper to core Sergej Jaskiewicz 2023-08-23 12:52:15 +02:00
  • dff2d2ed60 [descriptors] Move some annotation-related utilities to the core module Sergej Jaskiewicz 2023-08-22 20:27:53 +02:00
  • 56cb0bf071 [utils] Move atMostOne to core/util.runtime Sergej Jaskiewicz 2023-08-22 21:07:15 +02:00
  • fa600a58ac [FIR] Fix analysis of FirScript contents Nikolay Lunyak 2023-09-08 13:19:39 +03:00
  • a1cb6258bc [FIR] Stop using .fir when checking conflicts Nikolay Lunyak 2023-09-06 09:38:34 +03:00
  • 942bff8a03 [FIR] Take constructors from scopes when checking conflicts Nikolay Lunyak 2023-08-31 11:55:22 +03:00
  • f719436d1f [FIR] Report top-level conflicts between TA constructors and funs Nikolay Lunyak 2023-09-05 15:10:17 +03:00
  • 01d4f25363 [FIR] Move TypeAliasConstructorsSubstitutingScope Nikolay Lunyak 2023-09-05 15:09:56 +03:00
  • c4201101ac [K/N] K2/MPP: Move stdlib to the head of dependency list. Vladimir Sukharev 2023-09-13 13:56:21 +00:00
  • fbeed67931 [Gradle] Mark KotlinTopLevelExtension.useCompilerVersion as experimental Alexander.Likhachev 2023-09-13 04:29:04 +02:00
  • f9712597e1 IR: support IrExternalOverridabilityCondition in IrOverrideChecker Alexander Udalov 2023-09-05 19:57:31 +02:00
  • 86eb79e095 IR: extract IrOverrideChecker to separate file Alexander Udalov 2023-09-08 23:48:17 +02:00
  • 57c1df7875 IR: extract FakeOverrideBuilderStrategy to separate file Alexander Udalov 2023-09-08 21:19:19 +02:00
  • 0afee8685a IR: remove unused parameter of IrOverridingUtil.isOverridableBy Alexander Udalov 2023-09-08 21:17:25 +02:00
  • 94e1c0e9fe Tests: fix unmute check for fake override rebuilder tests Alexander Udalov 2023-09-06 16:30:26 +02:00
  • 21d56d04d6 Tests: reclassify some failures in fake override rebuilder tests Alexander Udalov 2023-09-06 15:01:56 +02:00
  • b650f0ce8e IR: slightly refactor FakeOverrideRebuilder Alexander Udalov 2023-09-05 16:18:09 +02:00
  • fd68b9f49c CLI: add -Xuse-ir-fake-override-builder Alexander Udalov 2023-09-04 18:02:18 +02:00
  • d528faa0fe Minor, add toString to OverrideCompatibilityInfo Alexander Udalov 2023-09-05 15:30:31 +02:00
  • 024fd9e21a [FIR JS] Don't raise diagnostic PROPERTY_AS_OPERATOR for dynamic types. Vladimir Sukharev 2023-09-13 12:58:15 +00:00
  • 8d5787db12 [Analysis API FIR] KtFirValueParameterSymbol: fix expection Dmitrii Gridin 2023-09-13 12:10:07 +02:00
  • 1843eeb16b [FIR] Drop visualizer module Ivan Kylchik 2023-09-12 12:18:31 +02:00
  • 2cd504b675 [FIR] Drop old TODO from LightTreeRawFirDeclarationBuilder Ivan Kylchik 2023-09-12 10:49:55 +02:00
  • ce65d3c7b8 [FIR] Set source on callee reference of implicit invoke receiver Kirill Rakhman 2023-09-13 12:08:36 +02:00
  • a224f9db34 [JS Tests] Regenerate tests Alexander Korepanov 2023-09-12 16:24:58 +02:00
  • be4f6beddb [JS Tests] Prepare JS tests for testing backend diagnostics Alexander Korepanov 2023-09-12 17:00:40 +02:00
  • b672ba8eaf KTIJ-25563: Add upToDateWhen condition to CInterop task outputs Konstantin Tskhovrebov 2023-09-05 17:28:25 +02:00
  • 503c1a2eb6 [K/N] Fix kt53261_noinline_NonNullNativePtr.kt with K2 Alexander Shabalin 2023-09-13 11:03:11 +02:00
  • d8c80b0270 Fix parameters matching for suspend functions Vladimir Dolzhenko 2023-09-13 11:59:02 +00:00
  • 8e0c2af176 [FIR] Fix overload resolution ambiguity between expect and non-expect in native Ivan Kochurkin 2023-09-12 17:20:45 +02:00
  • 57357d1995 [FIR] Simplify filterOutActualizedExpectCandidates Ivan Kochurkin 2023-09-12 20:23:43 +02:00
  • ffd77850ef K2: add proper catch parameter annotation targeting Mikhail Glukhikh 2023-09-12 18:48:12 +02:00
  • 91aa679214 K2: reproduce KT-61691 Mikhail Glukhikh 2023-09-08 14:22:14 +02:00
  • aacfc31c90 [FIR] Resolve the continuation type inside createSuspendView() Nikolay Lunyak 2023-09-12 15:10:32 +03:00
  • 1467e743fd [FIR] Fix incorrect Java code in the test data Nikolay Lunyak 2023-09-04 15:40:50 +03:00
  • 34cb9aa659 [FIR] Don't miss VIRTUAL_MEMBER_HIDDEN Nikolay Lunyak 2023-09-11 09:20:36 +03:00
  • bab00255dc [K/N, Tests] Add diagnostic tests for SUPER_CALL_WITH_DEFAULT_PARAMETERS Vladimir Sukharev 2023-09-13 11:10:25 +00:00
  • f07028959d [FIR JS] Add more tests for JS_NAME_CLASH diagnostic Alexander Korepanov 2023-09-12 14:20:35 +02:00
  • 98fdaeb9a7 [FIR JS] Fix the false report of JS_NAME_CLASH on external generic class Alexander Korepanov 2023-09-12 14:21:01 +02:00
  • 9e7d9f3b53 Use llbuild.framework bundled with the internal toolchain Timofey Solonin 2023-09-12 11:12:20 +02:00
  • fd2954a8d3 Move DummyDelegate to :compiler:util Iaroslav Postovalov 2023-09-12 22:56:57 +02:00
  • 2578bfefd5 [K/JS] Add useEsClasses to list of compiler arguments that invalidate IC cache ^KT-61795 Fixed Artem Kobzar 2023-09-13 09:50:24 +00:00
  • 274d7ba47d [FIR] FirAbstractBodyResolveTransformerDispatcher: refactor code Dmitrii Gridin 2023-09-12 16:51:58 +02:00
  • 9d2d75313b [K/N][tests] Added a test for anonymous object in a top level inline fun Igor Chevdar 2023-09-04 17:37:47 +03:00
  • b66a6fcc08 [K/N][IR] Moved local declarations names invention down the pipeline Igor Chevdar 2023-09-04 17:36:42 +03:00
  • ac760cbbfb [K/N][tests] Refactored a bit test Igor Chevdar 2023-09-04 17:38:24 +03:00
  • 93dea12efe [IR] Supported top level local classes in names inventor Igor Chevdar 2023-09-04 17:33:02 +03:00
  • 52b0ea65d2 [KAPT4] KT-61761 Prevent Kapt from reporting unsupported plugin in K2/PSI strangepleasures 2023-09-12 16:58:38 +00:00
  • 6475942ced [KAPT4] A temporary workaround for KT-60482 strangepleasures 2023-09-12 16:58:13 +00:00
  • 7bc521ab92 [K/JS] Reset exceptionState inside coroutines with a finally block ^KT-58685 Fixed Artem Kobzar 2023-09-12 15:18:16 +00:00
  • 752ea6fd98 [AA] Add tests for scope context for position aleksandrina-streltsova 2023-09-12 14:40:50 +03:00
  • 6d00dcf972 [FIR] Strip comments in Fir2IrAnnotationsFromPluginRegistrar Dmitriy Novozhilov 2023-09-12 12:39:33 +03:00
  • 1f49266c4b [Test] Reproduce KT-61872 Dmitriy Novozhilov 2023-09-12 12:38:06 +03:00
  • 49071374b4 [FIR] Look for annotations generated by backend based on declaration-site session Dmitriy Novozhilov 2023-09-11 17:56:17 +03:00
  • 9514f8f873 [LL API] Fix analysis of functions inside code fragments Yan Zhulanow 2023-09-07 18:54:35 +09:00
  • 909f32ed54 Build: pass -Xexpect-actual-classes to some libraries compile tasks Alexander Udalov 2023-09-11 15:52:36 +02:00
  • d9da3973bb [FIR] Remove redundant overloads of allowsToHaveFakeOverride Kirill Rakhman 2023-09-08 10:23:02 +02:00
  • 2bc25d4f6e [FIR] Properly check for visibility in FirTypeIntersectionScopeContext Kirill Rakhman 2023-09-07 17:04:46 +02:00
  • d16f33cf5b JVM IR: do not collect all dependency modules in IDE Alexander Udalov 2023-09-04 15:55:53 +02:00
  • 11096325c8 [LL API] Fix 'this' capturing inside property accessors Yan Zhulanow 2023-09-07 23:53:03 +09:00
  • eab6e9bb36 Added tests for all code samples from KT-60523, except 2.3. Anastasia.Nekrasova 2023-09-11 19:59:15 +03:00
  • 2dae7ce6c1 [LT2FIR] Fix missing "expect" modifier on members of nested classes Roman Efremov 2023-09-08 16:44:25 +02:00
  • c6d7f15070 [FE] Fix checker of DEFAULT_ARGUMENTS_IN_EXPECT_WITH_ACTUAL_TYPEALIAS Roman Efremov 2023-09-08 12:23:45 +02:00
  • e0e2a57e3d [K/N] Add filecheck tests for atomic intrinsics Vladimir Sukharev 2023-09-11 21:28:34 +00:00
  • 1ff7841ac7 [K/N][IR] Renamed PreInlineLowering to TypeOfLowering Igor Chevdar 2023-09-04 14:13:39 +03:00
  • 8f3b9694f7 [K/N] Extracted asserts removal to a separate lowering Igor Chevdar 2023-07-20 13:53:22 +03:00
  • e8ca45378b [K/N] Moved couple of phases down the pipeline Igor Chevdar 2023-07-20 13:29:30 +03:00
  • ecb808992d [SLC] add more tests on vararg Dmitrii Gridin 2023-09-07 17:35:51 +02:00
  • 3a577e1c31 [Analysis API] add more tests for vararg parameters Dmitrii Gridin 2023-09-06 16:34:31 +02:00
  • f1e5a9b223 [FIR builder] create error types for vararg parameters correctly Dmitrii Gridin 2023-09-06 18:31:42 +02:00
  • c0c1966555 [FIR builder] add test for vararg parameter without type Dmitrii Gridin 2023-09-06 17:57:58 +02:00
  • 2566dabfce [FIR] Report INVISIBLE_REFERENCE on the first unresolved qualifier Kirill Rakhman 2023-09-08 14:34:12 +02:00
  • 2127b2ce68 expect/actual classes: experimental -> Beta Nikita Bobko 2023-09-05 12:08:35 +02:00
  • 0cd91d9286 Native: fix filecheck_signext_zeroext_objc_export and enable it back Svyatoslav Scherbina 2023-09-06 17:43:55 +02:00
  • f77f83e741 Native: fix support for cross-target filecheck tests Svyatoslav Scherbina 2023-09-07 10:29:16 +02:00
  • 5d88a1f1c3 [Native] Rename Lowerings to NativeLoweringPhases Ivan Kylchik 2023-09-08 10:25:46 +02:00
  • 386d69018d [JVM] Rename JvmLower to JvmLoweringPhases Ivan Kylchik 2023-09-08 10:25:28 +02:00
  • 16ae83bde0 [FIR] Fix Java sealed class inheritors Kirill Rakhman 2023-09-07 12:17:59 +02:00
  • 6405a174e2 [K/N] Do not CAS when marking newly allocated object Aleksei.Glushko 2023-09-09 12:42:54 +00:00
  • 2f22b0a6b0 [K/N] Migrate runtime/atomics tests to new testing infra ^KT-61259 Alexander Shabalin 2023-08-30 18:10:34 +02:00