Natalia Ukhorskaya
d10c3ffbe4
Fix exception in EE for inline function invocation
...
#KT-10217 Fixed
2015-12-10 14:42:00 +03:00
Natalia Ukhorskaya
58d62fde4d
Add test for smart step into in method with default args
...
#KT-4803 In Progress
2015-12-10 14:41:58 +03:00
Natalia Ukhorskaya
1ca6c695e6
Remove println() from debugger testData
2015-12-10 14:41:53 +03:00
Natalia Ukhorskaya
08c29b7325
Fix step out from inline function literal placed at one line
...
#KT-10187 Fixed
2015-12-10 13:11:40 +03:00
Natalia Ukhorskaya
2bc2d81486
Debugger: correctly box parameter types in case of generics
...
#KT-10180 Fixed
2015-12-10 13:11:39 +03:00
Zalim Bashorov
5bf8b4d946
Allow to use "static" part of class in own constructors by short name, including in primary constructor
2015-12-09 21:42:32 +03:00
Pavel V. Talanov
2e971b13aa
KotlinGoToTest: test go to for builtIn classes and functions
2015-12-09 18:51:32 +03:00
Pavel V. Talanov
7e6bed7ad8
Decompiled text: should always render all modifiers even if we don't feel like it
2015-12-09 18:51:31 +03:00
Pavel V. Talanov
deb6410a5c
Add test for builtIn stub builder and decompiler
...
These test are by no means exhaustive, the correctness of the subsystem relies on it sharing code with well-tested js-decompilation
2015-12-09 18:51:30 +03:00
Dmitry Petrov
70c200d265
Fix diagnostic messages for properties.
...
Fix IDE tests.
Update quick fixes in IDE
(TODO: review new inheritance-related diagnostics with regards to quick fixes)
2015-12-09 17:43:48 +03:00
Dmitry Jemerov
863e32c5cd
Merge pull request #791 from mcgee/KT-9938
...
#KT-9938 Fixed
2015-12-09 15:17:31 +01:00
Andrey Breslav
421f84e05a
Error messages fixed for deprecations that have been made errors
2015-12-09 17:10:30 +03:00
Nikolay Krasko
8a95f23a23
Adjust formatting for FILE_ANNOTATION_LIST
2015-12-09 16:01:56 +03:00
Dmitry Jemerov
e97e82d119
use terms "lambda expression" and "anonymous function" instead of "function literal" and "function expression"
2015-12-09 13:55:40 +01:00
mcgee
4a0e33003b
#KT-9938 Fixed
...
Top level test case is added
2015-12-09 07:32:41 +03:00
Alexey Sedunov
e82e4bcfc8
Inline Variable: Show error message on attempt to inline unused declaration
2015-12-08 16:21:08 +03:00
Alexey Sedunov
5c88a1c63e
Inline Variable: Parenthesize arguments of the form "e1 < e2" if the next argument has the form "e1 > e2"
...
#KT-8261 Fixed
2015-12-08 16:21:07 +03:00
Alexey Sedunov
b2bdb8ed02
Inline Variable: Inline string template entries
...
#KT-7654 Fixed
2015-12-08 16:21:05 +03:00
Alexey Sedunov
e517cbcf78
Quick Fixes: Implement "Rename unresolved reference" fix
...
#KT-8795 Fixed
2015-12-08 16:20:56 +03:00
Alexey Sedunov
8f8acf7a83
Pull Up: Drop default parameter values in function which becomes overriding. Disable function with default values if target class is the Java one
...
#KT-9833 Fixed
2015-12-08 16:20:52 +03:00
Alexey Sedunov
8fcda32287
Unit Test Tooling: Support Go to Test/Create Test actions for top-level declarations
...
#KT-10133 Fixed
2015-12-08 16:20:47 +03:00
Anton Sukhonosenko
da5f71773a
#KT-9938 Fixed
...
Code review fixes
2015-12-07 22:48:47 +03:00
Alexander Udalov
d3c17ec337
Report error when type parameter has a type parameter bound and any other bound
...
To prevent issues with erasure on JVM: it's unclear what such type parameter
should be erased to
2015-12-07 15:47:47 +03:00
Alexander Udalov
b1fa740341
Do not report "inconsistent bounds" when there are repeated bounds
...
Also slightly refactor DeclarationsChecker#checkSupertypesForConsistency
2015-12-07 15:47:47 +03:00
Alexander Udalov
5fbb9bfe3b
Report error on repeated upper bounds for type parameters
2015-12-07 15:47:47 +03:00
Alexander Udalov
21e64e02bd
Report error on more than one class bound for type parameters
...
Such code may behave unexpectedly when compiled to JVM
2015-12-07 15:47:47 +03:00
Anton Sukhonosenko
6b49ac6b46
#KT-9938 Fixed
2015-12-06 01:44:57 +03:00
Pavel V. Talanov
b9ce9f8576
Script, IDE: tweak extract based refactorings to behave better in scripts
...
Fix not being able to invoke introduce variable for top level script expression
Prohibit introduce parameter and introduce property for scripts on top level
Basic test for introduce function (produces red code atm)
2015-12-02 15:14:25 +03:00
Alexey Sedunov
ffd8863875
Extract Function: Add support for member extension properties
2015-12-02 13:54:05 +03:00
Alexey Sedunov
39b46bb3ef
Extract Function: Add support for member extension functions
2015-12-02 13:54:04 +03:00
Alexey Sedunov
6abf13be41
Extract Function: Consider member property with invoke() a receiver candidate
...
#KT-9774 Fixed
2015-12-02 13:54:03 +03:00
Alexey Sedunov
03e1480476
Extraction Engine: Get rid of explicit element offset manipulation and use copyable user data instead
2015-12-02 13:54:02 +03:00
Alexey Sedunov
44bc937499
Shorten References: Fix removal of explicit companion references in the position of callee expression
...
#KT-10102
2015-12-02 13:54:01 +03:00
Alexey Sedunov
2dcc38b92f
Create from Usage: Forbid "Create parameter/local variable/property" on label references
...
#KT-10119 Fixed
2015-12-02 13:54:00 +03:00
Alexey Sedunov
bcadfd4661
Introduce Variable: Suggest choosing between single variable and
...
multi-declaration. Forbid multi-declaration for collections and arrays
#KT-10242 Fixed
2015-12-02 13:46:47 +03:00
Natalia Ukhorskaya
dc60c025c3
Support Evaluate Expression for renamed local variables in inline function
...
#KT-10179 Fixed
2015-12-01 11:48:43 +03:00
Michael Bogdanov
a932315bf9
Rename local vars from inlined function
...
#KT-9798 Fixed
2015-12-01 11:48:40 +03:00
Natalia Ukhorskaya
29778311e8
Drop unnecesary logic about additional context for lambda in debugger
2015-12-01 11:48:38 +03:00
Alexander Udalov
877129340f
Revert "Rename Extension annotation to ExtensionFunctionType"
...
This reverts commit 460dad135c .
The old compiler will not see the new runtime correctly. Postponing this until
1.0
2015-11-30 19:24:58 +03:00
Pavel V. Talanov
54addb4b1e
Script run configuration: Set working directory to a directory containing script file by default
2015-11-30 18:21:06 +03:00
Pavel V. Talanov
4a1c3f02fd
Add basic tests for KotlinStandaloneScriptRunConfiguration
2015-11-30 18:21:05 +03:00
Dmitry Petrov
f0e467e474
Rewrite mixed multiple- and single-condition 'when' properly.
...
#KT-10229 Fixed
2015-11-30 14:43:03 +03:00
Natalia Ukhorskaya
d0355a793b
Write lineNumbers for constructors
2015-11-30 12:25:51 +03:00
Natalia Ukhorskaya
9bcc9e4b1d
Smart step into for constructors
2015-11-30 12:25:46 +03:00
Natalia Ukhorskaya
062b27995c
Debugger: do not change package name for debug function
2015-11-30 12:25:45 +03:00
Natalia Ukhorskaya
002aaaa908
Debugger: fix imports if context element is inside inline lambda
2015-11-30 12:25:45 +03:00
Natalia Ukhorskaya
d2ef7b0ae0
Minor: get line start without whitespaces in KotlinExtraVariablesProvider
...
#KT-10183 Fxied
2015-11-30 12:25:44 +03:00
Alexander Udalov
460dad135c
Rename Extension annotation to ExtensionFunctionType
2015-11-30 02:51:04 +03:00
Ilya Gorbunov
f8fe3e6c1d
Restore dropped hidden declarations for binary compatibility until RC.
2015-11-29 04:37:35 +03:00
Alexander Udalov
7b3b157707
Remove PropertyMetadata from project and bytecode, migrate code to KProperty
2015-11-27 23:34:34 +03:00