Commit Graph

13042 Commits

Author SHA1 Message Date
Mikhael Bogdanov 9a9527906b Don't lost diagnostics on real elements when processing fake resolveCall 2013-12-02 18:30:42 +04:00
Mikhael Bogdanov 621a4002e4 Binary and unary expression support 2013-12-02 18:30:42 +04:00
Mikhael Bogdanov 431e61ef74 Beatify code 2013-12-02 18:30:42 +04:00
Mikhael Bogdanov 771501912e Comment 'inline' annotation that brokes build 2013-12-02 18:30:42 +04:00
Mikhael Bogdanov 1391676281 Support parenthesized, typed and labeled expressions 2013-12-02 18:30:42 +04:00
Mikhael Bogdanov ceda72e0ca Deserialization of function descriptors via DesirializedSimpleFunctionDescriptor 2013-12-02 18:30:42 +04:00
Mikhael Bogdanov 8533fd64ff Compiler inline on/off flag 2013-12-02 18:30:42 +04:00
Mikhael Bogdanov 4079735bf2 Diagnostic for nullable parameter of Function type 2013-12-02 18:30:42 +04:00
Mikhael Bogdanov 40239c42a7 Fix cli 2013-12-02 18:30:42 +04:00
Mikhael Bogdanov d11311ec20 Test compilation fix 2013-12-02 18:30:42 +04:00
Mikhael Bogdanov 191891963c Fixed warning with 'orEmpty' function 2013-12-02 18:30:42 +04:00
Mikhael Bogdanov 382b2d4a96 Fix compilation warnings with redundant inline annotation 2013-12-02 18:30:42 +04:00
Mikhael Bogdanov 16f554b6bf Removed inline annotation from downTo functions 2013-12-02 18:28:24 +04:00
Mikhael Bogdanov 0e0f950140 Replacing callable and rullable funs with SAM constructor 2013-12-02 18:28:24 +04:00
Mikhael Bogdanov 1dba69186c Stdlib compilation error fixes with new diagnostics 2013-12-02 18:28:24 +04:00
Mikhael Bogdanov 339e639135 Stdlib regenerated 2013-12-02 18:28:24 +04:00
Mikhael Bogdanov 40d7841892 Added inline flag to templates 2013-12-02 18:28:24 +04:00
Mikhael Bogdanov eb3edeb527 Nothing to inline diagnostic 2013-12-02 18:28:24 +04:00
Mikhael Bogdanov f7c62fe631 Checking modality and visibility of inline function 2013-12-02 18:28:24 +04:00
Mikhael Bogdanov 87e66a6e57 Diagnostric for default 2013-12-02 18:28:24 +04:00
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