Commit Graph

64434 Commits

Author SHA1 Message Date
Denis Zharkov 7612f37c85 FIR: Prohibit calling singletons' constructors 2020-04-21 09:48:03 +03:00
Denis Zharkov b62400124a FIR: Support DEBUG_INFO_CALL calls in tests 2020-04-21 09:48:03 +03:00
Dmitriy Dolovov 22dc837e26 IDE. Allow expect declarations in completion in shared native modules
Issue #KMM-218
2020-04-21 10:21:19 +07:00
Abduqodiri Qurbonzoda d6472aa700 Reverse range and sortDescending range #KT-36955 2020-04-20 22:06:28 +03:00
Dmitry Petrov 05cb0e8994 KNVE: support in JVM_IR and JS_IR 2020-04-20 20:07:52 +03:00
Dmitry Petrov b06780988d KNVE: add doc comment and mark as PublishedApi 2020-04-20 20:07:51 +03:00
Vyacheslav Gerasimov 8d06744a6a Set local build version to 1.4.255-SNAPSHOT
#KT-36128

(cherry picked from commit a8650ccfd2)
2020-04-20 18:48:00 +03:00
Mikhail Glukhikh 4b819aa028 Remove incorrect comment from old FE diagnostic test 2020-04-20 18:40:48 +03:00
Mikhail Glukhikh 790a517fa3 [FIR TEST] Add bad test data (submitted KT-38400) 2020-04-20 18:33:40 +03:00
Nick c4b7ac994b [FIR] Support diagnostic ABSTRACT_SUPER_CALL 2020-04-20 18:33:40 +03:00
rapturemain 8960829c01 [FIR] Cast error on the element name instead of the whole body 2020-04-20 17:27:16 +03:00
Mikhail Glukhikh 4c639a840d [FIR] Apply bad test data (protected eff. visibility related, KT-38401) 2020-04-20 17:27:11 +03:00
rapturemain 6d63de01ac [FIR] Fix effective visibility calculation & relevant test data 2020-04-20 17:25:26 +03:00
rapturemain d811f6f4a6 [FIR] Support for EXPOSED_PARAMETER_TYPE 2020-04-20 17:25:25 +03:00
rapturemain 216eea6a20 [FIR] Fix EXPOSED_RECEIVER_TYPE 2020-04-20 17:25:25 +03:00
rapturemain 2e8f73adba [FIR] Change errors location from Errors.java to FirErrors.kt 2020-04-20 17:25:25 +03:00
rapturemain 4e577caa99 [FIR] Support for EXPOSED_FUNCTION_RETURN_TYPE 2020-04-20 17:25:25 +03:00
rapturemain 0f16c88dd2 [FIR] Support for FIR_EXPOSED_RECEIVER_TYPE 2020-04-20 17:25:24 +03:00
rapturemain 15d4891c92 [FIR} Test data for EXPOSED_PROPERTY_TYPE 2020-04-20 17:25:24 +03:00
rapturemain 02c90c6576 [FIR] Support for EXPOSED_PROPERTY_TYPE 2020-04-20 17:25:24 +03:00
rapturemain cc86767a23 [FIR] Support for EXPOSED_TYPEALIAS_EXPANDED_TYPE 2020-04-20 17:25:24 +03:00
Mikhail Glukhikh 42de83c21a FIR: fix lambda labeling in light tree builder 2020-04-20 17:05:39 +03:00
Mikhail Glukhikh 29114fe7b5 FIR: leave 'isSuspend' in functional & resolved type references only 2020-04-20 17:05:38 +03:00
Mikhail Glukhikh 96d8b0bea3 FIR: make KFunctionX derived from KFunction 2020-04-20 17:05:37 +03:00
Mikhail Glukhikh 4bb6410ce3 [FIR TEST] Temporary ignore overrideDefaultArgument test (KT-38416)
This test enters an infinite loop and can't finish
2020-04-20 17:05:35 +03:00
Mikhail Glukhikh fe02c2bab3 FIR: return Unit from empty lambda 2020-04-20 17:05:34 +03:00
Mikhail Glukhikh c5dea02074 FIR: handle suspend functions in SAM resolution properly 2020-04-20 17:05:33 +03:00
Mikhail Glukhikh aada7bfe51 FIR: handle suspend functions in callable reference resolve properly 2020-04-20 17:05:31 +03:00
Jinseong Jeon c26adf53dd FIR: resolve suspend lambda properly 2020-04-20 17:05:30 +03:00
Jinseong Jeon 88f81b9b71 FIR: record 'suspend' function modifier in type references 2020-04-20 17:05:28 +03:00
Ilya Kirillov bf97391c51 Wizard: enable new wizard by default in registry key
It was forgotten in 0e199ae94c
2020-04-20 16:14:46 +03:00
Ilmir Usmanov f13d31c7bd Cleanup process in LauncherScriptTest
Remove the hack.
2020-04-20 13:48:19 +02:00
Dmitry Gridin 2d64ded3c7 i18n: fix text in AbstractKotlinInlineDialog
#KT-37822 Fixed
2020-04-20 11:35:58 +00:00
Vladimir Dolzhenko d8b4ff9eab Post KotlinNativeABICompatibilityChecker startup activity conversion clean up
Relates to #KT-38318
2020-04-20 10:29:23 +02:00
Vladimir Dolzhenko 3d4c5b0091 Fix NPE in LookupCancelService$Reminiscence
#EA-228125 Fixed
2020-04-20 08:16:25 +00:00
Vladimir Dolzhenko 061bc9af07 Avoid using containingKtFile in PerFileAnalysisCache
Relates to #EA-230153
2020-04-20 08:16:25 +00:00
Vladimir Dolzhenko a53a12b68a Do not search TODOs in non KT and non physical files
#KT-37896 Fixed
#EA-230407 Fixed
2020-04-20 08:16:24 +00:00
Vladimir Dolzhenko 67fec903f6 Read file content under readAction in ToFromOriginalFileMapper
Relates to #EA-212072
2020-04-20 08:16:24 +00:00
Vladimir Dolzhenko 8ea7fc1d47 Add file content on analysis failure
Relates to #EA-222075
2020-04-20 08:16:23 +00:00
Vladimir Dolzhenko 7bbe1ba8c2 Improve error reporting on KotlinSliceUsage#copy
Relates to #EA-231211
2020-04-20 08:16:23 +00:00
Dmitry Gridin 3ad7e74ecb AbstractPerformanceTypingIndentationTest: fix compilation for 191 2020-04-20 15:12:11 +07:00
Pavel Kirpichenkov b91cf13259 [NI] Fix expicit super receiver check
^KT-37497 Fixed
2020-04-20 10:56:13 +03:00
Ilya Muradyan af147017b4 Fix REPL completion after "final" expressions
Final expressions here are literals, "closed" function calls,
expressions in brackets. Completion variants should not appear after
them if they are not followed by by dot (.) or double colon (::).

