Valentin Kipyatkov
11fd8fe392
Convert to expression body: fixed type selection for public override
2014-10-28 15:40:11 +03:00
Nikolay Krasko
d1fe9b71ef
Make line break before '}' optional
...
#KT-6142 Fixed
2014-10-28 01:50:51 +04:00
Nikolay Krasko
0cd95b5514
Formatter: empty lines between declarations
2014-10-28 01:50:50 +04:00
Nikolay Krasko
6090eb5563
Refactoring: move method to rules
2014-10-28 01:50:50 +04:00
Nikolay Krasko
5d094415ce
Allow access to home kotlin project dir in convert tests
2014-10-28 01:50:49 +04:00
Alexander Udalov
35e956609a
Rewrite mutable collection stub method generation
...
The main problem of the previous approach was that we were only generating
erased method signatures, which was incorrect in case a class also had a member
from another supertype with the same signature as the substituted one from the
collection. Javac issues compilation errors when compiling Java code against
such classes.
Also all the needed method stub signatures were hardcoded in
generateBuiltInMethodStubs() and the case of MutableListIterator was missing
2014-10-27 17:17:31 +03:00
Alexander Udalov
1fc9c58b24
Minor, update outdated deprecation comment
2014-10-27 17:17:27 +03:00
Alexander Udalov
685a1c38e2
Fix indent in built-in sources
2014-10-27 17:17:26 +03:00
Alexey Tsvetkov
fb8918bbe6
JS backend: removed adding '$' to label suffix
2014-10-27 15:58:49 +03:00
Alexey Tsvetkov
78e12f7cfa
JS backend minor: removed license from test cases
2014-10-27 15:58:49 +03:00
Nikolay Krasko
8d86951a3b
Refactoring: junit.framework.Assert -> org.junit.Assert
2014-10-27 12:47:43 +04:00
Nikolay Krasko
863ef64c61
Replace http://teamcity.jetbrains.com to https
2014-10-24 16:24:53 +04:00
Natalia Ukhorskaya
7d106ee8b5
Debugger tests: do not create breakpoints for FakeLightClassForFileOfPackage because we create them for KotlinLightClassForPackage
2014-10-24 15:59:40 +04:00
Natalia Ukhorskaya
d9ac8155da
Debugger: wrong stepping through the loop with continue label
...
#KT-5776 Fixed
#KT-5664 Fixed
2014-10-24 15:59:39 +04:00
Natalia Ukhorskaya
ffba1b6fa0
Debugger tests: render line properly
2014-10-24 15:59:38 +04:00
Natalia Ukhorskaya
3900ee34ae
Debugger tests: move stepping tests
2014-10-24 15:59:37 +04:00
Natalia Ukhorskaya
cce22c0df9
Debugger: implement getSourcePosition for fields
2014-10-24 15:59:36 +04:00
Nikolay Krasko
29d73b9302
Don't activate getPresentation() method from parser tests
...
Calling this method from frontend tests caches empty presenters
in KeyedExtensionCollector that makes plugins tests fail.
2014-10-24 15:54:00 +04:00
Valentin Kipyatkov
304c826b47
Fixed KT-6128 Code completion does not work inside function literal if it's dependant on declarations below
...
#KT-6128 Fixed
2014-10-24 15:14:26 +04:00
Valentin Kipyatkov
357ea7a995
Added JetCallableDeclaration.getColon()
2014-10-24 14:19:41 +04:00
Valentin Kipyatkov
d13fd19a63
Added feature to "Convert to expression body" intention: selection for easier explicit type removal
2014-10-24 14:19:41 +04:00
Nikolay Krasko
ea69f5a9a6
Fix for KT-6106: Using platformStatic crashes intellisense (but not Compiler)
...
#KT-6106 Fixed
2014-10-24 10:04:43 +04:00
Alexander Udalov
c50ca3ab86
Fix empty stack trace in assertion for platform typed expression
2014-10-23 18:32:47 +04:00
Alexey Sedunov
27977cda23
Move: Test data addendum
2014-10-22 21:07:10 +04:00
Alexey Sedunov
07dfde4d2d
Add comment
2014-10-22 21:07:09 +04:00
Alexey Sedunov
f7ef1c8d4d
Add alternative constructor
2014-10-22 21:07:08 +04:00
Alexey Sedunov
c0901ec8a6
Improve assertion message
2014-10-22 21:07:07 +04:00
Alexey Sedunov
d5e80cae1b
Remove unused property
2014-10-22 21:07:06 +04:00
Alexey Sedunov
5b3a4ed7e0
Make JetOperationExpression an inheritor of JetExpression
2014-10-22 21:07:05 +04:00
Alexander Udalov
8c87b242b3
Regenerate tests
2014-10-22 20:49:35 +04:00
Pavel V. Talanov
a65f0d3b2a
Use PsiElement#getResolveScope() instead of custom helper
...
Fix extensions and types completion completion in code fragments in context of library source files
Also affects completion in files not in our project (not tested)
2014-10-22 18:56:33 +04:00
Pavel V. Talanov
db8d1b58b8
Debugger: log error on evaluating fragment with non-kotlin context
2014-10-22 18:56:32 +04:00
Pavel V. Talanov
c3efe1b9b7
Extract attachment helper to a separate file
...
Improve logic for a nonphysical file
2014-10-22 18:56:32 +04:00
Pavel V. Talanov
5806a66cf9
JetPositionManager: restrict scope of type mapper
2014-10-22 18:56:31 +04:00
Pavel V. Talanov
f2018a8764
Minor: extract function
2014-10-22 18:56:31 +04:00
Pavel V. Talanov
11b18c2817
Minor: rename
2014-10-22 18:56:30 +04:00
Pavel V. Talanov
0070377f2a
KotlinCacheService: Correctly deal with code fragments in getLazyResolveSession()
...
Fix completion in code fragments in context of library source
2014-10-22 18:56:30 +04:00
Pavel V. Talanov
e88db57214
Test completion for code fragments in context of library source
2014-10-22 18:56:29 +04:00
Pavel V. Talanov
a0ad05983a
KotlinCacheService: Correctly deal with code fragments in getAnalysisResults()
...
Fix evaluate expression for breakpoints in library source
2014-10-22 18:56:29 +04:00
Pavel V. Talanov
8d9f17d09d
Reconfigure KotlinDebuggerTestCase
...
It is hiding a problem: evaluate expression fails in libraries
2014-10-22 18:56:28 +04:00
Pavel V. Talanov
e9fe66b8e4
Assert that extra files passed to analysis are in the same module
2014-10-22 18:56:28 +04:00
Andrey Breslav
d4d909de5f
Flexible types supported in Extract Function when used from debugger/evaluate expression
2014-10-22 18:56:27 +04:00
Alexey Sedunov
925177f3d8
Move: Fix rebinding of references to singleton members and Java statics
...
#KT-6082 Fixed
2014-10-22 18:43:14 +04:00
Alexey Sedunov
bc7ae4186b
Move: Do not rebind references to the declaration under move
2014-10-22 18:42:59 +04:00
Alexey Sedunov
b2588f610a
Create From Usage ("set" operation): Support expressions of the form a[i]++
2014-10-22 18:42:58 +04:00
Alexey Sedunov
b5e1fe613c
Extract Function: Take duplicates into account when choosing placement of extracted function
...
#KT-5916 Fixed
2014-10-22 18:42:57 +04:00
Alexey Sedunov
c492ffee08
PSI Pattern Matching: Prefer strongly matched children over weakly matched parents
2014-10-22 18:42:55 +04:00
Alexey Sedunov
40da4bd423
Extract Function: Do not allow property extraction if return type is Unit
...
#KT-6017 Fixed
2014-10-22 18:42:55 +04:00
Alexey Sedunov
f5f1aec47b
Create From Usage: Add support of get/set functions in property delegates
...
#KT-5977 Fixed
2014-10-22 18:42:54 +04:00
Alexey Sedunov
d4a9b922e5
Create From Usage: Fix template insertion when target container is not empty
2014-10-22 18:42:52 +04:00