Toshiaki Kameyama
e31ea0c243
ReplaceWith: suggest to replace for 'get/set' operator functions
...
#KT-15944 Fixed
2020-07-03 21:10:24 +07:00
Dmitriy Novozhilov
82b6ecfa64
[FIR-TEST] Add test for KT-39075
2020-07-03 17:09:29 +03:00
Dmitriy Novozhilov
59bedaaa55
[FIR] Rename FirElvisCall to FirElvisExpression
...
FirElvisCall is not a FirCall, so FirElvisExpression is more
convenient name
2020-07-03 17:09:29 +03:00
Dmitriy Novozhilov
1db2ba51d2
[FIR] Don't pass flow from inplace lambdas throw when and elvis expressions
...
#KT-39080 Fixed
2020-07-03 17:09:29 +03:00
Dmitriy Novozhilov
1429cba2d4
[FIR] Fix CCE in postponed lambda resolution
2020-07-03 17:09:28 +03:00
Dmitriy Novozhilov
8311c1f0e2
[FIR] Fix projection of Comparable supertype for ILT
...
#KT-39048 Fixed
2020-07-03 17:09:28 +03:00
Dmitriy Novozhilov
a882a9dff5
[FIR] Create scope for type parameter as scope for intersection of bounds
...
Before change we've created composite scope for all bounds, which
is incorrect, because intersection of all bounds may be less than
all bounds (see test in commit)
#KT-39032 Fixed
2020-07-03 17:09:28 +03:00
Jinseong Jeon
44d0af8597
FIR2IR: handle 'this' as reference to outer object
2020-07-03 12:53:57 +03:00
Ilya Muradyan
1798542db7
Fix and enable embedded tests in scripting-ide-services
2020-07-03 12:21:45 +03:00
Ilya Muradyan
e88bef4275
Fix jar-dependent test in scripting-ide-services
2020-07-03 12:21:45 +03:00
Mikhail Zarechenskiy
d51bb2c053
Add compatibility resolve when variable has "bad" intersection type
...
#KT-39468 Fixed
2020-07-03 12:18:28 +03:00
Ivan Kylchik
92a51b9794
[FIR] Add illegal underscore check in BaseFirBuilder
2020-07-03 12:06:49 +03:00
Ivan Kylchik
cc4b50fdc1
[FIR] Add illegal underscore diagnostic
2020-07-03 12:06:47 +03:00
Ivan Kylchik
54945b7fbc
Extract illegal underscore check function to ParseUtils
2020-07-03 12:06:45 +03:00
Ivan Kylchik
d0f6997e6d
[FIR] Fix some of fir spec tests for real-literals
...
#KT-38336 Fixed
2020-07-03 12:06:44 +03:00
Dmitry Petrov
17c15cfe0a
JVM, JVM_IR: update bytecode listing testData for inline classes
2020-07-02 22:39:06 +03:00
Dmitry Petrov
6e0bb0b468
JVM: no nullability annotations for inline class '-impl' methods
...
Specialized generated methods for inline classes (toString-impl,
hashCode-impl, equals-impl, etc) are inaccessible from Java, and thus
don't require nullability annotations.
2020-07-02 22:39:06 +03:00
Dmitry Petrov
ea042eb6c4
JVM_IR: no nullability annotations for inline class '-impl' methods
...
Specialized generated methods for inline classes (toString-impl,
hashCode-impl, equals-impl, etc) are inaccessible from Java, and thus
don't require nullability annotations.
2020-07-02 22:39:06 +03:00
Dmitry Petrov
a238d6a890
JVM_IR: no annotations on parameters of 'property$annotations' methods
2020-07-02 22:39:06 +03:00
Dmitry Petrov
8da988b18e
JVM_IR: Mangle primary val getter of inline class if required
...
TODO fix reflection
2020-07-02 22:39:06 +03:00
Dmitry Petrov
62d2581faf
JVM_IR: Don't generate annotations on generated inline class members
2020-07-02 22:39:05 +03:00
Dmitry Petrov
dc4b9d3887
JVM_IR: Don't mangle internal constructor-impl for inline classes
2020-07-02 22:39:05 +03:00
Ilya Kirillov
5cfac8fa3f
FIR IDE: introduce symbol pointers for restoring symbols in another read action
...
fix pointer
2020-07-02 22:25:06 +03:00
Ilya Kirillov
f88ebed1a3
FIR IDE: move types to its own package
2020-07-02 22:25:06 +03:00
Ilya Kirillov
5f548fc459
FIR IDE: add creating stdlib symbols by fqName tests
2020-07-02 22:25:06 +03:00
Ilya Kirillov
799a49649c
FIR IDE: introduce symbol modality
2020-07-02 22:25:06 +03:00
Ilya Kirillov
75a96f0153
FIR IDE: add info about varargs to parmater symbol
2020-07-02 22:25:05 +03:00
Ilya Kirillov
f10f6c6360
FIR IDE: introduce package symbol
2020-07-02 22:25:05 +03:00
Ilya Kirillov
18d46a86ae
FIR IDE: add identity weak map based cache for KtSymbolByFirBuilder
2020-07-02 22:25:05 +03:00
Ilya Kirillov
a26063b3f8
FIR IDE: rename Invalidatable -> ValidityOwner
2020-07-02 22:25:05 +03:00
Ilya Kirillov
226d514788
FIR IDE: rename reference classes to KtFir*Reference for consistency
2020-07-02 22:25:05 +03:00
Ilya Kirillov
66933ea2fe
FIR IDE: use withValidityAssertion instead of explicit check in FirAnalysisSession
2020-07-02 22:25:04 +03:00
Ilya Kirillov
8368284817
FIR IDE: introduce KtType
2020-07-02 22:25:04 +03:00
Ilya Kirillov
c44756bbfd
FIR IDE: add tests for building kt symbols by PSI
2020-07-02 22:25:04 +03:00
Ilya Kirillov
8a52954bf8
FIR IDE: introduce symbol provider
2020-07-02 22:25:03 +03:00
Ilya Kirillov
20b93507ab
FIR IDE: use symbols for reference resolve
2020-07-02 22:25:03 +03:00
Ilya Kirillov
749afbd141
FIR IDE: use symbols for call resolve
2020-07-02 22:25:03 +03:00
Ilya Kirillov
82866176fb
FIR IDE: introduce symbol API
2020-07-02 22:25:03 +03:00
Alexander Udalov
ba948cda38
Report warning on characters which can cause problems on Windows
...
As soon as we fix KT-17438, this warning will be turned into an error.
2020-07-02 21:19:28 +02:00
Alexander Udalov
181965f6e8
IR: inline namedIrModulePhase and namedIrFilePhase phase builders
...
Construct NamedCompilerPhase directly instead. Only use phase builders
where the code becomes easier to read.
2020-07-02 21:19:28 +02:00
Alexander Udalov
15a969b3ba
IR: refactor performByIrFile a little
...
Take a list of phases instead of the CompositePhase, to make stacktraces
nicer and avoid quadratic time of phase construction.
2020-07-02 21:19:28 +02:00
Alexander Udalov
4475325ffa
IR: refactor PhaseBuilders a little
...
- use named classes to improve stacktraces
- reorder parameters to make the code shorter
- use explicit types to improve IDE resolve in usages
2020-07-02 21:19:27 +02:00
Alexander Udalov
7997d4afd3
IR: do not use AnyNamedPhase where there is Context parameter
2020-07-02 21:19:27 +02:00
Alexander Udalov
ef58f1e72e
IR: simplify phaser code a little
...
- merge NamedCompilerPhase, SameTypeNamedPhaseWrapper,
AbstractNamedPhaseWrapper and inherit it from SameTypeCompilerPhase
- inline some functions to simplify stacktraces
- reformat and fix inspections
2020-07-02 21:19:27 +02:00
Stanislav Erokhin
74ce26cdc2
Fix 1.4-M2 ChangeLog.md
2020-07-02 22:16:59 +03:00
Vyacheslav Gerasimov
18d71c7907
Build: Encode build number in teamcity build url
2020-07-02 22:05:35 +03:00
Vyacheslav Gerasimov
8e1269cc32
Build: Add hacky workaround for retrying PublishToMavenRepository tasks
...
It's supposed to help with `Caused by: org.apache.http.NoHttpResponseException: api.bintray.com:443 failed to respond`
2020-07-02 22:05:35 +03:00
Dmitriy Dolovov
3bb234b17c
[Commonizer] Clean-up CirTypeSignature usages
2020-07-03 00:22:44 +07:00
Dmitriy Dolovov
ffd0c69698
[Commonizer] Use ClassId instead of FqName for addressing classes and TAs
2020-07-03 00:22:38 +07:00
Ilya Kirillov
57aefbcd57
FIR IDE: migrate to 201
2020-07-02 19:34:37 +03:00