Note that identifiers are not considered as final expressions.
2020-04-20 08:55:29 +02:00
Mikhail Zarechenskiy befa1e114c Add tests for obsolete issues
#KT-38092 Obsolete
 #KT-38179 Obsolete
 #KT-35105 Obsolete
 #KT-36696 Obsolete
 #KT-36947 Obsolete
 #KT-37337 Obsolete
 #KT-37309 Obsolete
 #KT-37727 Obsolete
 #KT-37735 Obsolete
 #KT-37853 Obsolete
 #KT-37920 Obsolete
 #KT-37709 Obsolete
 #KT-37706 Obsolete
2020-04-20 04:10:37 +03:00
Abduqodiri Qurbonzoda 57597f5900 Fix String.toHashSet tests 2020-04-20 04:08:29 +03:00
Abduqodiri Qurbonzoda 4d7597fa5a Document 'reduce' operation behavior on empty collections #KT-23322 2020-04-20 03:37:12 +03:00
Valentin Kipyatkov 0b66330d9f Fixed compilation 2020-04-20 01:05:53 +03:00
Ilya Matveev 5f53986f47 [klibs] Allow resolving klibs which names are not valid file names 2020-04-19 19:08:43 +07:00
Abduqodiri Qurbonzoda 3a99b3d5a4 Small refactoring to use Family.CodeExtension.size when appropriate 2020-04-19 07:59:09 +03:00
Abduqodiri Qurbonzoda 0d5ec27ac4 toHashSet is suboptimal for inputs with a lot of duplicates #KT-23142 2020-04-19 07:58:49 +03:00