Commit Graph

59509 Commits

Author SHA1 Message Date
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
Nikolay Krasko eb71e686da Stable order of generated annotation targets
A random order of usages is enabled in 193 platform that makes tests flaky without the commit.
2019-11-27 12:26:54 +03:00
Nikolay Krasko 592df477e9 Mute MultiModuleHighlightingTest tests 2019-11-27 12:26:54 +03:00
Denis Zharkov 00a70c51f0 FIR: Generate fake overrides always if there are type parameters
See the comment
2019-11-27 11:20:52 +03:00
Denis Zharkov 8efd59403d FIR: Avoid redundant substitution when type parameters don't change 2019-11-27 11:20:52 +03:00
Denis Zharkov 07a4352809 FIR: Add hack for Fir2IrVisitor
See the comment
2019-11-27 11:20:52 +03:00
Denis Zharkov 3b7ad066fc FIR: Substitute type alias constructors properly 2019-11-27 11:20:52 +03:00
Denis Zharkov f68929fe74 FIR: Leave functions type parameters in subsituting scope 2019-11-27 11:20:52 +03:00
Denis Zharkov b5ef063b0f FIR: Cache functions in use-site member scope 2019-11-27 11:20:52 +03:00
Denis Zharkov f659dc0bea FIR: Add synthetic values/valueOf methods to Java classes 2019-11-27 11:20:52 +03:00
Denis Zharkov 256f5ca0a1 FIR: Support inherited default parameters 2019-11-27 11:20:52 +03:00