Commit Graph

13022 Commits

Author SHA1 Message Date
Mikhael Bogdanov 7329a7a9ef Diagnostic for vararg parameters 2013-12-02 18:28:24 +04:00
Mikhael Bogdanov 558687f20f Inline visibility checking 2013-12-02 18:28:24 +04:00
Mikhael Bogdanov c89c465fec Diagnostics for wrong inlinable usage 2013-12-02 18:28:24 +04:00
nik ac6dc9fa54 standard library: 'maxBy' and 'minBy' functions added (#KT-4267 fixed) 2013-12-02 18:24:24 +04:00
nik 45e9211943 standard library: added isEmpty/isNotEmpty functions for primitive arrays 2013-12-02 18:24:24 +04:00
nik b636538422 standard library: variance for Array functions corrected 2013-12-02 18:24:24 +04:00
Alexey Sedunov f5f394cf15 Added read action wrapper
#KT-4268 Fixed
2013-12-02 15:52:24 +04:00
Mikhael Bogdanov 4f017df237 Fix kt-1800 test 2013-12-02 10:40:54 +04:00
Svetlana Isakova 08befe02ee Merge pull request #322 from chashnikov/stdlib-min-max
standard library: 'max' and 'min' functions added (KT-3714, KT-3843, KT-3126)
2013-11-29 06:43:35 -08:00
Mikhael Bogdanov ff40005973 Record resolved call for this expression 2013-11-29 16:27:31 +04:00
Mikhael Bogdanov e7cc7d92c2 Make ReceiverParameterDescriptorImpl extends CallableDescriptor 2013-11-29 16:27:30 +04:00
Nikolay Krasko 48382803ac Refactoring: remove absent annotation warning 2013-11-29 15:04:16 +04:00
Nikolay Krasko 61e190c3e6 Move stub index 2013-11-29 15:04:15 +04:00
Nikolay Krasko 6e229af400 Disable getting variants from kotlin references 2013-11-29 15:04:15 +04:00
Nikolay Krasko b437fca321 Don't download idea for invalid branch 2013-11-29 15:04:14 +04:00
Andrey Breslav 8f45f73340 JetControlFlowTest rewritten to generator 2013-11-29 14:48:31 +04:00
Andrey Breslav 93160431f9 Fix recusrive calls in infix and prefix form
The infamous invokeOperation() method removed
2013-11-29 12:52:58 +04:00
Andrey Breslav db4b73189a Move handling of VariableAsFunctionCall's to invokeFunction 2013-11-29 12:52:57 +04:00
Andrey Breslav 23e533f3b7 Render byte code on exception from back-end 2013-11-29 12:52:57 +04:00
Andrey Breslav c975fcb847 Do not generate byte code to text twice 2013-11-29 12:52:56 +04:00
Andrey Breslav 25f6aa68e0 Verification by ASM added to back-end tests 2013-11-29 12:49:43 +04:00
Nikolay Krasko 7f657ead85 Fix preventing showing any methods in "Goto Symbols" by kotlin plugin 2013-11-28 19:23:26 +04:00
Andrey Breslav 1234e55e7e Expand statement templates whenever they are mentioned at the beginning of line 2013-11-28 17:57:46 +04:00
Zalim Bashorov ededa487a2 Use IDEA 13 branch for jb_update_continuous_local.
Use last ".lastSuccessful" as default value for continuous.idea.version.
2013-11-28 15:36:08 +04:00
Mikhael Bogdanov 1f37ebf7e7 Tests for KT-3646: Wrong this in closure for extension function in constructor
#KT-3646 Obsolete
2013-11-28 12:12:14 +04:00
Mikhael Bogdanov 9ae4af2e4b Fix compilation 2013-11-28 11:58:01 +04:00
Mikhael Bogdanov 35f42b1a65 Tests for KT-4252: Error generating primary constructor with kind OwnerKind
#KT-4252 Obsolete
2013-11-28 10:11:26 +04:00
nik bf36eb07e9 standard library: 'max' and 'min' functions added (KT-3714, KT-3843, KT-3126) 2013-11-27 23:09:30 +04:00
Valentin Kipyatkov 47d3e2e1bb Smart completion: this expressions added 2013-11-27 21:00:19 +04:00
Valentin Kipyatkov 29f7318f4f Refactored completion tests to support more flexible input file format 2013-11-27 21:00:19 +04:00
Valentin Kipyatkov 912fb904b8 Smart completion: declarations of type Nothing filtered out 2013-11-27 21:00:18 +04:00
Nikolay Krasko 1bde5a90a4 Add ability to rename java methods with usages in Kotlin 2013-11-27 15:50:46 +04:00
Nikolay Krasko 9bdb97bfe8 Test for renaming file name after class rename 2013-11-27 15:50:45 +04:00
Nikolay Krasko 3aaf90f8aa Test for renaming not base java method with base kotlin method 2013-11-27 15:50:45 +04:00
svtk b178c79573 analyze function arguments after completion for unresolved and ambiguity cases 2013-11-27 14:26:36 +04:00
nik cde36adbdc standard library: 'sum' function added (KT-3714, KT-3843, KT-3126) 2013-11-27 12:42:40 +04:00
Nikolay Krasko 4ecfab6e0b Fix path case problem 2013-11-27 00:53:32 +04:00
Nikolay Krasko 26d3168224 Test for KT-4100 'Imports doesn't change after java interface name refactoring'
#KT-4100 Fixed
2013-11-27 00:53:31 +04:00
Nikolay Krasko 722118772a Test for KT-3256 'Can't rename a Kotlin function from Java code'
#KT-3256
2013-11-27 00:53:31 +04:00
Zalim Bashorov 3104fc9574 Update to IDEA 133.124 EAP 2013-11-26 21:46:12 +04:00
Nikolay Krasko a4203fac2f Add test for rename method produced from kotlin function 2013-11-26 19:20:01 +04:00
Nikolay Krasko 97c8e05984 KT-2836 Rename kotlin base function with overrides
#KT-2836 Fixed
2013-11-26 19:20:01 +04:00
Nikolay Krasko 5350dc265a Rename: RenameKotlinFunctionProcessor.java -> RenameKotlinFunctionProcessor.kt 2013-11-26 19:20:00 +04:00
Nikolay Krasko ce810d3a55 Generate error tip for rename kotlin package klass from java 2013-11-26 19:20:00 +04:00
Nikolay Krasko 76562f9aa5 KT-3255 Add ability to rename kotlin classes from java
#KT-3255 Fixed
2013-11-26 19:19:59 +04:00
Nikolay Krasko 87fac21310 Auto generate test for rename 2013-11-26 19:19:59 +04:00
Nikolay Krasko 6935ad4437 Refactoring: remove author comment 2013-11-26 19:19:58 +04:00
Nikolay Krasko d765196758 Refactoring: remove warnings 2013-11-26 19:19:58 +04:00
Alexey Sedunov 6dfad69434 Allow super calls in object declarations 2013-11-26 17:29:59 +04:00
Evgeny Gerashchenko 897786f087 Fixed references to com.beust.* 2013-11-26 15:36:40 +04:00