Commit Graph

280 Commits

Author SHA1 Message Date
Mikhail Glukhikh 6914d09297 Old backing field with dollar is now forbidden 2015-10-09 21:06:26 +03:00
Dmitry Jemerov 7e2c2ef678 restore compilation after rebase of dropping external annotations; fix affected tests 2015-10-09 11:52:02 +02:00
Ilya Gorbunov 1c416ae5f3 Fix testData/intentions: replace deprecated reverse usages. 2015-10-07 22:36:47 +03:00
Mikhail Glukhikh cba6870f52 protected & internal are now forbidden in interfaces 2015-10-07 11:57:14 +03:00
Dmitry Jemerov 2884a1c6ea handle semicolons in "introduce backing property"
#KT-9417 Fixed
2015-10-06 16:12:08 +02:00
Valentin Kipyatkov 45c3d74b42 KT-9284 Intention to convert to expression body doesn't work in particular case
#KT-9284 Fixed
2015-10-05 15:33:44 +03:00
Alexey Sedunov b805645489 Change Signature: Support receiver <-> parameter conversion for function expressions
#KT-9309 Fixed
2015-10-01 17:35:20 +03:00
Alexey Sedunov 9ec87c01ab Property <-> Function Conversion: Add/remove 'get'/'is' prefixes automatically
#KT-8812 Fixed
2015-10-01 17:35:12 +03:00
Dmitry Jemerov 61d78e0880 tests for "Add 'const' modifier" 2015-09-25 19:14:54 +02:00
Dmitry Jemerov 86a01a9a0d update Java usages when adding 'const' modifier; make the action available as intention 2015-09-25 19:14:53 +02:00
Dmitry Jemerov 9de74921ca code review 2015-09-25 18:25:38 +02:00
Dmitry Jemerov 4e7236529c "move assignment to initializer" quickfix for assigning to properties in constructors/init blocks 2015-09-25 18:25:37 +02:00
Dmitry Jemerov e1acc8744d "introduce backing property" intention 2015-09-25 18:25:37 +02:00
Yan Zhulanow 6db9344659 Fix compiler tests 2015-09-25 19:20:20 +03:00
Valentin Kipyatkov c05232bbb7 J2K: generate accessor bodies in expression form if possible 2015-09-25 13:02:46 +03:00
Denis Zharkov 73799e2c3c Replace deprecated lambda syntax in testData
It's done with similar constructions where possible trying to preserve
intended behavior.
Some usages are removed because they test exactly the feature that
we are going to drop soon.
2015-09-25 08:29:25 +03:00
Dmitry Jemerov 4ca434da54 remove support for 'trait' keyword 2015-09-22 15:00:24 +02:00
Stanislav Erokhin 8efbf4fc32 Fixed testdata -- removed package import 2015-09-18 21:00:20 +03:00
Valentin Kipyatkov 367b32c309 Adapted IDE to no explicit return type required for public declarations 2015-09-18 15:44:19 +03:00
Valentin Kipyatkov 1ccbda6af4 Do not insert explicit visibility modifier if it's default 2015-09-18 15:44:17 +03:00
Alexey Sedunov 89ae7d2036 Intentions: Fix test data after default visibility was changed to PUBLIC 2015-09-11 02:20:50 +03:00
Alexey Sedunov 794127a38b Change Signature: Add/remove constructor keyword on primary constructor when changing modifier list 2015-09-11 02:20:46 +03:00
Alexey Sedunov b4410c625f Change Signature: Recreate call expression when converting receiver to parameter
#KT-8878 Fixed
2015-09-11 02:20:37 +03:00
Ilya Gorbunov a59962c620 Change test data to reproduce the same error as was before adding an overload of assert. 2015-09-08 10:27:33 +03:00
Valentin Kipyatkov 97cf562dea Made convert to string template inspection less eager 2015-09-07 19:48:05 +03:00
Mikhail Glukhikh 8f7b29f80a Annotation rename: target --> @Target 2015-09-07 13:42:26 +03:00
Denis Zharkov 31244edec9 Deprecate deprecated in favor of Deprecated 2015-09-04 18:19:31 +03:00
Stanislav Erokhin 5ded315cbb Improved error reporting for candidates with wrong parameter count 2015-09-01 23:37:42 +03:00
Denis Zharkov e8f91e596c Adjust test data after fixes about generic nullability 2015-08-28 18:50:26 +03:00
Valentin Kipyatkov 4717b17418 Inspection & fix for redundant supertype qualification 2015-08-27 23:21:22 +03:00
Valentin Kipyatkov ba33c834c1 Add name to argument intention to work not only on the last argument 2015-08-27 23:21:20 +03:00
Valentin Kipyatkov 7b149c10c1 UsePropertyAccessSyntaxIntention: handled case when property type is more specific 2015-08-13 17:29:03 +03:00
Valentin Kipyatkov 6fcb75cfb5 One more test added 2015-08-13 17:29:03 +03:00
Mikhail Glukhikh 022e7d1169 Deprecated enum syntax removed: most idea tests 2015-08-10 16:24:16 +03:00
Valentin Kipyatkov 977bf593e0 KT-8574 'Convert to block body' inserts spurious < token
#KT-8574 Fixed
2015-07-28 22:39:29 +03:00
Valentin Kipyatkov 82cd58a556 Restored live template but made it more useful 2015-07-21 15:55:57 +03:00
Valentin Kipyatkov 6339ad4ec6 Added inspection based on RemoveForLoopIndicesIntention 2015-07-21 14:59:22 +03:00
Valentin Kipyatkov 8ffc1bb3a6 One more test added 2015-07-21 14:59:09 +03:00
Valentin Kipyatkov 0c9401c953 Renamed and correct test data 2015-07-21 14:59:08 +03:00
Valentin Kipyatkov dee6bb2f49 Fixed test 2015-07-21 11:39:59 +03:00
Valentin Kipyatkov a81ed335d0 Renamed test data folders 2015-07-21 11:37:19 +03:00
Valentin Kipyatkov 9ad04a1a26 Merge branch 'master' into ElliotM-for-loop-indices 2015-07-21 11:25:49 +03:00
Valentin Kipyatkov e0e7044032 Synthetic properties: fixed completion and inspection for generic class
+ fixed KT-8539 No completion of generic extension function for <*> type arguments

 #KT-8539 Fixed
2015-07-21 08:32:50 +03:00
Valentin Kipyatkov 0ac990e1a0 More tests for smart casts 2015-07-21 08:32:50 +03:00
Valentin Kipyatkov b6027a0efe Changed synthetic properties naming for getters starting with "is" 2015-07-21 08:32:49 +03:00
Nikolay Krasko 87e94aa20b Minor test data update after moving to new idea 2015-07-17 20:59:08 +03:00
Valentin Kipyatkov bfdc74ce74 Intention&inspection to use synthetic property instead of get/set method call 2015-07-16 13:49:15 +03:00
Ilya Gorbunov 4de5dd9aeb Drop deprecated FunctionalList, FunctionalQueue.
Remove dependency on FunctionalList from tests.
2015-07-15 17:45:56 +03:00
Mikhail Glukhikh 0d2a81f098 Annotation target checking in front-end, a set of tests for different annotation targets, existing test fixes
No checks for erroneous annotations. Additional checks for identifiers.
2015-07-14 16:25:04 +03:00
Denis Zharkov f0833d626a Fix intentions tests after types enhancement
Types became more accurate
2015-07-09 16:36:44 +03:00