Nikolay Krasko
c14affd6cd
Minor: forgotten change after review
2019-11-28 12:02:00 +03:00
Nikolay Krasko
35fec9e9db
Fix withJava test after resorting annotation targets
...
Was broken after eb71e68 .
2019-11-28 12:02:00 +03:00
Nicolay Mitropolsky
c06f737519
Uast: SimpleKotlinRenderLogTest.testBitwise UMethod testdata fix
2019-11-28 11:41:00 +03:00
Toshiaki Kameyama
bfa6c7d399
Move statement: don't move declarations above package and import directives
2019-11-28 11:20:09 +03:00
Mikhael Bogdanov
742c3a228a
JVM_IR. Proper lower toArray functions
2019-11-28 08:31:15 +01:00
Natalia Selezneva
6a18ef1417
Minor: compare system independent paths
2019-11-28 09:40:04 +03:00
Sergey Bogolepov
a08cf59017
[kotlinx-metadata] Add extensions for KmValueParameter
...
There is no extension on jvm, but klibs have parameter annotations.
2019-11-28 10:40:21 +07:00
Sergey Bogolepov
18bb615dd9
[kotlinx-metadata-klib] Fix library reading
...
* To be able to deserialize metadata we need to include ":core:deserialization".
* Use per-fragment string tables.
* Read file names from strings instead of file names list.
2019-11-28 10:40:20 +07:00
Nikolay Krasko
c341a3e709
Avoid collecting events from other projects in PerModulePackageCacheService (KT-33802)
...
It looks like VFS_CHANGES subscription ignores project boundaries so all events are processed by every listener. If event has a hard reference to project in the requestor field, it might leak through the collection of pending events.
An attempt to fix holding test projects through pending events.
#KT-33802 Fixed
2019-11-27 22:34:48 +03:00
Nikolay Krasko
7245bbd822
Explicitly disconnect in KotlinPackageContentModificationListener (KT-33802)
2019-11-27 22:34:48 +03:00
Vyacheslav Gerasimov
0cde2e2f5b
Build: Fix ivy repository for android sdk
...
There is no `artifact()` in metadataSources by default in gradle 6.0
2019-11-27 21:26:34 +03:00
Vyacheslav Gerasimov
8d31d4a60f
Replace com.moowork.node plugin with com.github.node-gradle.node
2019-11-27 21:26:34 +03:00
Vyacheslav Gerasimov
81e24fbdb4
Build: Extract version of com.moowork.node to the settings.gradle
2019-11-27 21:26:34 +03:00
Vyacheslav Gerasimov
ea9b490467
Fix usage of nullable in gradle 6.0 DomainObjectContext.project
2019-11-27 21:26:33 +03:00
Vyacheslav Gerasimov
b9031f0c68
Fix overrides of removed in gradle 6.0 AbstractCompile.compile
...
https://github.com/gradle/gradle/commit/5e7476de957792b6d2f164968b4023539a0385f2
2019-11-27 21:26:33 +03:00
Vyacheslav Gerasimov
7de023135e
Build: Remove outdated fix broken in gradle 6.0
...
Can't remove from dependsOn anymore
2019-11-27 21:26:33 +03:00
Vyacheslav Gerasimov
aa05bcc16b
Build: Fix usages of this project unavailable in gradle 6.0
2019-11-27 21:26:33 +03:00
Vyacheslav Gerasimov
01929cb234
Build: Upgrade build scan plugin for gradle 6.0
2019-11-27 21:26:33 +03:00
Vyacheslav Gerasimov
d74e53e6bb
Build: Properly annotate input properties of IntelliJInstrumentCodeTask
2019-11-27 21:26:33 +03:00
Vyacheslav Gerasimov
9d162ec1f3
Build: Upgrade gradle to 6.0.1
2019-11-27 21:26:33 +03:00
Vyacheslav Gerasimov
5f158f5ce7
Build: Add kotlin-build-gradle-plugin & use it prebuilt from bintray
...
With extracted buildProperties.kt from buildSrc required for settings.gradle, using buildSrc classes is not allowed there since gradle 6.0
2019-11-27 21:26:32 +03:00
Georgy Bronnikov
1ed23d7c54
IR: reorganize IrProvider handling
...
Make DeclarationStubGenerator a subclass of IrProvider,
anticipating deserialization of IR structures for JVM_IR backend.
2019-11-27 20:02:27 +03:00
Toshiaki Kameyama
be04912f6f
KT-19574 Code with inferred default parameters and parameter vs property name clashes ( #2671 )
...
New J2K: add 'this' receiver to default parameter value if needed
#KT-19574 Fixed
2019-11-27 18:55:50 +03:00
Anton Yalyshev
1bbd17c4d6
Turn off FUS data sending in 1.3.61+ as we as we sent enough in 1.3.60
2019-11-27 18:42:42 +03:00
Dmitriy Novozhilov
e38fdae1bc
Regenerate DiagnosticsTestWithJsStdLibGenerated
2019-11-27 18:03:05 +03:00
Dmitriy Novozhilov
5190ff9733
[FIR-TEST] Add test with SAM conversion in constructor call
2019-11-27 18:01:20 +03:00
Dmitriy Novozhilov
71acd42727
[FIR-TEST] Add test with ambiguity produced by definitely not null types
2019-11-27 18:01:20 +03:00
Sergey Igushkin
fa2ef816b1
Support Gradle instant execution with Kotlin/JVM and Android tasks
...
Issue #KT-35126 Fixed
2019-11-27 17:59:45 +03:00
Simon Ogorodnik
d59a171b65
[FIR] Fix isMyTypeVariable in ConeInferenceContext
2019-11-27 17:15:07 +03:00
Anton Yalyshev
ffa0896592
Minor correction of attributes naming
2019-11-27 16:59:27 +03:00
Anton Yalyshev
c57c9b2e63
Prepare data for successful FUS Whitelist parsing
2019-11-27 16:59:27 +03:00
Toshiaki Kameyama
c72622c6d7
KT-32551 New J2K: Non-canonical modifiers order inspection is not applied during convertion of inner super class ( #2806 )
...
New J2K: add SortModifiers inspection to post-processing
#KT-32551 Fixed
2019-11-27 16:08:54 +03:00
victor.petukhov
dbacae94d0
Fix common super type calculation for captured dynamic types
...
^KT-32499 Fixed
2019-11-27 15:48:00 +03:00
Vladimir Dolzhenko
1c4c5520a2
Fix incremental analysis in case of property does not have initializer but could be initialized on a class level
...
#KT-35028 Fixed
2019-11-27 13:43:30 +01:00
Vladimir Dolzhenko
c67222c176
Add ERRORs check to AbstractOutOfBlockModificationTest
2019-11-27 13:43:10 +01:00
Vladimir Dolzhenko
144f721a44
Kotlinify AbstractOutOfBlockModificationTest, p2
2019-11-27 13:42:49 +01:00
Vladimir Dolzhenko
8f8ed4dbcf
Kotlinify AbstractOutOfBlockModificationTest, p1
2019-11-27 13:42:32 +01:00
Dmitriy Novozhilov
567248ebd7
[FIR] Add default upper bounds to type parameter of synthetic when and try calls
2019-11-27 15:00:03 +03:00
Dmitriy Novozhilov
5770d19d61
[FIR] Fix calculating of completion mode
2019-11-27 15:00:03 +03:00
Dmitriy Novozhilov
9c3117ba40
[FIR] Git rid of creating new when and try fir nodes
...
It's necessary because of before change we safe original `when`
without infered type as return statement of lambda and after that
we add incorrect constraint system from it to outer call
2019-11-27 15:00:03 +03:00
Dmitriy Novozhilov
8085ec8b0b
[FIR-TEST] Add test with ambiguity between java field and java accessor
2019-11-27 15:00:03 +03:00
Dmitriy Novozhilov
3c661dd142
[FIR-TEST] Add test with unresolved invoke of lambda with receiver
2019-11-27 15:00:03 +03:00
Dmitriy Novozhilov
96d3a06129
[FIR-TEST] Add test with hiding local functions
2019-11-27 15:00:03 +03:00
Dmitriy Novozhilov
5d14c76f70
[FIR-TEST] Add test with unresolved Array<T>.clone()
2019-11-27 15:00:02 +03:00
Dmitriy Novozhilov
4059fae1b7
[FIR-TEST] Add test with type mismatch on receiver with captured type
2019-11-27 15:00:02 +03:00
Dmitriy Novozhilov
572256e2eb
[FIR-TEST] Add test with not-working bound smartcast
2019-11-27 15:00:02 +03:00
Mark Punzalan
1a2e09e6a5
ForLoopsLowering: Handle Iterable.withIndex() where the type is a
...
bounded type parameter.
TODO: Handle Sequences by extending DefaultIterableHandler.
2019-11-27 10:59:34 +01:00
Kevin Bierhoff
e8252ea874
handle kotlin shifts like bitwise binary ops
2019-11-27 12:42:31 +03:00
Nikolay Krasko
a9baec4727
Add headless mode for tests to avoid graphic card switch
2019-11-27 12:26:54 +03:00
Nikolay Krasko
54338686d4
Add test for lambda parameter type
2019-11-27 12:26:54 +03:00