Commit Graph

901 Commits

Author SHA1 Message Date
Andrey Breslav 255b65c667 KT-2363 Drop secondary constructors
Test data updated
2012-07-19 21:01:33 +04:00
Alexander Udalov b2defb2cb4 KT-2317 Wrong UNNECESSARY_SAFE_CALL
#KT-2317 Fixed
2012-07-04 15:39:58 +04:00
Nikolay Krasko 83d0e8ebb5 - Merge https://github.com/JetBrains/kotlin/pull/90
- Move introduce and remove !! call to one class
2012-07-02 20:41:18 +04:00
Sergey Lukjanov d879827371 Test for "unnecessary non-null assertion quickfix should not displayed for 'value!!.foo()' case" has been added. 2012-07-02 20:41:17 +04:00
Nikolay Krasko 66984a5f23 Fix test with file rename 2012-06-28 00:48:44 +04:00
Nikolay Krasko 4a0b13d11e KT-2254 Incorrect indentation after = in val:
#KT-2254 fixed
2012-06-27 21:01:55 +04:00
Nikolay Krasko bade0e0275 Check that quick fixes don't produce new errors 2012-06-27 17:41:21 +04:00
Nikolay Krasko d3041d410e Merge pull request #80 from Frostman/quickfix-impr
Fix for KT-2174 Need "Replace with unsafe call" intention
2012-06-26 13:42:34 -07:00
Nikolay Krasko 6b82429587 Don't create stubs for properties inside function initializers (EA-36861) 2012-06-25 15:07:10 +04:00
Alexander Udalov 38fc57ae42 Pass DataFlowInfo through when-conditions 2012-06-21 22:38:11 +04:00
Alexander Udalov d67e22b174 KT-2223 Comparing non-null value with null might produce helpful warning
#KT-2223 Fixed
2012-06-20 20:33:58 +04:00
Sergey Lukjanov 4478f2dc4a Test for unnecessary non-null assertion fixed 2012-06-20 13:06:53 +04:00
Sergey Lukjanov a4584e96d7 Tests has been added 2012-06-18 18:47:32 +04:00
Evgeny Gerashchenko f38191682f Fixed LibrariesWithoutSourcesTest after correcting loading of 'internal' visibility from bytecode. 2012-06-16 19:38:19 +04:00
pTalanov 2e531ee809 JetCompilerMessagingTest and K2JSCompilerMessagingTest: tests that launch the cli compiler and check that resulting messages are in correct format 2012-06-15 20:15:14 +04:00
Svetlana Isakova 2286022307 get rid of 'internal protected' visibility 2012-06-09 19:43:53 +04:00
Nikolay Krasko f8926c8a93 Absence of type is not enough for concluding function has type inference 2012-06-09 15:54:56 +04:00
Nikolay Krasko b104d70196 More aggressive block cache invalidation for declarations with type inference 2012-06-08 22:53:17 +04:00
Nikolay Krasko b5d5e42e5b KT-2217 Formatter fails to format unary minus
#KT-2217 fixed
2012-06-08 21:59:50 +04:00
Stepan Koltsov ccdd37053c fix test 2012-06-08 05:12:05 +04:00
Nikolay Krasko 184d3fb16e - Tests for OUT_OF_CODE_BLOCK_MODIFICATION behaviour
- Enable behaviour for property accessors
2012-06-05 17:54:22 +04:00
Nikolay Krasko c00c4d3881 KT-1808 Auto import offers private static Java classes
#KT-1808 fixed
2012-06-01 17:09:44 +04:00
Nikolay Krasko 32b70db6b2 KT-1920 Don't complete java.lang.Double for the prefix Double
#KT-1920 fixed
2012-06-01 13:28:12 +04:00
Nikolay Krasko f18372cfdc KT-1672 Don't complete import java.lang.reflect.Array when Array is typed at the beginning of a line
#KT-1672 fixed
2012-06-01 00:11:54 +04:00
Nikolay Krasko 8d69af87ce Completion for java inner class names 2012-05-31 19:58:05 +04:00
Evgeny Gerashchenko 9b403bfb66 KT-2111 Highlight Java classes/interfaces/etc in Kotlin code
#KT-2111 fixed
2012-05-31 18:12:09 +04:00
Evgeny Gerashchenko b3e211a3ba KT-2139 java.sql.Array inserted by completion is inserted by short name, and import is not added
#KT-2139 fixed
2012-05-30 18:05:49 +04:00
Nikolay Krasko d759d50811 Change representation of extension functions 2012-05-29 15:03:36 +04:00
Nikolay Krasko 252ba5672e KT-2122 Code completion after val with space should not add local variable's name (set priority in completion for local variables and parameters)
#KT-2122 fixed
2012-05-28 21:19:45 +04:00
Svetlana Isakova b6b1ce52e1 tests changed:
added check for unused/uninitialized variables inside local and anonymous functions
2012-05-28 12:06:13 +04:00
Nikolay Krasko e946a0f908 - Out of block modification strategy for Kotlin block expression
- Separate project analysis for IDEA needs: headers + bodies
2012-05-27 17:39:56 +04:00
Svetlana Isakova 0fd882741b function invocation with only type parameters prohibited 2012-05-23 22:04:22 +04:00
Svetlana Isakova 327b471eaf "Change to function invocation" fix added 2012-05-23 21:53:17 +04:00
Nikolay Krasko deb13344c0 Fix test and add special option for spacing around colon in type definitions 2012-05-23 19:29:18 +04:00
Alexander.Podkhalyuzin 48533ca8d2 Fixed KT-2072: do not suggest to use type inference in Introduce Variable in case if expression type depends on expected type. 2012-05-23 18:58:39 +04:00
Nikolay Krasko ccb8c08684 Fix test and add special option for spacing around colon in type definitions 2012-05-23 18:44:23 +04:00
Alexander.Podkhalyuzin b9267dc7cf Fixed KT-2071: Cannot Introduce Variable from function literal. 2012-05-23 15:58:55 +04:00
Alexander.Podkhalyuzin b5b9f7ba98 Fixed broken testdata. 2012-05-23 15:58:12 +04:00
Dmitry Jemerov 88c4778055 rename Kotlin methods used in Java code 2012-05-22 19:09:39 +02:00
Dmitry Jemerov fa1ecfaa93 find usages of Kotlin methods in Java code (KT-1819)
#KT-1819 fixed
2012-05-22 19:09:38 +02:00
Dmitry Jemerov 09cf7ac2aa find usages and rename work for Kotlin classes called from Java code (KT-1641)
#KT-1641 fixed
2012-05-22 19:09:38 +02:00
Svetlana Isakova b63d3905f9 KT-1256 Error highlighting in IDE should be less annoying
#KT-1256 fixed
2012-05-22 18:23:51 +04:00
Nikolay Krasko 8208489759 KT-1810 "defined in" in completion list takes space that could be used for more useful information - replaced to "in"
#KT-1810 fixed
2012-05-22 01:49:09 +04:00
Nikolay Krasko a7b11d2b4e KT-1673 Respect formatter settings in the completion list - apply standard renderer
#KT-1673 fixed
2012-05-22 01:45:36 +04:00
Alexander.Podkhalyuzin 8db0546052 Do not check function names in scope to suggest name for introduce variable refactoring (local values can overload function names from upper scopes). 2012-05-21 18:29:01 +04:00
Stepan Koltsov 8c8ed3a1ee KT-1388 Parse static final fields from java binary classes as non-null
#KT-1388 Fixed
2012-05-13 00:53:37 +04:00
Evgeny Gerashchenko 78914d0157 Merge branch 'master' of git+ssh://github.com/JetBrains/kotlin 2012-05-12 21:58:41 +04:00
Evgeny Gerashchenko 6f3f1a11f4 Added test cases for StandardLibraryReferenceResolverTest. 2012-05-12 21:56:45 +04:00
Evgeny Gerashchenko cfb0844706 Added test microframework and simple test for checking resolving of references to standard library. 2012-05-12 21:56:45 +04:00
Nikolay Krasko 9bbdb4cf56 KT-1950 Don't complete if after val
KT-1894 Do not suggest "trait" after fun
 #KT-1950 fixed
 #KT-1894 fixed
2012-05-12 17:10:06 +04:00