Commit Graph

64265 Commits

Author SHA1 Message Date
Ilya Goncharov dccf670849 [Gradle, JS] Simple message to message
#KT-38109 fixed
2020-04-16 13:46:18 +03:00
Ilya Goncharov 47d7424d4d [Gradle, JS] Fix formatting logic
#KT-38109 fixed
2020-04-16 13:46:01 +03:00
Ilya Goncharov 7347c44cb1 [Gradle, JS] Divide tc message type on stdout and stderr
#KT-38109 fixed
2020-04-16 13:45:43 +03:00
Ilya Goncharov 70f6ad7691 [Gradle, JS] All karma output to debug
#KT-38109 fixed
2020-04-16 13:45:24 +03:00
Ilya Goncharov e1793c59be [Gradle, JS] Add custom log4js appender to KotlinKarma
#KT-38109 fixed
2020-04-16 13:44:02 +03:00
Ilya Goncharov 005ecc5f29 [Gradle, JS] Add TeamCity simple message log4js appender
#KT-38109 fixed
2020-04-16 13:39:19 +03:00
Ilya Goncharov 91a25417f5 [Gradle, JS] Add custom log4js appender for karma
#KT-38109 fixed
2020-04-16 13:38:56 +03:00
Ilya Goncharov f0e033b97c [Gradle, JS] Process Karma messages to Gradle log
#KT-38109 fixed
2020-04-16 13:38:37 +03:00
Ilya Goncharov 0534773545 [Gradle, JS] Parse karma output to find problem with browser launch
#KT-38109 fixed
2020-04-16 13:37:09 +03:00
Toshiaki Kameyama 831fbba0c1 Redundant qualifier name: don't report for EnumClass.Companion
#KT-37181 Fixed
2020-04-16 10:48:06 +02:00
Toshiaki Kameyama f747f8543e Redundant qualifier name: don't report for EnumClass.values/EnumClass.valueOf
#KT-34696 Fixed
2020-04-16 10:48:05 +02:00
Georgy Bronnikov 611c4fe052 JVM_IR: repair super calls to methods of Any 2020-04-16 10:53:48 +03:00
Toshiaki Kameyama 4d1b5b84f8 AddMissingClassKeywordIntention: use 'KotlinBundle.lazyMessage' 2020-04-16 09:19:48 +02:00
Dmitry Petrov e2ee3d1d18 Unmute passing tests 2020-04-16 09:07:35 +03:00
Steven Schäfer 74791495d7 JVM IR: Box inline classes in covariant overrides (KT-30419) 2020-04-16 09:07:35 +03:00
Dmitry Gridin 52524235f7 i18n: add missing codestyle.name.kotlin property
#KT-38293 Fixed
2020-04-16 10:35:06 +07:00
Toshiaki Kameyama 77b6881032 Replace 'when' with 'if': do not suggest if 'when' is used as expression and it has no 'else' branch
#KT-35329 Fixed
2020-04-15 22:47:30 +02:00
Ilya Gorbunov 893021f22b Introduce runningFold and runningReduce operations
runningFold is a synonym for scan,
runningReduce replaces scanReduce.

