Dmitry Petrov
a76fb328cb
Dropping package facades:
...
- fix testData for 'move' tests
(NB regression in **/onDemandStaticImport.java, see: https://youtrack.jetbrains.com/issue/KT-9624 )
2015-10-19 16:03:20 +03:00
Dmitry Petrov
6b2b64e438
Drop package facades: fix evaluation tests
2015-10-19 16:03:19 +03:00
Pavel V. Talanov
12d5aca9d6
Fix test data for safe delete test
...
(cherry picked from commit 25f363d)
2015-10-19 16:03:18 +03:00
Pavel V. Talanov
50ff146865
Fix test data for reference resolve in java test
...
(cherry picked from commit fcfe51a)
2015-10-19 16:03:18 +03:00
Pavel V. Talanov
ba84214bd0
Fix test data for rename test
...
(cherry picked from commit aee4f25)
2015-10-19 16:03:18 +03:00
Pavel V. Talanov
e578caaed2
Fix test data for move test
...
Tests do not pass after this change
(cherry picked from commit d4437d7)
2015-10-19 16:03:18 +03:00
Pavel V. Talanov
2e1967eb84
Fix test data for change signature test
...
(cherry picked from commit 8d420f1)
2015-10-19 16:03:18 +03:00
Pavel V. Talanov
fd893ba499
Fix test data for reconcile package with directory test
...
(cherry picked from commit b926e02)
2015-10-19 16:03:17 +03:00
Pavel V. Talanov
abca7107a7
Fix test data for convert function/property to property/function test
...
(cherry picked from commit e78c26a)
2015-10-19 16:03:17 +03:00
Pavel V. Talanov
c2bc1280d3
Fix test data for call hierarchy test
...
(cherry picked from commit 0145cc4)
2015-10-19 16:03:17 +03:00
Pavel V. Talanov
5cf1417511
Fix test data for quick doc test
...
(cherry picked from commit 57589e3)
2015-10-19 16:03:17 +03:00
Pavel V. Talanov
bb77890a4e
Drop DeprecatedFacadeUsageInspection
...
(cherry picked from commit f18b95d)
2015-10-19 16:03:17 +03:00
Pavel V. Talanov
93bb010875
Drop decompiledText/clsStub tests for package facades
...
(cherry picked from commit fbaa81c)
2015-10-19 16:03:16 +03:00
Pavel V. Talanov
3a34dc0efe
minor: fixes in test data
...
(cherry picked from commit 6ea4fbd)
2015-10-19 16:03:16 +03:00
Dmitry Petrov
149e70aa07
Dropping package facades:
...
- light classes: do not generate light class for package facade
- drop package facades as multifile classes compilation mode support
- get rid of some additional package facade fqName usages
- update tests for light classes
2015-10-19 16:03:16 +03:00
Pavel V. Talanov
aeb4abe39d
Fix decompiled text for named companion object
...
Fix stub/ast mismatch for compiled named companion objects
Add tests
2015-10-19 15:27:49 +03:00
Mikhail Glukhikh
a4af6a3076
data deprecations (empty constructors, non val/var arguments, vararg, superclasses) are now errors, relevant tests fixed
2015-10-19 15:24:28 +03:00
Yan Zhulanow
b2470a6aad
Report warning on unary plus()/minus()
2015-10-19 11:51:54 +03:00
Nikolay Krasko
9ef8370871
Allow to create quickfix multifile tests in single file
...
It simplifies creating new tests
2015-10-19 11:30:47 +03:00
Valentin Kipyatkov
734d3f4fca
Removed test which did not work by some reason
2015-10-19 09:43:13 +03:00
Valentin Kipyatkov
963a8992b1
Fixed availability of "Make abstract" and "Implement members" quickfixes
2015-10-19 09:43:13 +03:00
Valentin Kipyatkov
e7fa2cb776
Replace with explicit "get" inspection enabled by default but is reported only for functions explicitly marked with "operator"
2015-10-19 09:43:13 +03:00
Valentin Kipyatkov
563ad4bab2
Added test
2015-10-19 09:43:12 +03:00
Valentin Kipyatkov
5ce0ed37b1
Moved file to another package
2015-10-19 09:43:12 +03:00
Valentin Kipyatkov
d1de2f65c9
Rewritten AddOperatorModifierInspection to be based on an intention (shouldn't we drop the inspection at all?)
2015-10-19 09:43:12 +03:00
Valentin Kipyatkov
dc909ac166
J2K: coversion of specially mapped built-in methods + replacing "get" with "[]" where possible
2015-10-19 09:43:11 +03:00
Valentin Kipyatkov
50f559a1c8
ReplaceGetIntention should not be available for non-operator functions
2015-10-19 09:43:11 +03:00
Valentin Kipyatkov
e42bb1698d
MoveAssignmentToInitializerIntention to select property type when it can be removed
2015-10-19 09:43:10 +03:00
Yan Zhulanow
e14c9645dc
Error on 'if' without an 'else' branch when used as an expression
2015-10-19 03:56:15 +03:00
Zalim Bashorov
de5dc61820
Make NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION error
2015-10-18 22:49:08 +03:00
Michael Bogdanov
c63d221da3
Skip private members in facades
2015-10-18 17:53:26 +03:00
Denis Zharkov
d8ede6d03e
Transform Enum.values to property
2015-10-17 17:46:16 +03:00
Natalia Ukhorskaya
9168572b8c
Write local variable for inline function and inline argument
2015-10-17 17:02:55 +03:00
Stanislav Erokhin
7d7d37719b
Forbidden old invokeExtension convention.
2015-10-17 14:45:53 +03:00
Alexey Sedunov
6f5d977728
Inspections: Add inspection on equals()/hashCode()
2015-10-17 00:24:39 +03:00
Alexey Sedunov
915236a6ba
Code Insight: "Generate equals/hashCode" action
2015-10-17 00:24:37 +03:00
Yan Zhulanow
3bb1b1adfd
Put property delegates -related warnings on 'by'
2015-10-16 22:20:06 +03:00
Yan Zhulanow
9ae3b0fa9c
Drop loading Java annotation methods as functions
2015-10-16 22:13:34 +03:00
Svetlana Isakova
9b440345a1
Do not render @NoInfer, @Exact annotations
...
For now they are always not rendered,
but later they should be rendered in descriptors, but omitted in error messages
2015-10-16 21:58:45 +03:00
Mikhail Glukhikh
4b35e3b135
Preliminary declaration visitor for estimating local variable's predictability for smart casts
...
Predictability estimation algorithm is completely new, but backward compatibility should present.
A large set of tests. Some updated tests.
Smart casts allowed for captured variables if they are not modified in closure #KT-9051 Fixed
Also #KT-8643 Fixed
Also #KT-7976 Fixed
Correct handling of lambda arguments in functions #KT-9143 Fixed
2015-10-16 20:47:47 +03:00
Stanislav Erokhin
d5dbc9638d
Added static methods, nested classes and companion object from superclasses.
2015-10-16 20:42:34 +03:00
Valentin Kipyatkov
f311d9febf
Refactored change signature fixes to not hold DeclarationDescriptor's
2015-10-16 19:06:31 +03:00
Denis Zharkov
bd37a10677
Transform *Array.size to properties
2015-10-16 18:16:02 +03:00
Michael Nedzelsky
8e9f1ac31a
Extension function type is not allowed as supertype
2015-10-16 14:23:47 +03:00
Valentin Kipyatkov
dc83d5cf04
Fixed test data
2015-10-15 19:20:12 +03:00
Valentin Kipyatkov
b519a8af08
Fixing live template context detection after changes in parser
2015-10-15 19:20:09 +03:00
Valentin Kipyatkov
988c934e78
Fixed Pull Up to generate correct annotation syntax
2015-10-15 19:20:08 +03:00
Valentin Kipyatkov
c8135fe4f2
Removed obolete syntax for enum entries in test data
2015-10-15 19:20:08 +03:00
Valentin Kipyatkov
090ea37a32
Fixed test data to use only annotation syntax with @
2015-10-15 19:20:08 +03:00
Valentin Kipyatkov
487501a7a4
Fixed test data after changes in parser
2015-10-15 19:20:08 +03:00