Mikhail Zarechenskiy
18b218bfa8
[NI] Use projected type for constraint like Cap(out A) <: out @Exact T
...
This is an implicit semantics of Exact annotation
2020-02-17 10:29:46 +03:00
Mikhail Zarechenskiy
3cf77d29b5
Unmute test for NI
...
It was fixed in 7f6c03c9
2020-02-17 10:29:45 +03:00
Mikhail Zarechenskiy
4542f3b720
[NI] Finish analysis for coerced last lambda expressions if needed
2020-02-17 10:29:45 +03:00
Mikhail Zarechenskiy
220bf6d62f
[NI] Update test data
2020-02-16 23:49:50 +03:00
Roman Golyshev
3461effd47
KT-33372 Remove renaming file reference to the contents of the file
...
- There is still a hack with returning null from `getLastFileReference`,
it is here to keep KT-25674 issue fixed
- Overrides of `bindToElement` are removed, they caused renames of the
file references to their contents
- Code of `KotlinFilePathReferenceContributor.kt` is refactored
- ^KT-33372 ^KT-32514 ^KT-36306 Fixed
2020-02-16 17:08:11 +03:00
Steven Schäfer
50c477bee1
Update IR text test expectations for FIR
2020-02-15 22:38:10 +03:00
Kristoffer Andersen
de33b83bb3
Update asFunKSmall.kt
2020-02-15 22:38:10 +03:00
Kristoffer Andersen
577250d73f
[FIR] Fix FIR2IR Types on SetVariable Expressions
2020-02-15 22:38:06 +03:00
Kristoffer Andersen
4dc6583f31
Update asFunKSmall.kt
2020-02-15 22:32:23 +03:00
Kristoffer Andersen
4f36e2ccfc
[FIR] Fix FIR2IR Types on SetVariable Expressions
2020-02-15 22:32:23 +03:00
Dmitry Petrov
1e7f8ea037
PSI2IR test for coercion to unit in lambda
2020-02-15 22:32:23 +03:00
Steven Schäfer
5760c0be9c
JVM IR: Avoid redundant coercions in ExpressionCodegen
2020-02-15 22:32:23 +03:00
Steven Schäfer
2b2ae8a5f1
IR: Optimize implicit integer coercions on constants.
2020-02-15 22:32:23 +03:00
Steven Schäfer
bc2b96f634
IR: Fix return types in IrConstImpl
2020-02-15 22:32:23 +03:00
Sergey Rostov
2677fa7472
.gradle.kts: more clear tooltip for out of project scripts notification
...
The current text/action/help text may not be clear: action is not related to project import, and help text doesn't make it clear.
#KT-36703 Fixed
2020-02-15 11:38:05 +03:00
Vladimir Dolzhenko
52bf630f6c
Add ApplicationUtils.as40 as it does not have CancellationCheck
...
Relates to #KT-35135
2020-02-15 09:35:56 +01:00
Vladimir Dolzhenko
ba5a335e95
Add missed create in usage of new annotation highlighting API
...
Relates to #KT-36712
2020-02-15 08:23:58 +01:00
Roman Artemev
3407904e68
[JS IR] Add todo
2020-02-14 18:22:17 +03:00
Roman Artemev
e57d34dd9e
Make fix test:
...
- [JS IR] Unmute fixed tests
- [IrText] Update testdata
- [WASM] Temporary turn wasm test off
- [FirText] Temporary turn fit text tests off
- [JVM IR] Turn off klib jvm test
- [IR] Add new test
2020-02-14 18:22:17 +03:00
Roman Artemev
46491c12ee
[KLIB] Promote Klib ABI version
2020-02-14 18:22:16 +03:00
Roman Artemev
a411549e38
[KLIB] Fix zipped layout
2020-02-14 18:22:16 +03:00
Roman Artemev
5004bb3636
[Psi2Ir] Fix generation of hashcode for generic inline class
2020-02-14 18:22:16 +03:00
Roman Artemev
6a37955a36
[KLIB] Implement new linker based on IdSignature
...
- Remove klib dependency on metadata and uniqID
- Refactored proto format to make it more effective and compact
-- Use special encoding for some types of data (coordinates, flags, types)
-- Remove symbols table
-- Use packed proto list if it is possible
- Remove extension from metadata
- Remove special ids for function interfaces
- Fix klib IO
- Fix incremental cache
- General code clean up
2020-02-14 18:22:16 +03:00
Roman Artemev
31d73c5d79
[Psi2Ir] Move to new linkage scheme based on IdSignature
...
Now SymbolTable operates with two types of symbols (public and private)
In case of Public symbol IdSignature is used as table key
Private one uses descriptor as the key in similar scheme as before
2020-02-14 18:22:16 +03:00
Roman Artemev
df7b7cf61a
[K/N] Provide original class id for forward-declared declarataion
2020-02-14 18:22:15 +03:00
Roman Artemev
e81a7f10c1
[KLIB] Implement special encoding for Klib data
2020-02-14 18:22:15 +03:00
Roman Artemev
7688197841
[JS IR] Fix access to coroutine empty context for suspend main
2020-02-14 18:22:15 +03:00
Roman Artemev
cef9ed1dae
[IR] Implement new IrSymbol API
...
- Add predicate whether symbol is PublicAPI
- Split symbols into 2 types (Public/Private)
- Fix special implementations
2020-02-14 18:22:15 +03:00
Roman Artemev
bb04eae93e
[IR] Implement IdSignature API
...
- Basic implementation of IdSignature classes and interafces
- Abstract and platform Ir/Descriptor based signature builders
2020-02-14 18:22:15 +03:00
Roman Artemev
45f036548b
[Psi2Ir] Make IrEnumEntry corresponding class always privite
2020-02-14 18:22:15 +03:00
Roman Artemev
d51b14fe3c
[IR] Fix classic mangler expect checker
2020-02-14 18:22:15 +03:00
Roman Artemev
0254734bb5
[IR] Refactored Kotlin Mangler API
...
- Implement abstract Ir-based, Descriptor-based
mangler computers and export checkers and corresponding platform
specializations
- Add runtime verifier which check whether all types of mangler
produces the same type of data
Note: code migration is not finished yet
2020-02-14 18:22:15 +03:00
Pavel Kirpichenkov
ba25b0faaf
[NI] Report unsafe invoke properly for flexible types
...
`isNullable` check returns `true` for flexible types,
which leads to false positive unsafe invoke error, when
receiver for invoke's property is flexible.
^KT-30695 Fixed
2020-02-14 18:06:35 +03:00
Pavel Kirpichenkov
b161839092
[NI] Report unsafe implicit invoke accordingly to OI
...
This reverts commit df046683cc .
KT-30695
2020-02-14 18:06:34 +03:00
Dmitriy Novozhilov
1a2d28d25b
[FIR-TEST] Add test with callable reference on function with default argument
2020-02-14 17:53:29 +03:00
Dmitriy Novozhilov
3790f31d80
[FIR] Support FirVarargArgumentsExpression in html dump
2020-02-14 17:53:29 +03:00
Dmitriy Novozhilov
e696d1d06a
[FIR] Improve mapping arguments to parameters
2020-02-14 17:53:28 +03:00
Vladimir Dolzhenko
2e597a3a32
Use new annotation highlighting API
...
Fixed #KT-36712
2020-02-14 15:42:45 +01:00
Mikhail Glukhikh
2a55560f3b
[FIR TEST] Add test on qualifier resolve priority (corner case)
2020-02-14 17:38:37 +03:00
Mikhail Glukhikh
abfe566255
[FIR] Add object support as implicit invoke receiver
2020-02-14 17:38:31 +03:00
Mikhail Glukhikh
a8a696c7e1
[FIR TEST] Extend test on invoke priorities
2020-02-14 17:38:25 +03:00
Georgy Bronnikov
79060e7f40
IR: handle conflicts in resolveFakeOverride()
2020-02-14 17:20:34 +03:00
Georgy Bronnikov
c71e87068a
JVM_IR: in InheritedDefaultMethodsOnClassesLowering, skip bridges when resolving overrides
2020-02-14 17:20:34 +03:00
Svyatoslav Scherbina
829e5908d0
Allow Native @Throws on override when the same list is specified
2020-02-14 17:10:58 +03:00
Shagen Ogandzhanian
3fcdf6c78c
Update dukat dependency to 0.0.28
2020-02-14 15:00:29 +01:00
Ilya Goncharov
64f13ab3ae
[Gradle, JS] Migrate on strings
2020-02-14 16:36:49 +03:00
Ilya Goncharov
9b462b76d4
[Gradle, JS] Add all possible values of library target as enums
2020-02-14 16:36:49 +03:00
Ilya Goncharov
fbabbfab44
[Gradle, JS] Add webpack output
2020-02-14 16:36:49 +03:00
Natalia Selezneva
dc77df1083
GradleScriptInputsWatcher: move long running operation out of EDT
...
^KT-36502
2020-02-14 16:18:35 +03:00
Mikhail Zarechenskiy
2d15914d20
Enable new inference in IDE by default
2020-02-14 14:37:23 +03:00