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
Toshiaki Kameyama
ba640be81d
KT-32178 Keyword completion: don't add 'fun' after 'suspend' in type position
...
#KT-32178 Fixed
2019-12-19 15:07:20 +03:00
Nikolay Krasko
1f878049eb
Allow @author usage in ...projectWizard.settings.version.maven package
2019-12-19 15:02:41 +03:00
Nikolay Krasko
280cb5b60b
Exclude kotlin-test-nodejs-runner generated folders from code conformance test
2019-12-19 15:02:41 +03:00
Nikolay Krasko
2c684c56a3
Mute testVersionsAreConsistent test (KT-35567)
2019-12-19 15:02:41 +03:00
Mikhael Bogdanov
650cfeaaed
Update inline tests to void PROTECTED_CALL_FROM_PUBLIC_INLINE_ERROR
2019-12-19 12:46:36 +01:00
Ilya Chernikov
8322398133
[minor] Fix testdata for compiler 1.4
2019-12-19 12:32:14 +01:00
Ilya Chernikov
45e881f03f
[NI] Fix inference if inner system has only by "uninteresting" constraint
...
#KT-32250 fixed
2019-12-19 11:20:10 +01:00
Ilya Chernikov
3e537cfcb4
[minor] [NI] Additional test for loosing type annotations on extension functions
...
taken from KT-34820
2019-12-19 11:20:07 +01:00
Mikhail Glukhikh
1c6da8b9b4
[FIR] Add separate diagnostic tests working in light tree mode
...
Now we have separate raw fir builder based and light tree builder based tests.
Note: one light tree test was ignored due to lack of JavaElementFinder in this mode.
2019-12-19 12:29:01 +03:00
Mikhail Glukhikh
9efb1fc527
Change FIR modularized test to be able to work in light tree mode
2019-12-19 12:29:01 +03:00
Mikhail Glukhikh
3f76408c6f
Protect FirResolveBench from light tree (this prevents cast to KtFile exception)
2019-12-19 12:29:01 +03:00
Dmitry Petrov
09c3279cc7
PSI2IR: Infer smart cast on dispatch receiver of FAKE_OVERRIDE calls
...
NB here we have use derived class type with type arguments replaced
with star-projections. This emulates JVM erasure (to some degree),
but, unfortunately, that's best we can offer here at the moment.
2019-12-19 12:24:58 +03:00
Natalia Selezneva
feda832eb7
Tests: switch off script configuration update in MutlifileRefactoringTests
2019-12-19 11:52:27 +03:00
Natalia Selezneva
233d400e93
Scripting: remove unexpected cache clear
2019-12-19 11:52:26 +03:00
Mikhail Glukhikh
7ba0a11f43
FIR light tree: add forgotten default bound for type parameters
2019-12-19 11:19:02 +03:00
Mikhail Glukhikh
ebb1ca7cd9
Fix 'fir:lightTree' build script to be able to run light tree tests
2019-12-19 11:19:02 +03:00
Mikhail Glukhikh
7abb3fc987
Protect FirJavaElementFinder from light tree
2019-12-19 11:19:01 +03:00
Mikhail Glukhikh
774eb62118
FIR resolve bench: make possible building FIR files via light tree
2019-12-19 11:19:01 +03:00
Mikhail Glukhikh
d702dc862a
FIR light tree: eliminate unused 'project' argument
2019-12-19 11:19:00 +03:00
Denis Zharkov
e8131d6e30
Choose Java field during overload resolution with a pure Kotlin property
...
^KT-31244 Fixed
2019-12-19 10:53:31 +03:00
Dmitriy Novozhilov
aa8578b675
Allow null operators for result and using Result as return type with enabled InlineClasses
2019-12-19 10:22:45 +03:00
Dmitriy Novozhilov
eed5b3f1d1
Add quickfix for removing redundant spread operator
...
#KT-25306 Fixed
2019-12-19 10:22:45 +03:00
Dmitriy Novozhilov
ee36fb903f
Allow use expression of array type as named argument for vararg
2019-12-19 10:22:44 +03:00
Alexander Udalov
0cb48999ff
JVM IR: retain optional annotations as package private classes
...
Similarly to how it's done in the old backend (see
PackageCodegenImpl.generateClassesAndObjectsInFile and
AnnotationCodegen.genAnnotation)
2019-12-18 20:25:11 +01:00
Steven Schäfer
5d3ef4c632
JVM IR: Fix names of fake local variables for inline arguments
2019-12-18 18:50:29 +01:00
Denis Zharkov
c486fa6189
NI: Report incompatible receiver of callable reference
...
^KT-35535 Fixed
2019-12-18 19:33:55 +03:00
Denis Zharkov
dd56c3d918
NI: Fix property references overload ambiguity
...
^KT-35213 Fixed
2019-12-18 19:33:55 +03:00