sebastian.sellmair
7c7eada452
Add comment about unsupported associate compilations to functionalTest source files
2020-11-24 13:16:10 +00:00
sebastian.sellmair
3f98e2974c
Expand AndroidSourceSet#kotlinSourceSet to AndroidSourceSet#kotlinSourceSetOrNull
2020-11-24 13:16:09 +00:00
sebastian.sellmair
3e5cbf324d
syncKotlinAndAndroidSourceSets.kt: Cover flavors with tests
2020-11-24 13:16:09 +00:00
sebastian.sellmair
cdfbbca580
Also register shaders for kotlin source sets
2020-11-24 13:16:08 +00:00
sellmair
2c325c45e2
Register Kotlin MPP source sets in AGP
...
^KT-43391 fixed
2020-11-24 13:16:07 +00:00
Dmitry Petrov
3a166f3592
KT-43525 forbid @JvmOverloads on mangled funs and hidden constructors
2020-11-24 16:06:20 +03:00
Alexander Udalov
ca78261d7f
Minor, fix "unknown -Xstring-concat mode" error message
2020-11-24 11:50:31 +01:00
Alexander Udalov
ed481add08
Fix performance regression in KotlinSuppressCache.isSuppressedByAnnotated
...
After a seemingly innocent refactoring in 61548a0a36 , we've lost the
optimization that was enabled by the suppressorAbove logic in
isSuppressedByAnnotated.
2020-11-24 11:49:31 +01:00
Ilya Goncharov
efee3ea648
[JS IR] - Remove file lowering declarations from lowering phases
...
- rename fileToPurenessInitializers onto fileToInitializerPureness
- remove redundant check on top-level property
[JS IR] Rename initialis* to initializ* for consistency
[JS IR] Move propertyLazyInitialization property to context from configuration
[JS IR] Add test on lazy initialization properties order
[JS IR] Add multi module for lazy initialization of properties
[JS IR] Move tests onto js.translator
[JS IR] Rename fileToInitializerPureness according to context name
^KT-43222 fixed
2020-11-24 12:33:44 +03:00
Ilya Goncharov
1b5ebd83de
[JS IR] Lazy initialisation is optional for tests
...
^KT-43222 fixed
2020-11-24 12:33:43 +03:00
Ilya Goncharov
a2d41b86bf
[JS IR] Add compiler argument about lazy initialisation
...
^KT-43222 fixed
2020-11-24 12:33:43 +03:00
Ilya Goncharov
fcb3ee5e45
[JS IR]Add check on pureness to not calculate fields to expression twice
...
^KT-43222 fixed
2020-11-24 12:33:42 +03:00
Ilya Goncharov
aa0f9dc1e2
[JS IR] Don't target exact wasm backend
...
^KT-43222 fixed
2020-11-24 12:33:42 +03:00
Ilya Goncharov
c224394dfc
[JS IR] Return with createdOn hack
...
^KT-43222 fixed
[JS IR] Not create initialisation function for file if there were attempt to create it earlier
^KT-43222 fixed
[JS IR] Pureness for PIR and memoize file fields pureness
^KT-43222 fixed
2020-11-24 12:33:42 +03:00
Ilya Goncharov
8b4d42e70a
[JS IR] Add initialisation call for functions in method
...
^KT-43222 fixed
2020-11-24 12:30:37 +03:00
Ilya Goncharov
06b276f9c3
[JS IR] Migrate on body lowering pass and declaration transformer
...
^KT-43222 fixed
2020-11-24 12:30:21 +03:00
Ilya Goncharov
99d0740234
[JS IR] Ignore JS_IR backend in top level side effect properties
...
^KT-43222 fixed
2020-11-24 12:30:04 +03:00
Ilya Goncharov
d6bc309c94
[JS IR] Eager initialisation for all pure properties
...
^KT-43222 fixed
2020-11-24 12:29:48 +03:00
Ilya Goncharov
3da9761f37
[JS IR] Add test on lazy initialisation
...
^KT-43222 fixed
2020-11-24 12:29:28 +03:00
Ilya Goncharov
f4c1e52338
[JS IR] Continuation parameter in main through accessor
...
^KT-43222 fixed
2020-11-24 12:29:11 +03:00
Ilya Goncharov
34ee146148
[JS IR] Internal visibility for init fun
...
^KT-43222 fixed
2020-11-24 12:28:57 +03:00
Ilya Goncharov
07b6ef65a3
[JS IR] Init delegated properties as usual
...
^KT-43222 fixed
2020-11-24 12:28:07 +03:00
Ilya Goncharov
841118a64d
[JS IR] Add init properties call to top level functions
...
^KT-43222 fixed
2020-11-24 12:27:51 +03:00
Ilya Goncharov
5746a7c4fc
[JS IR] Only consider top level properties
...
^KT-43222 fixed
2020-11-24 12:27:36 +03:00
Ilya Goncharov
0dc4f51d74
[JS IR] Add init function call into first step of property accessor
...
^KT-43222 fixed
2020-11-24 12:27:20 +03:00
Ilya Goncharov
71bfed3253
[JS IR] From searcher get only properties, mutate in lowering
...
^KT-43222 fixed
2020-11-24 12:27:04 +03:00
Ilya Goncharov
42e1a3280b
[JS IR] Add guard into init properties function
...
^KT-43222 fixed
2020-11-24 12:25:38 +03:00
Ilya Goncharov
d752b7439e
[JS IR] Add init function for properties
...
^KT-43222 fixed
2020-11-24 12:25:24 +03:00
Alexander Likhachev
003ea4bcdf
[Gradle, MPP] Make metadata jar task cc-compatible with warnings
...
#KT-43329 Fixed
2020-11-24 11:33:20 +03:00
Shagen Ogandzhanian
3282e092d8
[JS] Don't fail on recursive upper bounds while resolving JsExports
...
Fixes https://youtrack.jetbrains.com/issue/KT-42112
2020-11-23 18:01:00 +01:00
Jinseong Jeon
f9a032dbfa
FIR2IR: add AnnotationGenerator to Fir2IrComponents
2020-11-23 19:36:11 +03:00
Jinseong Jeon
eff4cec3e0
FIR2IR: convert annotations on delegated members
2020-11-23 19:36:10 +03:00
pyos
d980074624
FIR: deserialize the fun interface flag
2020-11-23 19:36:09 +03:00
pyos
20c7c4881d
FIR: fix @JvmPackageName
...
A single `JvmGeneratorExtensions` instance should be passed around.
2020-11-23 19:36:08 +03:00
Shagen Ogandzhanian
2d4e9af289
[JS IR] Throw exception if test class or test method has explicit parameter
...
resolves https://youtrack.jetbrains.com/issue/KT-41032
2020-11-23 15:47:32 +01:00
Ilya Kirillov
c4a8d1c3a1
FIR: use java functional interface as a source of sam function call
2020-11-23 15:31:31 +01:00
Ilya Kirillov
7b1eef136e
FIR IDE: introduce KtFirCollectionLiteralReference
2020-11-23 15:31:30 +01:00
Ilya Kirillov
bac5ebcb12
FIR IDE: use custom thread local value for storing KtFirScopeProvider
...
java.lang.ThreadLocal stores value maps in corresponding threads
which causes memory leaks
2020-11-23 15:31:29 +01:00
Ilya Kirillov
b31def0bae
FIR IDE: invalidate analysis session on project roots change
2020-11-23 15:31:26 +01:00
Ilya Kirillov
be95d067f3
FIR IDE: add KotlinOutOfBlockPsiTreeChangePreprocessor
2020-11-23 15:31:24 +01:00
Ilya Kirillov
7a86ca632d
FIR IDE: fix collecting diagnostics for anonymous object declaration
2020-11-23 15:31:20 +01:00
Ilya Kirillov
7061608567
FIR IDE: introduce common function to mute tests
2020-11-23 15:31:14 +01:00
Ilya Kirillov
e4d2e38ea2
FIR IDE: fix reference resolving of qualified expression with nested classes
2020-11-23 15:31:11 +01:00
Ilya Kirillov
164f4d14d7
FIR IDE: do not collect diagnostics for generated declarations
2020-11-23 15:31:08 +01:00
Ilya Kirillov
60cc30286c
FIR IDE: update file structure testdata after structure elements classes rename
2020-11-23 15:31:05 +01:00
Ilya Kirillov
75990f7619
FIR IDE: fix tesdata
2020-11-23 15:31:02 +01:00
Ilya Kirillov
7320620285
FIR IDE: add local visibility to symbols
2020-11-23 15:30:58 +01:00
Ilya Kirillov
5fdcc4bb83
FIR IDE: refactor KotlinFirModificationTrackerService
2020-11-23 15:30:55 +01:00
Ilya Kirillov
112f6771eb
FIR IDE: fix compilation
2020-11-23 15:30:51 +01:00
Ilya Kirillov
65b5e4b62b
FIR IDE: make some session components to be non-thread local
...
To avoid memory leaks
2020-11-23 15:30:47 +01:00