[FIR] Store enhanced functions and properties in session component

Previously enhanced symbols were cached inside SignatureEnhancement,
  which is created independently for each enhancement scope. This may
  cause creation of multiple enhanced symbols for same java declaration
  in presence of multiple scope sessions (mutithread compiler, IDE,
  separate scope session for checkers)

^KT-50858 Fixed
This commit is contained in:
Dmitriy Novozhilov
2022-01-19 12:11:55 +03:00
parent 4f967ce102
commit 345fdc214b
4 changed files with 43 additions and 19 deletions
@@ -1,5 +1,4 @@
// !LANGUAGE: -ProhibitConcurrentHashMapContains
// FIR_IDE_IGNORE
// FULL_JDK
class A : java.util.concurrent.ConcurrentHashMap<String, Int>() {