Ilya Goncharov
24e3310393
[Gradle, JS] Add check on run and dist task
...
- Check existence of compile output file to prevent fail in case of NO-SOURCE
#KT-31894 fixed
2019-12-23 11:29:17 +03:00
Dmitry Petrov
fefdce0406
KT-35550 Generate type parameters for delegating property accessors
2019-12-23 10:10:16 +03:00
Igor Yakovlev
4efab51751
Fix allopen call from UL methods
...
Fixed #KT-35577
2019-12-20 16:57:53 +03:00
Igor Chevdar
8d02d00f22
[IR Serialization] Removed native-specific hack in mangler
2019-12-20 16:13:11 +03:00
pyos
1f55b59fa3
Unmute a fixed Fir2IrText test
2019-12-20 15:12:37 +03:00
pyos
26822a0cde
Minor: IGNORE_BACKEND: ANY_FIR -> IGNORE_BACKEND_FIR: ANY
...
for consistency with blackbox tests.
2019-12-20 15:12:36 +03:00
Mikhail Glukhikh
38a3797325
Unmute FIR2IR test (due to fixed bug in FIR)
2019-12-20 14:44:46 +03:00
Ilya Kirillov
69e9ae94c6
Use snakeyaml from maven instead of from intellij
...
As new-project-wizard-cli module is not bundled into the plugin jar
2019-12-20 14:13:29 +03:00
pyos
2adcb5dec4
Add the ANY_FIR target for muting Fir2IrText tests
2019-12-20 13:03:39 +03:00
pyos
a4b005fd5d
PSI2IR: generate field writes for all val property assignments
...
Assuming the frontend is correct, and it hopefully is, all of them are
initializations even if not done in the owner class directly.
2019-12-20 13:03:39 +03:00
Ilya Kirillov
92f8432b1e
New J2K: Fix not converted jetbrains nullability annotations for types
...
it became broken after annotation started to be assigned to type elements
instead of declarations after 4da7d11
#KT-34987 fixed
2019-12-20 13:02:51 +03:00
Mikhail Zarechenskiy
3840294f44
Add tests for obsolete issues
...
#KT-11979 Obsolete
#KT-12898 Obsolete
#KT-30657 Obsolete
#KT-28446 Obsolete
2019-12-20 12:06:20 +03:00
Mikhail Zarechenskiy
c3ffef1840
Fix incorrect use of language feature
...
See #KT-34889 for details
2019-12-20 12:06:17 +03:00
Dmitriy Novozhilov
c94dd2939e
[NI] Add test for KT-32429
...
#KT-32429 Can't Reproduce
2019-12-20 11:33:06 +03:00
Dmitriy Novozhilov
e730965bc5
[NI] Approximate intersection type in type argument to star if it's necessary
...
#KT-32196 Fixed
2019-12-20 11:33:06 +03:00
Dmitriy Novozhilov
26f7bf1c21
Regenerate tests
2019-12-20 11:33:06 +03:00
Dmitriy Novozhilov
e466fd5196
[NI] Infer type variable to Nothing if all upper constraints are from upper bounds
...
#KT-32196 Fixed
2019-12-20 11:17:47 +03:00
Dmitriy Novozhilov
7fed7a840b
[NI] Update some testdata broken in NI
2019-12-20 11:17:47 +03:00
Ilya Kirillov
c311a66e5e
Fix 191 & as35 compilation
2019-12-20 04:15:26 +03:00
Ilya Kirillov
d6daaf14f8
Fix "Protected function call from public-API inline function is prohibited" error
2019-12-20 04:12:49 +03:00
Nikolay Krasko
2dcc617774
Minor: reformat
2019-12-20 02:39:05 +03:00
Nikolay Krasko
e99dc0f87f
Show only unique diagnostics in psi checker (KT-35578)
...
MissingDependencyClassChecker.collectDiagnostics now show only unique diagnostics
As per-file analyzer trace used in checker delegates to resolve session trace, diagnostics might be duplicated because of race condition:
1. If a non-checker thread performs analyze first, diagnostics for global elements will be stored in the resolve session trace only once.
2 If the checker threads comes to the analyze first, diagnostics will be stored in the local trace, and after that might be duplicated in the resolve session trace by other analyzers.
#KT-35578 Fixed
2019-12-20 02:39:05 +03:00
Nikolay Krasko
75beaa861f
Use abstract class to prevent GradleDaemonAnalyzerTestCase running as test
2019-12-20 02:37:57 +03:00
Nikolay Krasko
3e48494837
Proper ignore new daemon tests without warning about tests absence
2019-12-20 02:37:57 +03:00
Vyacheslav Gerasimov
19422b12b4
Build: Add buildScanUserData script gradle-build-scan-snippets
2019-12-19 20:51:05 +03:00
Victor Petukhov
c89def9e06
[minor] Update test data for 1.4
2019-12-19 19:31:32 +03:00
Michael Kuzmin
254dc8f71c
Build: Drop IntelliJ 2018.3 and Android Studio 3.4 support
...
Delete *.183 and *.as34 bunch-files
2019-12-19 18:31:07 +03:00
Ilya Chernikov
ae0efa77e3
[minor] updating fir testdata
2019-12-19 16:28:45 +01:00
Vyacheslav Gerasimov
75c94f3b0f
Build: Upgrade kotlin-build-gradle-plugin to 0.0.8
2019-12-19 17:45:31 +03:00
Vyacheslav Gerasimov
20faa9e3e4
Build: Make use of user & password properties in build cache configuration
2019-12-19 17:45:30 +03:00
Vyacheslav Gerasimov
e43ea7e183
Build: Add build cache user and password properties to BuildProperties
2019-12-19 17:45:30 +03:00
Simon Ogorodnik
1ee54d74d0
[FIR] Use FIR resolution API in explorer window
2019-12-19 17:36:13 +03:00
Simon Ogorodnik
87c698f843
[FIR] Remove obsolete total kotlin resolve test
2019-12-19 17:35:02 +03:00
Simon Ogorodnik
a3d531e8b4
[FIR] Extract jvm-only call conflict resolver
2019-12-19 17:34:56 +03:00
Simon Ogorodnik
05308a3652
[FIR] Introduce module for all jvm extensions
2019-12-19 17:30:12 +03:00
Mikhail Glukhikh
99489321f1
[FIR] Add forgotten test data for old FE test
2019-12-19 17:16:14 +03:00
Mikhail Glukhikh
fe8d68ecc7
Use different transformers per module in FIR diagnostics tests
...
Before this commit, we used same transformers for all modules,
which provoked using same ScopeSession for all modules.
Now we re-create transformers for any new module.
This fixes some problems with incorrect caching in ScopeSession.
NB: this provokes ambiguities in some old FE tests,
mostly they're correct (same as old FE).
2019-12-19 17:16:14 +03:00
Mikhail Glukhikh
c4e6f8a640
Cache FirPackageMemberScope in ScopeSession instead of member scope provider
2019-12-19 17:16:14 +03:00
Mikhail Glukhikh
cb93b25fca
FIR: make possible to use differently typed IDs in ScopeSession
2019-12-19 17:16:14 +03:00
Mikhail Glukhikh
4d1b032c1f
Rename: FirSelfImportingScope -> FirPackageMemberScope
2019-12-19 17:16:14 +03:00
Ilya Chernikov
4e14d04926
[minor] fix testdata for compiler 1.4
2019-12-19 14:25:56 +01:00
Mikhail Glukhikh
6e6d9ae795
FIR body resolve: start analyzing files with independent context
2019-12-19 16:03:17 +03:00
Mikhail Glukhikh
ada7f3da6c
FIR: resolve anonymous initializer in context independent mode
2019-12-19 16:03:17 +03:00
Mikhail Glukhikh
99643e1b2d
FIR: do not run full tower resolve on integer literal type
2019-12-19 16:03:17 +03:00
Mikhail Glukhikh
cb3f02d015
FIR modularized test: do not print unnecessary stuff to the console
2019-12-19 16:03:16 +03:00
Mikhail Glukhikh
48c74fd1ba
FIR black box codegen tests: do not print bytecode to the console
...
#KT-35030 Fixed
2019-12-19 16:03:16 +03:00
Mikhail Glukhikh
ad6f4fa92e
FirResolveBench: do not print unnecessary stuff to the console #KT-35030 Fixed
2019-12-19 16:03:16 +03:00
Ilya Chernikov
f38bb19fc6
[minor] Fix testdata for compiler 1.4
2019-12-19 14:01:01 +01:00
Ilya Kirillov
06dc2caf41
Fix compilation for AS
2019-12-19 15:56:34 +03:00
Pavel Kirpichenkov
ac47c0cf3c
[minor] Update test data for 1.4
2019-12-19 15:18:19 +03:00