Alexander Udalov
c4a568efff
Minor, add test cases for obsolete protected-related issues
2016-04-07 00:07:11 +03:00
Alexander Udalov
9eec5daf51
Minor, fix a few typos in NameResolution.adoc
2016-04-06 23:21:13 +03:00
Nikolay Krasko
9e88db7e58
Fix bad test modification
2016-04-06 21:46:02 +03:00
Nikolay Krasko
46a1028494
Temporary ad-hock jps-tests enable with testdata modification
2016-04-06 21:46:00 +03:00
Alexey Andreev
9fd19dd7fd
KT-7819 Add test to ensure that lambda capturing this literal can be inlined
2016-04-06 16:16:56 +03:00
Alexey Andreev
05887f45f7
KT-7819 Implement non-local returns
2016-04-06 16:16:55 +03:00
Alexey Andreev
a6e1bd1d89
KT-7819 Borrow tests for non-local returns from JVM backend
2016-04-06 16:16:55 +03:00
Pavel V. Talanov
f7db1f934c
IDELightClassGenerationSupport#getContextForClassOrObject: do not rely on resolution facade being unchanged
...
ResolutionFacade should only recompute its underlying structures in case of psi change (which is ok) or some exception, but relying on it being unchanged has led to numerous exceptions in backend when building light classes (EA-70985, EA-80756)
Changing this code may not be the solution but it can possibly move failures to other parts of the system, where they can be easier diagnosed
2016-04-06 16:09:17 +03:00
Nikolay Krasko
74091a12cf
Update since to IDEA 2016.1
2016-04-06 14:20:55 +03:00
Nikolay Krasko
4b22685dc5
Change asm library path
2016-04-06 14:20:53 +03:00
Nikolay Krasko
f648fddb84
Create repository for openapi.jar and idea_rt.jar on teamcity to avoid full idea download
2016-04-06 14:20:51 +03:00
Stanislav Erokhin
187c0d4dd0
Refactoring. Change Key for TAIL_RECURSION_CALL from ResolvedCall to Call.
2016-04-06 13:55:36 +03:00
Stanislav Erokhin
516d4df834
Refactoring. Remove isSafeCall from ResolvedCall.
2016-04-06 13:55:35 +03:00
Stanislav Erokhin
bf08341ee4
Refactoring. Change type of ResolvedCall#extensionReceiver from Receiver to ReceiverValue
2016-04-06 13:55:35 +03:00
Stanislav Erokhin
63a2d8a416
Refactoring. Remove receiverArgument from ResolutionCandidate.
2016-04-06 13:55:34 +03:00
Valentin Kipyatkov
602de317d6
Minor improvement in convert to string template inspection: no highlighting when the expression is split onto multiple lines
2016-04-06 10:45:28 +03:00
Mikhail Glukhikh
c32881e41b
Fix: test renamed
2016-04-06 10:39:50 +03:00
Dmitry Petrov
8377eb4613
KT-11777: no parts for '<root>'
2016-04-06 10:01:01 +03:00
Nikolay Krasko
d8a2cab708
Bad merge in AbstactIntentionTest that made tests useless
2016-04-05 22:12:31 +03:00
Dmitry Jemerov
01b0cfb552
don't parse lines starting with @ as KDoc tags if they're inside a Markdown code fence
...
#KT-11789 Fixed
2016-04-05 19:48:51 +02:00
Stanislav Erokhin
ad002c4f09
Minor. Fix file name & regenerate tests.
2016-04-05 20:45:27 +03:00
Kirill Rakhman
a895a3e3de
ConvertToForEachFunctionCallIntention: convert 'continue' to 'return@forEach'
...
Fixed #KT-11764
2016-04-05 18:48:02 +02:00
Valentin Kipyatkov
d5182ffe16
Minor change on code review
2016-04-05 19:33:08 +03:00
Valentin Kipyatkov
e7fa0bec9a
Ctrl-Q and other PsiElement-based features to work for synthetic java properties
...
#KT-11676 Fixed
2016-04-05 19:33:07 +03:00
Valentin Kipyatkov
2aba11abb8
Added test for generic operator
2016-04-05 19:33:07 +03:00
Valentin Kipyatkov
3aff4d4c17
Smart completion to use super type for override if no explicit type specified
2016-04-05 19:33:06 +03:00
Valentin Kipyatkov
7af67da4ac
Better smart completion after "by" for override property with no explicit type specified
2016-04-05 19:33:06 +03:00
Valentin Kipyatkov
f85de3aac7
Added better way to construct FuzzyType
2016-04-05 19:33:05 +03:00
Valentin Kipyatkov
e18fb20d5a
Completion after "by" for top-level properties
2016-04-05 19:33:05 +03:00
Valentin Kipyatkov
fe9d6aca9a
More correct test data
2016-04-05 19:33:04 +03:00
Valentin Kipyatkov
24764ed865
Checking for conflicting substitutors in completion after "by"
2016-04-05 19:33:04 +03:00
Valentin Kipyatkov
e05d6a7056
Smart completion after "by" works for getValue/setValue in generic class
2016-04-05 19:33:03 +03:00
Valentin Kipyatkov
4dde458e84
Smart completion after "by" works for generic properties too
2016-04-05 19:33:02 +03:00
Valentin Kipyatkov
20ac76fe3a
Member functions of enum should not be in smart completion
2016-04-05 19:33:02 +03:00
Valentin Kipyatkov
9c6fed1622
Enabled old test
2016-04-05 19:33:01 +03:00
Valentin Kipyatkov
3e09a6902a
Renamed test
2016-04-05 19:33:01 +03:00
Valentin Kipyatkov
7b4f26d1b5
Minor changes on code review
2016-04-05 19:33:00 +03:00
Valentin Kipyatkov
9ebf94b4cf
KT-11609 No named arguments completion should be after dot
...
#KT-11609 Fixed
2016-04-05 19:32:59 +03:00
Valentin Kipyatkov
471b673bdd
Dropped HeuristicSignatures because there are supported by the language already
2016-04-05 19:32:59 +03:00
Valentin Kipyatkov
88bdf88bbb
"Delegates" members in smart completion after "by"
...
#KT-6231 Fixed
2016-04-05 19:32:58 +03:00
Valentin Kipyatkov
ae0d840aab
"Static members" completion after "by"
2016-04-05 19:32:58 +03:00
Valentin Kipyatkov
6fa230311c
Show substituted type arguments for type instantiation items
2016-04-05 19:32:57 +03:00
Valentin Kipyatkov
074c6c8dcd
Minor
2016-04-05 19:32:57 +03:00
Valentin Kipyatkov
0edc5c15e2
Complete type instantiation items after "by"
2016-04-05 19:32:56 +03:00
Valentin Kipyatkov
ba6accd5f9
Correct substitutions for smart completion after "by" and "in"
2016-04-05 19:32:55 +03:00
Valentin Kipyatkov
7d3229538e
One more test
2016-04-05 19:32:55 +03:00
Valentin Kipyatkov
e8c35e16e0
Smart completion after "by" and "in": non-imported operators supported
2016-04-05 19:32:54 +03:00
Valentin Kipyatkov
cda539d769
Initial implementation of smart completion after "by"
...
#KT-11787 Fixed
2016-04-05 19:32:37 +03:00
Valentin Kipyatkov
c2065c1856
"contains" now requires to be marked as operator + no heuristic signature for contains needed anymore
2016-04-05 18:44:06 +03:00
Mikhail Glukhikh
1b9c6e0ea2
Add variance (in / out) modifier inspection #KT-11090 Fixed
2016-04-05 17:47:29 +03:00