Commit Graph

66577 Commits

Author SHA1 Message Date
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
Georgy Bronnikov 2c4fcebfec IR: handle adapted bound references 2020-04-18 20:31:57 +03:00
Vladimir Dolzhenko 1827465f48 Convert KotlinNativeABICompatibilityChecker into a startup activity
Relates to #KT-38318
2020-04-18 11:39:53 +02:00
Vladimir Dolzhenko 6fe800eea0 Convert KotlinNativeABICompatibilityChecker into a startup activity
Relates to #KT-38318
2020-04-18 11:36:35 +02:00
Vladimir Dolzhenko 86a02c07f6 Fix KotlinNativeABICompatibilityChecker.getLibrariesToNotifyAbout freeze
Get rid of O(n^2) in copyProperties
make ModuleProductionSourceInfo.stableName lazy
add checkCanceled in loops in IdeaModelInfosCache

#KT-38318 Fixed
2020-04-18 11:36:21 +02:00
Alexey Tsvetkov 06275a201c JPS: remove outputs for additional dirty files for current iteration
JPS does not remove output files for files marked as dirty
for current iteration. This is a problem for adding complementary files
during JPS MPP IC.
If output files are not removed, the compiler might raise an error
for duplicated actual declarations.
2020-04-18 06:05:44 +03:00
Alexey Tsvetkov 4ccec5218f Remove dirty output files when expanding IC scope early
Previously IC could go to the next iteration without removing
outputs for the files compiled during the last iteration.
For example, it could happen, when a multifile part is changed
(we add sources for other parts and recompile everything together).

In case of MPP it could lead to compile error, because
the compiler would see the same actual declarations from dirty sources
and dirty outputs from previous iteration (which should have been removed).
That behaviour did not raise an error before dc8240c24e
because actual declarations from binaries (e.g. compile classpath) were ignored.

    #KT-35957 Fixed
2020-04-18 06:05:44 +03:00
Alexey Tsvetkov 2442abadc3 Add test for KT-35957 2020-04-18 06:05:44 +03:00