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
Valentin Kipyatkov
b6c54ac314
Minor code improvements after conversion
2016-05-14 12:19:41 +03:00
Valentin Kipyatkov
83714ae9c9
Conversion to Kotlin (step 2)
2016-05-14 12:19:41 +03:00
Valentin Kipyatkov
ccd7ae901c
Conversion to Kotlin (step 1)
2016-05-14 12:19:40 +03:00
Valentin Kipyatkov
fe2953090e
Added test for KT-12124
2016-05-14 12:19:40 +03:00
Mikhail Glukhikh
182ade19e9
'Long' type is now stored for 'Long' literal #KT-12267 Fixed
2016-05-13 19:51:30 +03:00
Mikhael Bogdanov
48c8678281
Extracted logic of obtaining delegated local variable metadata
2016-05-13 19:11:24 +03:00
Mikhael Bogdanov
c06b51c1d1
Allow top-level local delegated properties in scripts
2016-05-13 19:11:23 +03:00
Mikhael Bogdanov
6ece2b41d6
Box inline test for local delegated property
2016-05-13 19:11:23 +03:00
Mikhael Bogdanov
5e933b7acd
localVariableReferences.kt moved from reflection.jvm to runtime.jvm
2016-05-13 19:11:22 +03:00
Mikhael Bogdanov
93b342c936
TODO: reuse tests for local delegated properties from JVM backend in JS one
2016-05-13 19:11:22 +03:00
Mikhael Bogdanov
e207b56009
Support increment and '+=' on local delegated properties in JS backend
2016-05-13 19:11:21 +03:00
Mikhael Bogdanov
ec632c37ab
Support increment and '+=' on local delegated properties
2016-05-13 19:11:21 +03:00
Mikhael Bogdanov
6ae511b253
LocalVariableDescriptor.withAccessors renamed to isDelegated, added getter
2016-05-13 19:11:20 +03:00
Dotlin
0e071b4748
Delegated Properties: Code generation for local properties (JS)
2016-05-13 19:11:20 +03:00
Dotlin
4c223845b6
Delegated Properties: Code generation for local properties (JVM)
2016-05-13 19:11:19 +03:00
Dotlin
fa523b9af4
Delegated Properties: Analysis adjustments for local delegated properties support
2016-05-13 19:11:18 +03:00
Ilya Gorbunov
9bfb226948
Drop inline-only extensions and hide non-inline-only ones that are available now as mapped methods of mapped builtins.
...
#KT-10887 Fixed
2016-05-13 18:14:52 +03:00
Mikhail Glukhikh
9bd3be68f7
Code cleanup: protected is effectively private
2016-05-13 17:57:17 +03:00
Mikhail Glukhikh
e31806e2b5
Code cleanup: redundant modality (minor)
2016-05-13 17:57:12 +03:00
Mikhail Glukhikh
1301d9047d
Code cleanup: redundant visibility (minor)
2016-05-13 17:57:08 +03:00
Mikhail Glukhikh
733f3e8025
Code cleanup: type parameters can have in / out variance
2016-05-13 17:57:02 +03:00
Valentin Kipyatkov
9afb0d5f59
KT-12284 "Add braces to else" has too wide range
...
#KT-12284 Fixed
2016-05-13 17:44:01 +03:00
Valentin Kipyatkov
618b1b9a2a
Refactored replace with safe/dot call fixes
2016-05-13 17:44:01 +03:00
Valentin Kipyatkov
3f82cc9b39
KT-12260 ISE while replacing an operator with safe call
...
#KT-12260 Fixed
2016-05-13 17:44:01 +03:00