Mikhail Glukhikh
0c0f4ef3db
FIR CFG: handle 'Dead' properly in edge kind merging
2020-05-13 10:37:08 +03:00
Mikhail Glukhikh
41f241f608
FIR CFG: merge DFA + CFA edge in Simple edge
2020-05-13 10:37:08 +03:00
Mikhail Glukhikh
32cfee50e0
FIR CFG: remove duplicating lambda enter -> exit connection
2020-05-13 10:37:08 +03:00
Mikhael Bogdanov
5ef37148ea
Add flag for proper array convention with default args calls
2020-05-13 08:51:57 +02:00
Mikhail Bogdanov
adc770b604
Process default arguments in array convention calls
...
#KT-16520 Fixed
2020-05-13 08:51:57 +02:00
Mikhail Bogdanov
3134832396
Call missed visit method on ClassWriter in IC caching
...
Otherwise ASM fails with error on invalid frames because bytecode version is 0
2020-05-13 06:29:23 +02:00
Sergey Rostov
4daac14008
Revert due to massive flaky tests
2020-05-12 23:01:01 +03:00
Vladimir Ilmov
5228da2ebc
(CoroutineDebugger) 192/as36 compilation fix
2020-05-12 19:50:27 +02:00
Alexander Udalov
4597fff18a
Prohibit OptionalExpectation on nested annotation classes
...
Because the new generation scheme based on module metadata does not
support them, and we don't plan to have them in the standard library
yet.
2020-05-12 19:28:58 +02:00
Alexander Udalov
012ffa2993
Support new scheme of compilation of OptionalExpectation annotations
...
Instead of generating these annotation classes as package-private on
JVM, serialize their metadata to the .kotlin_module file, and load it
when compiling dependent multiplatform modules.
The problem with generating them as package-private was that
kotlin-stdlib for JVM would end up declaring symbols from other
platforms, which would include some annotations from package
kotlin.native. But using that package is discouraged by some tools
because it has a Java keyword in its name. In particular, jlink refused
to work with such artifact altogether (KT-21266).
#KT-38652 Fixed
2020-05-12 19:28:57 +02:00
Sergey Rostov
63e355d979
Scripting IDE cache: unblocking concurrent update
...
#KT-38875 Fixed
2020-05-12 19:49:43 +03:00
Jinseong Jeon
30e5748fec
FIR: set proper visibility of property accessors.
2020-05-12 19:47:37 +03:00
Ilya Gorbunov
5d724a8cbc
Fix samples package import
...
Dokka can only clean samples.* import when converting samples to
runnable.
2020-05-12 17:35:33 +03:00
Kirill Shmakov
84c6c365db
Wizard: Reorder build phases in iOS template (fix KT-38810)
2020-05-12 17:32:37 +03:00
Kirill Shmakov
cc7b8cc558
Wizard: Add KMM-related property in iOS template gradle.properties
2020-05-12 17:32:37 +03:00
Igor Yakovlev
84a582c618
Fix escaping const string literals in UL
...
Fixed #KT-38247
2020-05-12 17:04:16 +03:00
Igor Yakovlev
9f8044ff1b
Fix ultraKtLightClassForFacade compiler backend call
...
+minor fixes
2020-05-12 17:04:16 +03:00
Igor Yakovlev
62c24c95b5
Add support for UltraLightScripts
2020-05-12 17:04:15 +03:00
Mikhail Glukhikh
6a2461f2c6
[FIR] Refactor boolean flags related to constructors: !no -> include
2020-05-12 16:57:08 +03:00
Mikhail Glukhikh
db694dd7ab
[FIR] Extract ConstructorScopeTowerLevel
2020-05-12 16:57:08 +03:00
Mikhail Glukhikh
22e7264460
[FIR] Use all implicit receivers for del. constructors, not just one
2020-05-12 16:57:08 +03:00
Mikhail Glukhikh
535b4434a8
[FIR TEST] Add extra test for inner classes inside hierarchy
2020-05-12 16:57:08 +03:00
Mikhail Glukhikh
f48ff2679e
[FIR] Branch delegating constructor call resolve by isInner from start
2020-05-12 16:57:07 +03:00
Mikhail Glukhikh
28c0dac36f
[FIR] Set FirJavaClass.isInner properly
2020-05-12 16:57:07 +03:00
Mikhail Glukhikh
3aca40538b
[FIR TEST] Fix error in exposedSupertype test
2020-05-12 16:57:07 +03:00
Mikhail Glukhikh
457fb09e3a
[FIR] Use tower to resolve delegated constructors, set dispatch receiver
2020-05-12 16:57:07 +03:00
Yaroslav Chernyshev
0b8c497d2e
[Import] Downgrade jvmTarget & move Models and ModelBuilderServices
...
Fixed KT-35921
Fixed KT-36673
2020-05-12 16:52:01 +03:00
Vladimir Ilmov
385ddba2d9
(CoroutineDebugger) Keep coroutine info list reference from collection
...
#KT-38606 Fixed
2020-05-12 15:39:36 +02:00
Vladimir Ilmov
5a5c1c3420
(CoroutineDebugger) Local variables should have precedence over restored.
2020-05-12 15:39:35 +02:00
Sergey Rostov
f19f49711c
Scripting: minor changes
2020-05-12 16:22:48 +03:00
Sergey Rostov
800fcc511a
JPS: ignore removed java files
...
#KT-27458 Fixed
2020-05-12 16:22:48 +03:00
Sergey Rostov
14bd6fe781
scripting ucache: update synchronously in unit test mode
2020-05-12 16:22:48 +03:00
Sergey Rostov
ac70234342
201: proper implementation for AsyncFileChangeListenerHelper.kt
...
updateFile is called before changes in vfs, so the timestamp is old there.
The proper implementation is to collect changed files in list and get timestamp in apply.
2020-05-12 16:22:48 +03:00
Sergey Rostov
9aa5f0c31a
Scripting unified cache: update sdks synchronously on changes
2020-05-12 16:22:48 +03:00
Sergey Rostov
9e96885586
GradleBuildRoot: don't store references to virtual files
2020-05-12 16:22:48 +03:00
Sergey Rostov
35765fe6e6
remove stale GradleScriptInputsWatcher references
2020-05-12 16:22:47 +03:00
Sergey Rostov
ed6e369735
minor: ScriptingSupport.Provider -> ScriptingSupport, KDoc
2020-05-12 16:22:47 +03:00
Sergey Rostov
33d79f9135
GradleScriptOutOfProjectTest: roots are already registered as legacy
2020-05-12 16:20:47 +03:00
Sergey Rostov
fc59e28610
Fix lastIndexOfOrNull
2020-05-12 16:20:47 +03:00
Sergey Rostov
a4c7981424
Scripting, minor: updateScriptDefinitions -> updateScriptDefinitionReferences
2020-05-12 16:20:47 +03:00
Sergey Rostov
0e5b981363
ScriptClassRootsCache, sdk: use toSystemIndependentName
2020-05-12 16:20:47 +03:00
Sergey Rostov
0404f4fd57
gradle.kts, minor: remove unused code
2020-05-12 16:20:47 +03:00
Sergey Rostov
4575a8cade
GradleScriptListenerTest: add gradle-wrapper.properties to specify gradle version explicitly
2020-05-12 16:20:47 +03:00
Sergey Rostov
fa679129d1
ScriptClassRootsUpdater, updateSynchronously: cancel before waiting for lock
2020-05-12 16:20:46 +03:00
Sergey Rostov
75e8f15b5e
ScriptClassRootsUpdater: fix clearing scheduledUpdate and check cancelled in sync
2020-05-12 16:20:46 +03:00
Sergey Rostov
a498171400
gradle.kts: remove LastModifiedFiles fs data when removing gradle root
2020-05-12 16:20:46 +03:00
Sergey Rostov
06e43027cf
gradle.kts, minor: move isInAffectedGradleProjectFiles inside GradleBuildRootsManager
2020-05-12 16:20:46 +03:00
Sergey Rostov
b2729f977a
GradleScriptListenerTest: link gradle project
2020-05-12 16:20:46 +03:00
Sergey Rostov
c0e9092f94
GradleBuildRootsManager: fix onProjectsLinked
2020-05-12 16:20:46 +03:00
Sergey Rostov
9302a620c2
GradleLegacyScriptListener: call from GradleScriptListener
...
GradleScriptListener is called from VFS listener
2020-05-12 16:20:46 +03:00