Ilya Gorbunov
7f5b586e3f
Specify kotlin snapshot version in maven plugin integration tests only once.
2016-05-19 05:31:08 +03:00
Mikhail Glukhikh
f81192d48f
Simplify for: take into account two or more possible local variables for the same loop parameter property
2016-05-18 19:56:19 +03:00
Mikhail Glukhikh
9108ab1923
Simplify for: take into account local property mutability
2016-05-18 19:56:14 +03:00
Mikhail Glukhikh
d0fd3dea67
Simplify for: take into account loop parameter nullability
2016-05-18 19:56:10 +03:00
Mikhail Glukhikh
a56248a11a
Simplify for now works even if no variables are declared inside loop #KT-12145 Fixed
2016-05-18 19:56:06 +03:00
Denis Zharkov
46ac26147b
Annotate with @UnsafeVariance relevant types in built-ins
2016-05-18 19:21:38 +03:00
Denis Zharkov
279ff0b561
Extract variance check algorithm into 'core' module
2016-05-18 19:21:38 +03:00
Mikhail Glukhikh
c95e11cc7e
Import as alias with another name is now counted as usage itself #KT-11933 Fixed
2016-05-18 17:46:18 +03:00
Mikhail Glukhikh
0cf61b1b5b
Cleanup: simplify for
2016-05-18 17:46:13 +03:00
Mikhail Glukhikh
d366da5cd6
Simplify for intention: now is not active if map / data class properties aren't used in a loop #KT-11716 Fixed
2016-05-18 17:46:09 +03:00
Mikhail Glukhikh
3930184f1f
Can be parameter inspection: usage in secondary constructor is now handled as property use
2016-05-18 17:46:05 +03:00
Mikhail Glukhikh
bc7fbdc0a2
Can be parameter inspection: minor test correction
2016-05-18 17:46:01 +03:00
Mikhail Glukhikh
b026969144
Can be parameter inspection: handle usage in super call; again #KT-10819 Fixed
2016-05-18 17:45:57 +03:00
Zalim Bashorov
7b1afd4e6a
JS backend: use ResolvedCall when translate super expression and remove some heuristics when translate receivers; generate right receiver when reference to super of outer class;
2016-05-18 17:34:18 +03:00
Alexey Tsvetkov
07adf65f70
Minor: add repository path for android test
2016-05-18 15:24:27 +03:00
Alexey Tsvetkov
a36e3a47ed
Keep order of parsed annotations
2016-05-18 15:24:21 +03:00
Alexey Tsvetkov
65df1debe0
Minor: fix downloading sdk in test
2016-05-18 15:24:17 +03:00
Alexey Tsvetkov
b4d47df52b
Avoid cache corruption on compile error
...
#KT-11874 fixed
2016-05-18 15:24:13 +03:00
Sergey Mashkov
09caa65806
KT-12074 Building Kotlin maven projects using a parent pom will silently fail
...
integration tests
2016-05-18 14:47:17 +03:00
Sergey Mashkov
2d03a5a106
Maven: add maven plugin multimodule test
2016-05-18 14:47:16 +03:00
Sergey Mashkov
77df2e07ad
KT-12074 Building Kotlin maven projects using a parent pom will silently fail
...
We should consider module's basedir if there is relative source directory specified for the execution
2016-05-18 14:47:16 +03:00
Nikolay Krasko
add07ad1a5
Remove unused import
2016-05-18 13:33:18 +03:00
Ilya Gorbunov
5ba8046b48
Change memory growth assertions in testKotlinOnlyDaemonMemory: ensure that the maximum of the used memory established after several first builds doesn't raise significantly in the subsequent builds. Current constraint is 500K per 10 builds which gives 50K per build at average.
2016-05-18 01:45:37 +03:00
Nikolay Krasko
89a10578f4
Remove unused method that causes compatibility problem in update AS plugin
2016-05-17 21:34:00 +03:00
Dmitry Jemerov
fd78424056
remove duplicate source root; update testdata according to the appearance of decompiler in dependencies
2016-05-17 19:53:47 +02:00
Sergey Mashkov
3710520549
Maven: fix integration tests
2016-05-17 18:17:43 +03:00
Mikhail Glukhikh
20bff9f121
Unused symbol inspection refactoring: no use of bundled unused.*
2016-05-17 14:29:05 +03:00
Mikhail Glukhikh
a4ad995f31
Overridden functions using default arguments in recursive call are no more considered tail recursive #KT-4285 Fixed
2016-05-17 14:29:01 +03:00
Mikhail Glukhikh
f35fd32a25
Exhaustive when with 'Unit' result now also generates an exception in else branch #KT-12192 Fixed
2016-05-17 14:28:57 +03:00
Alexey Andreev
23a4184e48
Minor style and formatting improvements of CallArgumentsTranslator
2016-05-17 10:33:16 +03:00
Alexey Andreev
2f42f3bdf6
KT-12305 Fix passing single argument to native vararg function
2016-05-17 10:33:15 +03:00
Ilya Gorbunov
a0e8ed7186
Revert: Disable check for "Access to tree elements not allowed in tests" in completion tests.
2016-05-16 20:54:00 +03:00
Stanislav Erokhin
f376c418dc
Fix SOE related exact annotation and completion
2016-05-16 18:32:16 +03:00
Mikhael Bogdanov
2d185dc7cf
Public api update after adding LocalVariableReference and MutableLocalVariableReference
2016-05-16 17:36:35 +03:00
Dmitry Jemerov
1653f9f480
add "Decompile" button to Kotlin Bytecode toolwindow
2016-05-16 16:03:01 +02:00
Denis Zharkov
9dc47d9a11
Move java/util/List.sort to MutableList
2016-05-16 15:38:13 +03:00
Denis Zharkov
d0acb3674a
Fix rendered testData
...
New members in enum member scope
2016-05-16 15:38:13 +03:00
Denis Zharkov
e90c92f8d3
Separate additional built-in members from JDK into three groups
...
- White list: can be used as common built-in declaration
- Black list: can be used only for overrides and super-calls-
- Not considered members: ones that is not in black or white list.
Such members can be used in any context, but they usages marked as deprecated
Third kind is needed to make possible use declarations added in future JDK versions.
Deprecation is necessary because they may get into black list in next Kotlin compiler version
2016-05-16 15:38:13 +03:00
Denis Zharkov
308ee93392
Minor. Rename field and clarify how it differs from similar one
2016-05-16 15:38:13 +03:00
Denis Zharkov
ef940ab0df
Add new 'HiddenInResolution' kind
...
It's used to hide additional built-ins members loaded from JDK
Such methods can be overridden and called only with 'super'-receiver
2016-05-16 15:38:13 +03:00
Denis Zharkov
1501a042e9
Add possibility to add annotations when building FunctionDescriptor copy
...
It's being used in next commits to add Deprecated annotation
to unknown additional built-ins members
2016-05-16 15:38:13 +03:00
Mikhail Glukhikh
79852e9912
Do not return primary constructor as an analyzable parent, probably #EA-73679 Fixed
2016-05-16 15:12:28 +03:00
Alexey Sedunov
60f23e9a7e
Minor: Move META-INF to "resources" source root
2016-05-16 02:52:24 +03:00
Alexey Sedunov
29310b5ca8
Code Insight: Suppress file reference completion on typing. Disable file references on string literals with escape sequences
2016-05-16 02:52:23 +03:00
Alexey Sedunov
edb3fd8f00
Spring Support: Replace light elements bound to line markers with their originals
...
#KT-12091 Fixed
2016-05-16 02:52:22 +03:00
Yaroslav Ulanovych
de94d5c414
Fix KT-11839 maven goal to execute kotlin script
2016-05-15 16:08:55 +02:00
Valentin Kipyatkov
e8d518a28f
KT-9166 Code completion does not work for synthetic extensions on typing "g"
...
#KT-9166 Fixed
2016-05-14 12:19:42 +03:00
Valentin Kipyatkov
e04c6d1f5c
KT-12299 Completion: incorrect priority of property foo over method getFoo in Kotlin-only code
...
#KT-12299 Fixed
2016-05-14 12:19:42 +03:00
Valentin Kipyatkov
97ad0d5c86
KT-12124 No code completion for a java property in a specific position
...
#KT-12124 Fixed
2016-05-14 12:19:41 +03:00
Valentin Kipyatkov
f6c8ac70fc
Moved method getSmartCastVariantsWithLessSpecificExcluded() into IDE
2016-05-14 12:19:41 +03:00