Ilya Gorbunov
043b27bfe5
Make more generic signature for reduce and reduceRight methods.
...
Fixes #KT-2287
2015-04-15 17:34:08 +03:00
Michael Nedzelsky
08e92ac746
KT-7357 JS: extension functions from external KJS library couldn't be called in some cases
...
#KT-7357 Fixed
#KT-7382 Fixed
2015-04-15 17:00:08 +03:00
Michael Nedzelsky
6842c98285
JS: tests for KT-7357: extension functions from external KJS library couldn't be called in some cases
2015-04-15 17:00:06 +03:00
Dmitry Jemerov
66aa15f470
pull up "New Kotlin File" action next to "New Java class"
2015-04-15 15:29:26 +02:00
Alexander Udalov
4ad603ba12
Fix AssertionError in JsLibraryStdDetectionUtil
...
#KT-7462 Fixed
2015-04-15 15:23:08 +03:00
Alexander Udalov
aab5d1c3e3
Minor, update built-ins serializer message
...
.kotlin_class_names was deleted and .kotlin_name_table was renamed
2015-04-15 01:16:07 +03:00
Alexander Udalov
1b7ba320c7
Fix handling of paths with spaces in kotlinc script
2015-04-15 01:16:07 +03:00
Onorio Catenacci
84acaa9bf6
Changed the path for calling kotlinc-jvm.bat to use short (8.3) names so that this will work correctly with paths with spaces in them
2015-04-15 01:16:06 +03:00
Mikhail Glukhikh
1544755838
Test refactoring
2015-04-14 19:11:26 +03:00
Mikhail Glukhikh
8184bccda1
Extended loop data flow analysis was implemented. #KT-6283 Fixed. #KT-6284 Fixed.
...
A local descendant of JetTypeInfo added to save separately current data flow info and jump point data flow info together with jump opportunity.
Now data flow analysis know about loop bodies that must be executed at least once (do...while, while(true) until the first break/continue).
A set of tests for smart casts in and after loops.
Existing DoWhile and WhileTrue resolve tests corrected in accordance.
2015-04-14 19:11:22 +03:00
Valentin Kipyatkov
bb808b5620
Created module idea-test-framework and moved classes needed for idea tests there
...
Moved tests for completion and their test data into module idea-completion
2015-04-14 18:53:01 +03:00
Valentin Kipyatkov
63825c45dd
First step: moved classes of test framework to another package
2015-04-14 18:53:00 +03:00
Ilya Gorbunov
409209ba3c
Don't count on split removing trailing empty entries.
2015-04-14 15:45:04 +03:00
Evgeny Gerashchenko
7b77ce58a5
Added assertion. There should be either space symbol after prefix (e.g., //ABSENT: A) or no symbols at all (e.g. //RUNTIME).
2015-04-14 15:01:29 +03:00
Alexander Udalov
91bb789758
Fix builtins-serializer source root in compiler sources jar
2015-04-14 12:56:50 +03:00
Alexander Udalov
5d5d1b759d
Minor, simplify jar inclusion in build.xml
2015-04-14 12:56:01 +03:00
Alexander Udalov
3a4659c074
Include resources/kotlinManifest.properties to kotlin-for-upsource.jar
2015-04-14 12:52:33 +03:00
Natalia Ukhorskaya
8bd7fe1464
Gradle: add kotlin outputDir to java classPath if kotlin files are up-to-date
2015-04-14 10:41:42 +03:00
Natalia Ukhorskaya
5e6250511b
Gradle: support for 1.2.0-beta2 com.android.application plugin
2015-04-14 10:41:41 +03:00
Natalia Ukhorskaya
34205c3ff0
NPE in Surround with Action on empty line
2015-04-14 10:41:40 +03:00
Valentin Kipyatkov
38c154ace4
Fixed exception in conversion from Java
2015-04-13 18:14:57 +03:00
Dmitry Jemerov
9434e4bee9
mark wrapper methods that pass default values of parameters as synthetic
...
#KT-7314 Fixed
2015-04-13 15:26:20 +02:00
Dmitry Jemerov
900a16a315
deprecate required classes for traits
2015-04-13 16:22:22 +03:00
Michael Bogdanov
7b0f6018dc
Fix nameless function inlining
2015-04-13 16:11:21 +03:00
Michael Bogdanov
7025a4f933
Test framewrk update: check lambda inlining
2015-04-13 16:11:21 +03:00
Michael Bogdanov
27c40edeb4
InlineTestUtil convertion
2015-04-13 16:11:21 +03:00
Michael Bogdanov
9c74b22262
Rename InlineTestUtil.java to *.kt
2015-04-13 16:11:21 +03:00
Michael Bogdanov
e200b97ca4
Inline callable references
...
#KT-6900 Fixed
2015-04-13 16:11:21 +03:00
Dmitry Jemerov
991db29731
drop covariant specialisation for supertypes
2015-04-13 15:28:50 +03:00
Evgeny Gerashchenko
9de5acf9a6
Removed indeterministic test. We have analogous test for diagnostics, so it is not a big problem.
2015-04-13 15:21:40 +03:00
Evgeny Gerashchenko
993ba6161f
Fixed compilation.
2015-04-13 15:21:23 +03:00
Evgeny Gerashchenko
508c7a58b6
KT-7377 Throwable: Empty PSI elements should not be passed to createDescriptor from UnusedReceiverParameterInspection
...
#KT-7377 fixed
2015-04-13 15:04:00 +03:00
Valentin Kipyatkov
e3bdc18aea
KT-7344 Completion of second type argument in class instantiation does not work
...
#KT-7344 Fixed
2015-04-13 14:30:03 +03:00
Valentin Kipyatkov
3fad68ad4c
Completion: no "else" in first when entry
2015-04-13 14:30:03 +03:00
Valentin Kipyatkov
3faf6cc3e8
Correct value passed as containingDeclarationOrModule to SmartCastUtils
2015-04-13 14:30:02 +03:00
Valentin Kipyatkov
33f119a65a
Renamed "containingDeclaration" parameters to "containingDeclarationOrModule" to make it more clear that we can pass ModuleDescriptor instead of precise containing declaration
2015-04-13 14:30:02 +03:00
Valentin Kipyatkov
f73a41aa15
Completion should not generate deprecated lambda syntax
2015-04-13 14:30:02 +03:00
Valentin Kipyatkov
723bf0ecf9
Minor
2015-04-13 14:30:02 +03:00
Valentin Kipyatkov
5954307147
Fixed KT-7308 Exception on completion inside anonymous object
...
#KT-7308 Fixed
2015-04-13 14:30:02 +03:00
Valentin Kipyatkov
8b5be4febc
Minor
2015-04-13 13:41:44 +03:00
Valentin Kipyatkov
f02e2b3ed6
Corrected generated tests after rebase
2015-04-13 13:41:44 +03:00
Valentin Kipyatkov
03270af430
Added scrollbar
2015-04-13 13:41:43 +03:00
Valentin Kipyatkov
066a7c3002
Code style setting for packages to always use star imports and UI for it
2015-04-13 13:41:43 +03:00
Valentin Kipyatkov
1a54886720
Basic UI for import code style settings
2015-04-13 13:41:43 +03:00
Valentin Kipyatkov
a8d737bf87
One more test for import nested classes setting
2015-04-13 13:41:43 +03:00
Valentin Kipyatkov
04b2bdcc79
Added test for "import packages" code style setting
2015-04-13 13:41:43 +03:00
Valentin Kipyatkov
0f9858bb75
Code style setting to import nested classes
2015-04-13 13:41:43 +03:00
Nikolay Krasko
be896b7d8e
Fix test data: non-inherited elements are shown in file structure popup
2015-04-13 13:03:02 +03:00
Nikolay Krasko
b359cd2af0
Update to idea 141.588.1
2015-04-13 13:03:00 +03:00
Valentin Kipyatkov
965f3da2b1
Fixed bug with bad conversion on paste when top-level java class copied
2015-04-13 11:05:31 +03:00