#KT-38060
2020-04-15 23:28:07 +03:00
Toshiaki Kameyama 37277d71de Condition of 'if' expression is constant: remove else keyword if needed
#KT-34713 Fixed
2020-04-15 21:53:16 +02:00
Toshiaki Kameyama 1b0fac4a67 Add quick fix for PROPERTY_TYPE_MISMATCH_ON_OVERRIDE on constructor parameter
#KT-29934 Fixed
2020-04-15 21:32:29 +02:00
Toshiaki Kameyama e2a7170b2f Fix false positive "Collection count can be converted to size" with Iterable
#KT-34677 Fixed
2020-04-15 18:38:37 +02:00
Mikhail Glukhikh d906c814cf [FIR] Fix lookup tag creation for values() & valueOf() 2020-04-15 19:32:53 +03:00
Ilya Gorbunov ea1e16e309 Delegate properties to property references
#KT-8658
2020-04-15 18:37:33 +03:00
Anton Bannykh 81798282b9 JS: support explicit SAM constructor invocation 2020-04-15 17:13:21 +03:00
Lilia 0ee32ea9c5 Added 1.3.71, 1.3.72 changelogs 2020-04-15 15:33:03 +02:00
Georgy Bronnikov 7ea4ac9e9a [FIR] Regenerate FIR tree 2020-04-15 16:26:44 +03:00
Mikhail Bogdanov 1de0fbfc3a Add delegation tests for new default modes 2020-04-15 15:25:03 +02:00
Mikhail Bogdanov 4822d1e2ae Enable d8 by default 2020-04-15 15:25:03 +02:00
Mikhail Bogdanov dda2f53993 Support JVM 8 target on Android 2020-04-15 15:25:02 +02:00
Georgy Bronnikov 284533f72b IR: put resolution of unbound type parameter symbols behind a language version flag 2020-04-15 16:08:35 +03:00
Georgy Bronnikov a1a2da3c0f Revert "IR: put resolution of unbound type parameter symbols behind a language version flag"
This reverts commit 9634e6fba3.
2020-04-15 15:58:44 +03:00
Toshiaki Kameyama b4c62cdb52 Introduce "Add missing 'class' keyword" intention
#KT-14884 Fixed
2020-04-15 14:53:52 +02:00
Georgy Bronnikov 9634e6fba3 IR: put resolution of unbound type parameter symbols behind a language version flag 2020-04-15 15:51:20 +03:00
Kristoffer Andersen 7ec4c9990a [JVM] Improve debug step behavior around lambdas.
- Add tests to clarify problematic behavior
- Avoid line numbers on return instructions of lambdas without explicit returns
2020-04-15 14:33:49 +02:00
Steven Schäfer fc7d667282 Psi2Ir: Bind unbound type parameters 2020-04-15 15:32:53 +03:00
Toshiaki Kameyama 8c4fdd1edd Unused import: do not report for 'invoke' function import that is used from same file
#KT-24281 Fixed
2020-04-15 14:00:41 +02:00
Toshiaki Kameyama 8aa120576b Add quick fix for TOPLEVEL_TYPEALIASES_ONLY 2020-04-15 13:28:37 +02:00
Dmitry Gridin cd880c779b Remove DisplayPriority from KotlinLanguageCodeStyleSettingsProvider
#KT-38217
2020-04-15 17:10:16 +07:00
Yan Zhulanow 65e06c86cc Revert dist_root removed by mistake 2020-04-15 18:19:32 +09:00
Mikhail Bogdanov 10b9ff1066 Minor. Rollback test data change
There is inconsistent behaviour between JS and JVM in case of package presence
2020-04-15 11:04:01 +02:00
Juan Chen a1e0e8b0e7 [FIR] Handle receiver types of extension methods when computing maximally specific types.
Test case (from testPrimitiveReceiver):

fun Short.foo() = 3
fun Int.foo() = 4

1::foo
2020-04-15 11:16:33 +03:00
Dmitriy Novozhilov f7dc06a772 [FIR] Approximate integer constants in lhs of callable reference 2020-04-15 11:13:01 +03:00
Dmitriy Novozhilov c71f9d9640 [FIR] Use argument mapping from resolved call for contract argument mapping 2020-04-15 11:13:01 +03:00
Dmitriy Novozhilov 5b660d2457 [FIR] Ignore FirStubStatement in visit/transform consistency test 2020-04-15 11:13:01 +03:00
Dmitriy Novozhilov 2e4183db7d [FIR-TEST] Update testdata of old FE contracts tests 2020-04-15 11:13:01 +03:00
Dmitriy Novozhilov fea7872359 [FIR] Add contracts resolve for local classes 2020-04-15 11:13:01 +03:00
Dmitriy Novozhilov cecbf53ee8 [FIR] Add processing of FirStubStatement to Fir2IrVisitor 2020-04-15 11:13:00 +03:00
Dmitriy Novozhilov 67c8030706 [FIR] Update resolve phase for all declaration in contracts stage 2020-04-15 11:13:00 +03:00
Dmitriy Novozhilov d718b596bc [FIR] Add transform declaration and companion to regular class 2020-04-15 11:13:00 +03:00
Dmitriy Novozhilov a01bbbb0a0 [FIR] Add processing conditional contracts on property accessors 2020-04-15 11:13:00 +03:00