Dmitriy Novozhilov
dcd1c2647e
[FIR-TEST] Add test with problem with default java importing scope
2019-11-28 15:28:21 +03:00
Dmitriy Novozhilov
bb89fee431
[FIR-TEST] Add test with ambiguity in static java scopes
2019-11-28 15:28:20 +03:00
Roman Artemev
4759c16428
[JS IR] Fix IrGetClass for Throwable successors
...
- add test
2019-11-28 14:45:34 +03:00
Roman Artemev
757ddd9179
[JS IR] Fix standard collections
...
- remove PlatformDependent annotated methods
2019-11-28 14:45:34 +03:00
Yan Zhulanow
606cad1059
Pill: Add fir/lightTree module
2019-11-28 20:02:41 +09:00
Yan Zhulanow
60a77acd7a
Pill: Fix compiler tests (support both JPS build and Pill in JUnit 3 runner)
2019-11-28 20:02:40 +09:00
Mikhail Glukhikh
f58af2e4c3
FIR2IR: fix constructor referencing in return statement
2019-11-28 13:50:10 +03:00
Sergey Bogolepov
96e6602da2
[kotlinx-metadata-jvm] Fix typo
2019-11-28 17:32:03 +07:00
Mikhail Glukhikh
29e882eae7
FIR resolve: add minor comments about substitutions around JvmMappedScope
2019-11-28 13:18:11 +03:00
Mikhail Glukhikh
e43a1ee1c5
FIR JvmMappedScope: substitute type parameters in Java scope with Kotlin ones
...
Without it, override mapping does not work properly.
NB: at this moment Java forEach often supersedes Kotlin forEach,
because call isn't reported as erroneous properly.
2019-11-28 13:18:11 +03:00
Mikhail Glukhikh
2c611d75bc
[FIR TEST]: two more tests on forEach potential ambiguity (both passing)
2019-11-28 13:18:10 +03:00
Mikhail Glukhikh
4f1167b16f
Move buildDefaultUseSiteMemberScope to FirSymbolProvider
2019-11-28 13:18:10 +03:00
Mikhail Glukhikh
71b95bd91d
FIR resolve: make substitution also for mapped Java type parameters
2019-11-28 13:18:10 +03:00
Mikhail Glukhikh
b3056b8bf5
FIR resolve: implement JVM K/J type mapping
...
Declared member scopes are now wrapped in JvmMappedScope
2019-11-28 13:18:10 +03:00
Toshiaki Kameyama
3a576ce14f
KT-21811 Convert string concatenation into multiline string ( #2772 )
...
New J2K: Convert string concatenation into multiline string
#KT-21811 Fixed
2019-11-28 13:14:48 +03:00
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