Dmitry Petrov
65f754ffca
Fix KT-10764 IDEA doesn't show overload conflict between constructor and function...
...
When checking for overloads in package, consider functions and top-level class constructors as possibly conflicting between each other. NB OverloadUtil uses containing package scope from module descriptor.
Change diagnostic message for CONFLICTING_OVERLOAD: it's misleading in case of fun vs constructor conflict.
Add custom multifile test for diagnostics in IDE (probably not the best; should preprocess file content if it's required to check highlighting in multiple files, not only in the first file).
Add test for KT-10765 Incremental compilation misses overload conflict between constructor and function ...
2016-02-02 16:21:26 +03:00
Alexey Sedunov
fcbb18d876
Generate equals()/hashCode(): Forbid in interfaces
...
#KT-10815 Fixed
2016-02-01 13:18:38 +03:00
Alexey Sedunov
618f9f62f6
Code Insight: "Generate toString" action
...
#KT-10309 Fixed
2016-01-22 15:50:19 +03:00
Pavel V. Talanov
b34a91eeaa
Changes inside init blocks should be considered out of block modifications
2016-01-20 19:02:53 +03:00
Alexey Sedunov
5a108c5cde
Generate equals/hashCode Action: Use Arrays.equals/Arrays.hashCode for properties of array types
...
#KT-10514 Fixed
2016-01-14 13:55:02 +03:00
Pavel V. Talanov
1c4d4f3e36
Create class descriptors for local classes in illegal positions
...
Typecheck code in illegal selector position
Fixes exceptions on "val p = A.class" erroneous code
2015-12-29 15:56:44 +03:00
Pavel V. Talanov
ca38a50e1a
Test data: fix test data for LineMarkerTest
2015-12-15 20:22:12 +03:00
Ilya Gorbunov
4dde59368c
Fix tests not to duplicate array constructor definitions as they are available now in builtins.
2015-12-14 04:29:18 +03:00
Yan Zhulanow
9d1af5a17e
Fix tests: "infix modifier required" and "operator modifier required" errors
2015-11-27 15:51:11 +03:00
Alexey Sedunov
89132b3f66
Generate Secondary Constructor: Forbid inside of class with explicit primary constructor
2015-11-02 15:15:28 +03:00
Alexander Udalov
a950f36fd7
Minor, fix test data
2015-10-31 13:52:04 +03:00
Nikolay Krasko
8bef335b71
Don't propose to generate Any methods in interface to avoid METHOD_OF_ANY_IMPLEMENTED_IN_INTERFACE error (KT-9796)
...
#KT-9796 Fixed
2015-10-29 14:37:14 +03:00
Alexey Sedunov
07259fa090
Generate Secondary Constructor: Fix test data loading. Add test with non-generic Java superclass
2015-10-24 19:50:47 +03:00
Michael Bogdanov
c63d221da3
Skip private members in facades
2015-10-18 17:53:26 +03:00
Alexey Sedunov
915236a6ba
Code Insight: "Generate equals/hashCode" action
2015-10-17 00:24:37 +03:00
Alexey Sedunov
30d697109c
Code Insight: "Generate secondary constructor" action
...
#KT-6970 Fixed
2015-10-13 20:56:52 +03:00
Yan Zhulanow
ed5c059cea
Rename unary plus() and minus() to unaryPlus() and unaryMinus()
2015-10-09 22:49:17 +03:00
Alexey Sedunov
730cc7b551
Code insight: "Generate..." actions for test framework support methods
...
#KT-9355 Fixed
2015-10-08 13:15:18 +03:00
Alexey Sedunov
5a325aeec0
Line Marking: Implement run markers for test classes/functions
2015-10-08 13:15:16 +03:00
Mikhail Glukhikh
cba6870f52
protected & internal are now forbidden in interfaces
2015-10-07 11:57:14 +03:00
Mikhail Glukhikh
4e91f2ffb7
'open' + 'private' and 'abstract' + 'private' are now incompatible for functions and properties #KT-9324 Fixed
2015-09-29 13:05:11 +03:00
Stanislav Erokhin
5fb6a15c81
Minor. fix testdata
2015-09-08 20:51:32 +03:00
Michael Nedzelsky
68c6c7790a
fix tests in org.jetbrains.kotlin.idea.codeInsight
2015-09-08 02:05:15 +03:00
Dmitry Jemerov
c7b26ed7ca
improve support for renaming overriding methods in enum entries
...
#KT-8891 Fixed
2015-08-28 15:49:07 +02:00
Valentin Kipyatkov
ab783e052f
No override for private to this
2015-08-27 23:21:22 +03:00
Valentin Kipyatkov
d62eeb1c25
Better test
2015-08-27 23:21:22 +03:00
Valentin Kipyatkov
dcfe9b98d7
Fixed bug with duplicated members in Override Members dialog
2015-08-27 23:21:21 +03:00
Valentin Kipyatkov
40638de67c
Override members does not generate qualified super when not needed
2015-08-27 23:21:21 +03:00
Valentin Kipyatkov
9497856d8e
KT-8868 "Implement members" generates unqualified reference for member class/interface
...
#KT-8868 Fixed
2015-08-27 23:21:21 +03:00
Valentin Kipyatkov
9b4e3b15c4
KT-8822 Override Members: do not show private members from java classes
...
#KT-8822 Fixed
2015-08-19 17:26:44 +03:00
Mikhail Glukhikh
adf43519d6
Code mover fix: correct commas / semicolons after enum entries, relevant test fixes, extra tests
2015-08-11 10:38:20 +03:00
Michael Nedzelsky
c74577951e
minor fix in idea/testData: ImplementFunctionType.kt -> implementFunctionType.kt
2015-08-11 04:23:18 +03:00
Valentin Kipyatkov
377201bbcd
KT-8716 Exception on attempt to implement function
...
#KT-8716 Fixed
2015-08-10 20:29:51 +03:00
Denis Zharkov
41d4af2cb9
Implement rendering of raw types
...
Also add some clarification in spec
2015-08-06 08:18:18 +03:00
Valentin Kipyatkov
63dc843c71
KT-8542 Override dialog: only one class from hierarchy is shown
...
#KT-8542 Fixed
2015-07-28 22:39:31 +03:00
Valentin Kipyatkov
edcb330281
Corrected/removed tests related to on-the-fly import optimization
2015-07-22 21:16:13 +03:00
Denis Zharkov
f0833d626a
Fix intentions tests after types enhancement
...
Types became more accurate
2015-07-09 16:36:44 +03:00
Nikolay Krasko
3d8f04e4fe
Update test data: Idea can't parse description with "ctrl+ alt + b" promotion
2015-06-23 15:59:38 +03:00
Nikolay Krasko
d1e7e184b6
Do psi-only checks to avoid unnessasary resolve in creating recursion markers
2015-06-19 14:15:17 +03:00
Valentin Kipyatkov
ceb9b3d663
Fixed test data
2015-05-14 01:09:53 +03:00
Valentin Kipyatkov
734b502ad6
Fixed test data
2015-05-14 01:00:30 +03:00
Dmitry Jemerov
625096466e
IDE testdata: s/trait/interface
2015-05-13 16:13:13 +02:00
Michael Bogdanov
49f063522c
Inline util functions renaming
2015-05-05 12:47:57 +03:00
Michael Bogdanov
e0aa64b8d2
Support functional expression in non-local returns
2015-05-05 12:47:56 +03:00
Dmitry Jemerov
f93eeeb563
fix tests by adding missing 'init' keywords to testdata
2015-04-29 14:07:05 +02:00
Dmitry Jemerov
0cf77dfb10
override/implement: correctly generate call to super method with vararg arguments
...
#KT-7580 FIxed
2015-04-24 14:59:46 +02:00
Dmitry Jemerov
d32ff50579
escape identifiers in generated super method call in Override/Implement
...
#KT-6669 Fixed
2015-04-15 15:44:11 +02:00
Natalia Ukhorskaya
34205c3ff0
NPE in Surround with Action on empty line
2015-04-14 10:41:40 +03:00
Evgeny Gerashchenko
53ef521a8f
Deparenthesizing this expression.
2015-04-08 16:44:45 +03:00
Evgeny Gerashchenko
d7928b7251
Added test cases with labeled diff.
2015-04-08 16:43:34 +03:00