This project is mirrored from https://gitee.com/mirrors/intellij-community.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 23 May, 2022 7 commits
    • sebastian.sellmair's avatar
      [Kotlin][Import] Require and setup JDK_11 for running tests with Android · 92305c9d
      sebastian.sellmair authored
      KTIJ-21692
      
      (cherry picked from commit f0e6aec4b3e3b11f6ba34ecb5ab83a8acb5ca619)
      
      GitOrigin-RevId: 7b4b75445c868a75c5652dc1f6a228675981fb45
      92305c9d
    • Stanislav Erokhin's avatar
      [kotlin] Unmute IrKotlinEvaluateExpressionTestGenerated$SingleBreakpoint$Uncategorized.testKt29179 · af1b2894
      Stanislav Erokhin authored
      GitOrigin-RevId: c063148e76f8060690a1ffd8ab68235bfd6258ae
      af1b2894
    • Stanislav Erokhin's avatar
      [kotlin] Update testdata for FindUsagesTestGenerated$Kotlin$Conventions$Uncategorized.testEquals · 065d7d54
      Stanislav Erokhin authored
      In kotlin/1564f2c549bbdff361c02f71aa128e06274336ce equals/toString methods were added
      to the primitives. So now, equals on Int are actually resolved to the Int.equals
      and not to Any.equals as before.
      
      GitOrigin-RevId: 19b86ad920266d72689972354be0c9d3087a8a1f
      065d7d54
    • Stanislav Erokhin's avatar
      [kotlin] Update testdata for FE1LegacyUastResolveEverythingTestGenerated,... · 27e3afc4
      Stanislav Erokhin authored
      [kotlin] Update testdata for FE1LegacyUastResolveEverythingTestGenerated, KotlinUastResolveEverythingTest
      
      In kotlin/1564f2c549bbdff361c02f71aa128e06274336ce equals/toString methods were added
      to the primitives.
      
      Also, for some reason, Int#toString method (and others from built-ins)
      is rendered as `null: null`. I don't know why, but that's how it works
      
      GitOrigin-RevId: 50a1f9eacf7250edc7c7ddefaeb7e440238f1c22
      27e3afc4
    • Stanislav Erokhin's avatar
      [kotlin] Update testdata for BuiltInsReferenceResolverTest#[testEquals, testToString] · 08edddca
      Stanislav Erokhin authored
      In kotlin/1564f2c549bbdff361c02f71aa128e06274336ce equals/toString methods were added
      to the primitives
      
      GitOrigin-RevId: 8a54873b34008aebe736b7073a7f7e93893bc108
      08edddca
    • Stanislav Erokhin's avatar
      [kotlin] Fix test BuiltInsReferenceResolverTest#testAllReferencesResolved · 623d3866
      Stanislav Erokhin authored
      So... this test actually doing the following:
      - loading the built-ins from the class path
      - for every declaration from built ins it is trying to navigate to the
      sources
      - sources here are provided by KotlinArtifacts
      
      This test was broken since the kotlin/1564f2c549bbdff361c02f71aa128e06274336ce
      That had happened by two reasons.
      1) in the mentioned commit some methods were annotated with the new
      annotation (IntrinsicConstEvaluation) with runtime retention.
      Because this annotation has the runtime retention, it became a part of the
      key in the ByDescriptorIndexer.
      2) `intellij.platform.core` also contains the stdlib but some old version bundled
      into the platform. So we are loading the built-ins with an old version without
      IntrinsicConstEvaluation and then trying to navigate to the sources with this annotation.
      
      So this commit are fixing the reason number 2 -- so we will use the built-ins with the same version.
      That is quite logical btw, because some methods could be legitimately changed in the built-ins
      so the same version should be used in the first place.
      
      Also, it is a bit strange, that we are using platform stdlib in the tests, because on runtime
      we are actually having our own stdlib inside the kotlin plugin at the moment.
      
      This test are using builtIns loaded from classpath and trying to navigate
      to the source code. This test are using KotlinArtifacts to set up the project
      with the sources, so it will use the stdlib with the version specified
      in .libraries/kotlinc_kotlin_dist.xml.
      
      But `intellij.platform.core` also contains the stdlib,
      but some old version. And primitives were recently changed
      in the kotlin/1564f2c549bbdff361c02f71aa128e06274336ce --
      binary annotation was added (IntrinsicConstEvaluation)
      
      GitOrigin-RevId: 2634a4c9588aabdecc62f2af76e4bcba6bdc5179
      623d3866
    • Stanislav Erokhin's avatar
      [kotlin] Update testdata for KotlinReferenceTypeHintsProviderTestGenerated · f06edcd9
      Stanislav Erokhin authored
      Source code of the Primitives.kt was changed in the kotlin/1564f2c549bbdff361c02f71aa128e06274336ce
      
      GitOrigin-RevId: 01838c3fbfb3de960ed9be1314561f2e119f208b
      f06edcd9
  2. 19 May, 2022 2 commits
  3. 13 May, 2022 31 commits