Commit Graph

18063 Commits

Author SHA1 Message Date
Alexander Udalov 159878e09d Pass correct outer instance in complex case of inheritance
#KT-5343 Fixed
2014-10-16 16:16:55 +04:00
Alexander Udalov 61674fb3d9 Don't put outer instance twice for anonymous object extending inner
#KT-5343 In Progress
2014-10-16 16:16:54 +04:00
Alexander Udalov 7315146753 Fix and refactor ExpressionCodegen#pushClosureOnStack
- change Closure parameter to ClassDescriptor, load closure in the beginning
- invert and rename boolean parameter, also use it only to prevent pushing
  dispatch receiver (not the extension receiver) onto the stack because the
  only non-trivial usage of it is preceded by manual handling of the dispatch
  (not extension) receiver. This fixes innerOfLocalCaptureExtensionReceiver.kt
2014-10-16 16:16:54 +04:00
Valentin Kipyatkov 79123d6bb6 Minor 2014-10-16 15:14:23 +04:00
Valentin Kipyatkov 6b163bca8a Keyword completion uses simple prefix matching only 2014-10-16 15:14:23 +04:00
Valentin Kipyatkov 1e5ea703b5 Added a test 2014-10-16 15:14:23 +04:00
Valentin Kipyatkov 0da62a8815 Keyword completion: added missing 'out' keyword 2014-10-16 15:14:23 +04:00
Valentin Kipyatkov 6dc17e5a03 Minor refactoring in keyword completion 2014-10-16 15:14:22 +04:00
Valentin Kipyatkov 96a5e573c3 Fix in keyword completion 2014-10-16 15:14:22 +04:00
Valentin Kipyatkov 8e1a89230e Keyword correction: smaller file text 2014-10-16 15:14:22 +04:00
Valentin Kipyatkov f7dc0fca74 Keyword correction: more correct behavior + smaller file text 2014-10-16 15:14:22 +04:00
Valentin Kipyatkov 525a1cc3c6 Fixed tests 2014-10-16 15:14:22 +04:00
Valentin Kipyatkov d65d3b9068 Checked that KT-2795 has been fixed
#KT-2795 Fixed
2014-10-16 15:14:21 +04:00
Valentin Kipyatkov 9663fac5b1 Checked that KT-2832 has been fixed
#KT-2832 Fixed
2014-10-16 15:14:21 +04:00
Valentin Kipyatkov 50e1ec9c4f Fixed KT-5809 Code completion after "?." should not include keywords
#KT-5809 Fixed
2014-10-16 15:14:21 +04:00
Valentin Kipyatkov 549171d043 Completely rewritten keyword completion implementation using another approach
#KT-2816 Fixed
2014-10-16 15:14:21 +04:00
Natalia Ukhorskaya 6a4fe52e51 Fix Android tests 2014-10-16 14:31:57 +04:00
Andrey Breslav a128b94e2e Typo fixed: "cast", not "casted" 2014-10-16 14:10:14 +04:00
Andrey Breslav 9feebb1dc6 "typedef" replaced with "typeAlias" in the grammar 2014-10-16 14:10:02 +04:00
Nikolay Krasko 4cb276c47f More information about context for assert 2014-10-16 13:01:37 +04:00
Nikolay Krasko 501bb398d4 Update to Idea 139.69.2 2014-10-16 13:01:36 +04:00
Evgeny Gerashchenko 1a3750f31b Stabilized order of static accessors. 2014-10-15 20:38:16 +04:00
Evgeny Gerashchenko 84c7b05781 Stabilized order of methods inherited by delegation. 2014-10-15 20:38:16 +04:00
Evgeny Gerashchenko db45f4a062 Fixed hot swap when closure captures variables
Stabilized order of synthetic constructor parameters in anonymous class.

 #KT-5440 fixed
2014-10-15 20:33:17 +04:00
Valentin Kipyatkov afa59a616c More tests 2014-10-15 17:30:33 +04:00
Valentin Kipyatkov 2365db1367 Fixed KT-6011 Smart completion works for argument of wrong method
#KT-6011 Fixed
2014-10-15 17:30:33 +04:00
Alexey Sedunov b18b888161 PSI Pattern Matching: Fix matching of !!
#KT-6021 Fixed
2014-10-15 15:41:47 +04:00
Alexey Kudravtsev 6f5a2172ac moved more find usages-related stuff to idea-analysis for upsource 2014-10-15 15:11:49 +04:00
Natalia Ukhorskaya fff8bfff5f Debugger: do not throw exception on getting source position for Kotlin object 2014-10-15 14:09:55 +04:00
Andrey Breslav 3453809b4b Defining flexible type semantic equality through subtyping 2014-10-15 14:07:55 +04:00
Andrey Breslav f41a8d2c00 Render "<" properly in HTML 2014-10-15 14:07:54 +04:00
Andrey Breslav 2bf6db003a Error message corrected: packages can't be nested any more 2014-10-15 12:22:35 +04:00
Andrey Breslav 391b57077b KT-5976 Parser recovery is poor on object with parameters
#KT-5976 Fixed
2014-10-15 12:22:35 +04:00
Andrey Breslav d25a858214 "typealias" escaped in DOM API generator 2014-10-15 12:22:33 +04:00
Evgeny Gerashchenko cb9a55b375 Minor. Storing valOrVar in constructor to avoid bad action text for outdated quick fix. 2014-10-15 11:51:02 +04:00
Evgeny Gerashchenko fbcfed6757 Fixed EA-57220. 2014-10-15 11:51:01 +04:00
Evgeny Gerashchenko b653598df2 Fixed EA-61504. 2014-10-15 11:51:01 +04:00
Evgeny Gerashchenko 0d17a71ffa Minor. Renamed class. 2014-10-15 11:51:01 +04:00
Evgeny Gerashchenko ef93a71e78 Made "Remove val/var from parameter" quick fix local. 2014-10-15 11:51:01 +04:00
Evgeny Gerashchenko 7a6429e35e Removed live templates completion contributor.
LT are added to completion on IDEA side.

Fixed EA-52890.
2014-10-15 11:51:01 +04:00
Evgeny Gerashchenko 745a7333b1 Fixed EA-50672. 2014-10-15 11:51:00 +04:00
Evgeny Gerashchenko 05677e26a4 Fixed EA-54056. 2014-10-15 11:51:00 +04:00
Evgeny Gerashchenko 4fe11f0998 Clarified assertion. Just in case. 2014-10-15 11:51:00 +04:00
Evgeny Gerashchenko e1cf002c30 Clarified assertion which should be fixed on IDEA side. 2014-10-15 11:51:00 +04:00
Evgeny Gerashchenko e9880e6787 Clarified assertion for EA-50536. 2014-10-15 11:50:59 +04:00
Evgeny Gerashchenko a759fc2454 Added test for EA-53340. 2014-10-15 11:50:59 +04:00
Evgeny Gerashchenko 7229df26ab Project settings: navigation to EA problems. 2014-10-15 11:50:59 +04:00
Evgeny Gerashchenko 73f3db5cf8 Clarified assertion for EA-50657. 2014-10-15 11:50:59 +04:00
Natalia Ukhorskaya a0e518870d Fix Android tests 2014-10-15 09:54:29 +04:00
Natalia Ukhorskaya 0a9adbb777 Do not try to use index in JetPositionManager in dumpMode
EA-58536 Fixed
2014-10-15 09:54:28 +04:00