Leonid Startsev
6ef597a4ee
Split ContextualSerialization annotation in two
2020-07-08 20:15:56 +03:00
Natalia Selezneva
3d91c410e7
*.gradle.kts: include project sources in script dependencies sources scope
...
^KT-39523 Fixed
2020-07-08 18:30:02 +03:00
Natalia Selezneva
93d7015139
Remove old roots from KotlinScriptDependenciesCLassFinder
...
Otherwise it may produce an exception that some invalid roots are returned by ScriptClassRootsCache
2020-07-08 18:30:01 +03:00
Natalia Selezneva
8bb3c0796d
Add original errors into the IllegalStateException from import of build script models
...
This exception is needed to finish gradle import and avoid importing other models into IDE
In most cases this exception is repoted together with Gradle exception from import,
but as soon as it it visible in UI we add some clarification which errors are happened
2020-07-08 18:28:08 +03:00
Jinseong Jeon
3afc37438e
FIR: handle getClassCall with integer literals
2020-07-08 18:23:27 +03:00
Vladimir Ilmov
7f472ba24e
Switch to isApplicableAsync instead of isApplicable in ToStringRenderer
...
#KT-39717 fixed
2020-07-08 16:15:46 +02:00
Ilya Goncharov
3d9353f7f5
[Gradle, JS] Add test on dependencies clash
...
^KT-40093 fixed
2020-07-08 16:10:46 +03:00
Ilya Goncharov
2e2a5a0156
[Gradle, JS] Update version in package.json with file dependency
...
^KT-40093 fixed
2020-07-08 16:10:39 +03:00
Mikhail Zarechenskiy
2bb9838a80
Add test for obsolete issue
...
The problem was fixed in d51bb2c053
#KT-37692 Obsolete
2020-07-08 15:30:20 +03:00
Yunir Salimzyanov
78a4563baf
Update versions of database files to correctly sync muted tests
...
Cause: bunch files were updated to 201
2020-07-08 14:57:07 +03:00
Lilia
53b2fe9fd8
Add changelog for 1.4-M3 & 1.3.72 plugins update
2020-07-08 13:26:51 +02:00
Toshiaki Kameyama
d2deff4864
Add "Replace with 'equals(..., ignoreCase = true)'" inspection
...
#KT-40016 Fixed
2020-07-08 12:38:30 +02:00
Dmitriy Novozhilov
a5bfa3ae63
[FIR-TEST] Update broken testdata
2020-07-08 12:13:33 +03:00
Dmitriy Novozhilov
86791f1fef
[FIR] Fix parsing fun modifier for interfaces in light-tree2fir
2020-07-08 12:13:32 +03:00
Dmitriy Novozhilov
58af8d68a1
[FIR] Check for isFun flag in SAM resolution
2020-07-08 12:13:32 +03:00
Dmitriy Novozhilov
d1cb776e29
[FIR] Assume all java interfaces are fun interfaces
2020-07-08 12:13:32 +03:00
Dmitriy Novozhilov
a3a79e4295
[FIR] Update testdata due to incorrect SAM detection
2020-07-08 12:13:32 +03:00
Dmitriy Novozhilov
29849b1330
[FIR] Resolve rhs of += in dependent context
2020-07-08 12:13:31 +03:00
Vladimir Dolzhenko
943b59b5d8
Do not provide idea.platform.prefix in run configurations for IJ Ultimate 201+
2020-07-08 10:26:18 +02:00
Alexander Dudinsky
38535c4fe1
New type of task - TestAggregation task
...
You can configure smoke test suites and get critical test results faster
This doesn't replace rr/* builds, but complements them for a faster round trip.
Also test tasks and patterns were added for KMM team.
#KMM-265
2020-07-08 11:23:03 +03:00
Sergey Rostov
ebc4910834
ScriptTemplatesClassRootsIndex: inc version and minor fixes
...
Content was changed, so we should force reindex.
2020-07-08 11:03:25 +03:00
Mikhail Glukhikh
4a988f467a
[FIR2IR] Code cleanup: DelegatedMemberGenerator
2020-07-08 10:05:07 +03:00
Juan Chen
d163853c97
[FIR] add support for implementation by delgation
...
This commit handles "subclass: super-interface by delegate-expression".
During Psi2Fir, for each delegate, we add to the subclass a synthetic
field (which has type super-interface), and an assignment of the
delegate-expression to the synthetic field in the primary constructor,
so that the delegate-expression can be resolved and transformed along
the way.
During Fir2Ir, we look up delegatable members from the super-interface
and generate corresponding functions/properties for the subclass.
TODO: support for generic delegatable members and generic
super-interface.
2020-07-08 09:42:24 +03:00
Natalia Selezneva
1d45dc8d81
Optimize ScriptTemplatesFromDependenciesProvider
...
No needs to convert file.url to VirtualFile
because index already has getContainingFiles method
Do not iterate through all children of VirtualFile
to avoid VFS events initialisation for those files
there is no guarantee that file is under source root
so is can be not present is vfs at this moment
2020-07-07 23:26:58 +03:00
Vladimir Dolzhenko
45600830d3
Fixed locking granularity in ScriptDefinitionsManager
...
#KT-34552 Fixed
#KT-39547 Fixed
2020-07-07 19:15:32 +00:00
simon.ogorodnik
77ccb3767c
[FIR] Add system property selector for lightTree2fir / psi2fir
2020-07-07 21:47:24 +03:00
simon.ogorodnik
a460b8f2f4
[FIR] Support source directories for lightTree2fir
2020-07-07 21:47:24 +03:00
simon.ogorodnik
6c7a40627f
[FIR] Forbid constructors in processFunctionsByName
2020-07-07 21:47:24 +03:00
simon.ogorodnik
6bc654ee49
[FIR] Add full compiler pipeline modularized test
...
Fixup: allow kotlin package
2020-07-07 21:47:24 +03:00
simon.ogorodnik
b48dfe9b3d
Allow dirs as content root in modularized tests
2020-07-07 21:47:24 +03:00
simon.ogorodnik
bf1c3777ab
Add IR specific timing measurements to performance manager
2020-07-07 21:47:24 +03:00
simon.ogorodnik
0de70d295a
Fix argument names
2020-07-07 21:47:23 +03:00
simon.ogorodnik
b401443dbd
Compute GC metrics only during compilation
2020-07-07 21:47:23 +03:00
simon.ogorodnik
6095ec66ed
Allow to pass external performance manager to compiler
2020-07-07 21:47:23 +03:00
Alexander Udalov
8c71d8f126
Undeprecate VariableDescriptorWithAccessors.isDelegated
...
Apparently there's quite a few valid usages of this method outside of
the compiler frontend, where manual suppression is annoying.
2020-07-07 18:09:40 +02:00
Jinseong Jeon
50b2ea7053
FIR: avoid cast exception in Candidate.prepareExpectedType
2020-07-07 16:55:53 +03:00
Nick
a5f34a880c
[FIR] Fix computeTypeArguments() & add diagnostic for type args
2020-07-07 15:52:17 +03:00
Stanislav Erokhin
8772fabc4f
Fix since-build version for AS 3.6 and AS 4.0
2020-07-07 15:40:02 +03:00
Nikita Bobko
50d2b963cc
Revert "202: Fix GradleFacetImportTest#testJDKImport test" for 193 bunch
...
This fixes test in 193 and 192 bunch
2020-07-07 12:29:19 +00:00
Nikita Bobko
496b8d5bd4
Create 193 bunch for GradleFacetImportTest.kt
2020-07-07 12:29:18 +00:00
Anton Bannykh
0885d608d8
JS IR: normalize the generate file path in the box tests
2020-07-07 13:00:42 +03:00
Ilya Goncharov
bb35509c38
[Gradle, JS] Warning on missed types and typings on genext npm dep
...
#KT-38331 fixed
2020-07-07 12:10:13 +03:00
Ilya Goncharov
1b3b2e539c
[Gradle, JS] Not run separate dukat if there is no d ts files
...
^KT-38331 fixed
2020-07-07 12:09:58 +03:00
Jinseong Jeon
a18bd1bb75
FIR deserializer: use annotation info from enclosing class for companion object
2020-07-07 11:43:51 +03:00
Jinseong Jeon
81345bcc26
FIR deserializer: load annotations on inner classes
2020-07-07 11:43:51 +03:00
Victor Petukhov
c588bc604d
NI: do substitution stub types during updating trace for lambda (these stub types can appear from the builder inference as postponed variables)
...
^KT-40060 Fixed
2020-07-07 11:17:06 +03:00
Victor Petukhov
eec3a4720c
NI: don't collect members if a receiver type is StubType to avoid creating error candidates instead of not crating them at all
...
^KT-37717 Fixed
2020-07-07 11:17:06 +03:00
Ivan Kylchik
989e4293a3
[FIR] Fix exhaustiveness check in case of sealed subclass
...
The problem appear because check was performed only on direct children
of sealed class. To fix this, heritage tree is built and used in check
#KT-38989 Fixed
2020-07-07 10:58:06 +03:00
Nick
40cd30f7f6
[FIR] Partial performance fix for the effective visibility checker
2020-07-07 10:24:04 +03:00
Leonid Startsev
80561ec125
Update kx.serialization dependency
...
so tests won't fail due to
'library was compiled with pre-release flag' error.
Update test data
2020-07-07 01:14:32 +03:00