Denis Zharkov
1df08cfa6c
Minor, drop redundant allowAtAnnotations option
...
As '@' annotations are allowed everywhere
2015-05-20 09:24:55 +03:00
Denis Zharkov
488464dd3b
Minor, extract methods
2015-05-20 09:24:55 +03:00
Denis Zharkov
aa4a20dddc
Add missing 'constructor' to testData when it was necessary
2015-05-20 09:24:55 +03:00
Denis Zharkov
a9c1c3edb6
Add quickfix for missing 'constructor' inside primary ctor
2015-05-20 09:24:55 +03:00
Denis Zharkov
a2578d0f46
Minor, move quickfixUtil.kt
2015-05-20 09:24:55 +03:00
Denis Zharkov
46a6cab671
Formatter: no spaces after 'constructor' inside primary ctor
2015-05-20 09:24:55 +03:00
Denis Zharkov
09cae59f0a
Report warning on modifier list of primary ctor unless 'constructor' keyword specified
2015-05-20 09:24:54 +03:00
Denis Zharkov
805a811d91
Change parsing rules for primary constructor
...
- Parse 'constructor' keyword before value arguments
- Allow unescaped annotations
2015-05-20 09:24:54 +03:00
Denis Zharkov
d058a07ce2
Parsing: allow semicolon between declarations
2015-05-20 09:24:54 +03:00
Valentin Kipyatkov
7edff172a2
KT-1273 Unused assignment - should highlight assignment instead of expression
...
#KT-1273 Fixed
2015-05-19 23:45:59 +03:00
Alexander Udalov
189286efee
Support platformStatic members in companion object of enums
...
#KT-7777 Fixed
2015-05-19 18:47:00 +03:00
Alexander Udalov
e1b367bd65
Delete test case for navigation to 'invoke' of functional type
...
Classes for functional types will not have any physical source representation
anymore, so navigation to them in the IDE will not be possible
2015-05-19 18:47:00 +03:00
Alexander Udalov
bc2398cf40
JS: disable test on inheritance from function types
...
This is not yet fully supported but this test is an obstacle for the function
type refactoring
#KT-7692 Open
2015-05-19 18:46:59 +03:00
Alexander Udalov
7a1b3bfbed
JS: serialize/deserialize type annotations similarly to JVM
...
No new tests added because there are some on extension functions, which soon
will depend on type annotations to be preserved to work correctly
2015-05-19 18:46:58 +03:00
Andrey Breslav
a2b1a86ef5
Rename packages in kotlin-reflect.jar so that they do not duplicate compiler classes
2015-05-19 17:15:02 +03:00
Andrey Breslav
100c1b2787
Proguard instruction extracted to a separate file
2015-05-19 17:15:02 +03:00
Andrey Breslav
f7a9cc6b28
Fix for EA-64905 - assert: TypeUtils.intersect
2015-05-19 17:15:02 +03:00
Mikhail Glukhikh
1389b62fa4
Enum entry delimiters / super constructors: a few remaining warnings removed
2015-05-19 17:07:47 +03:00
Pavel V. Talanov
5b14d5be28
ClsStubBuilder: fix stub builder in case of java types annotated with special annotations
2015-05-19 16:01:40 +03:00
Sergey Mashkov
09e7e0da4d
JS: example library to use new library format
2015-05-19 15:51:38 +03:00
Sergey Mashkov
4ef745974e
Maven: Fix build for Maven 3.0.5
2015-05-19 15:00:10 +03:00
Mikhail Glukhikh
1edce76d01
Fix for EA-68569 with a test. #EA-68569 Fixed
2015-05-19 13:55:28 +03:00
Nikolay Krasko
0108205367
Minor: log class of element in assert message
2015-05-19 13:04:57 +03:00
Nikolay Krasko
9c507ec9cb
Use equality check when looking for java elements in IDE
2015-05-19 13:04:56 +03:00
Nikolay Krasko
edeea5e399
Refactoring: move JavaDescriptorResolver extensions to idea-analysis module
2015-05-19 13:04:55 +03:00
Nikolay Krasko
ea789845aa
J2K: LazyTopDownAnalyzer - converter fixes
2015-05-19 13:04:54 +03:00
Nikolay Krasko
6caa1e644d
J2K: LazyTopDownAnalyzer - converter
2015-05-19 13:04:54 +03:00
Nikolay Krasko
94386f35e3
J2K: LazyTopDownAnalyzer - rename file
2015-05-19 13:04:53 +03:00
Mikhail Glukhikh
3585c45f70
Fixed a quick fix for enum entry delimiters: situation with following comments. Three new tests. isAvailable().
2015-05-19 11:22:57 +03:00
Mikhail Glukhikh
6342b98592
Fixed a quick fix for enum entry short super constructor syntax (situation with a preceding comment / annotation). Four extra tests. isAvailable().
2015-05-19 11:22:34 +03:00
Natalia Ukhorskaya
62e9c31987
Do not step into package facade class if SKIP_SYNTHETIC_METHODS flag is true
2015-05-19 10:39:09 +03:00
Michael Bogdanov
0cb4b8f8d4
Fix outer info generation for scripts
2015-05-19 10:34:34 +03:00
Andrey Breslav
0426291bd7
Test data fixed
2015-05-19 06:26:11 +03:00
Alexey Sedunov
fa03e4e76c
Move: Implement "Update package directive" option
2015-05-18 21:18:56 +03:00
Alexey Sedunov
d88e01e770
Convert to Kotlin: KotlinMoveFilesOrDirectoriesHandler.kt
2015-05-18 21:18:55 +03:00
Alexey Sedunov
e854da386d
Convert to Kotlin: Rename KotlinMoveFilesOrDirectoriesHandler.java -> .kt
2015-05-18 21:18:54 +03:00
Alexey Sedunov
c34ba01513
Move: Place "Destination directory" panel under "To Package" option. Fix panel title. Add missing mnemonics
2015-05-18 21:18:54 +03:00
Alexey Sedunov
7bc5ec04c7
Move: Suggest deleting file when all declarations are moved
2015-05-18 21:18:53 +03:00
Alexey Sedunov
6c4b895f72
Move: Do not search/process usages if package is not changed
2015-05-18 21:18:52 +03:00
Alexey Sedunov
da6b8b75ea
Move File/Change Package: Change package directive prior to processing of internal usages (otherwise some necessary imports are not added)
2015-05-18 21:18:51 +03:00
Alexey Sedunov
1a60995ea9
Move: Forbid refactoring if target file is the same as the original one
2015-05-18 21:18:50 +03:00
Alexey Sedunov
35bdf9c261
Minor: Code cleanup
2015-05-18 21:18:49 +03:00
Alexey Sedunov
38ae9349fc
Move: Move entire file if all declarations are selected ("Move to Package" mode)
2015-05-18 21:18:48 +03:00
Alexey Sedunov
7cf7a14d9b
Move: Warn about moving to the existing file in "Move to Package" mode
2015-05-18 21:18:47 +03:00
Alexey Sedunov
870c9c4668
Move: Allow the user to choose target file name when moving declarations to package
2015-05-18 21:18:47 +03:00
Alexey Sedunov
2bd21b0f37
Move: Allow moving several files represented by their top-level declarations in the Project View (provided there is only one declaration per file)
2015-05-18 21:18:46 +03:00
Alexey Sedunov
f08438c53c
Move: Fix dialog layout (member selection panel should take as much space as possible)
...
#KT-7696 In Progress
2015-05-18 21:18:45 +03:00
Alexey Sedunov
d88d7a0ac5
Move: Do not use existing file name when moving its top-level declaration(s)
...
#KT-7697 Fixed
2015-05-18 21:18:44 +03:00
Sergey Mashkov
72238c4d39
Maven: maven annotations is required in compile time in some cases
2015-05-18 19:59:55 +03:00
Mikhail Glukhikh
0d7f649cc2
Implementation of exhaustive whens in control flow analysis.
...
Now control flow analyzer knows when is exhaustive.
If despite of this all conditions are accidentally false, jump to error is generated.
A set of tests (diagnostic, control flow). #KT-5113 Fixed. #KT-6046 Fixed. #KT-1882 Fixed.
2015-05-18 19:44:29 +03:00