Mikhael Bogdanov
185b5013fe
Properly process nested try and loop blocks
...
KT-3894: Loops and finally: finally block executed twice when break and return exists in try/finally block
KT-3874: Compilation error on try catch block contains break and continue
KT-3869: Loops and finally: outer finally block not run
#KT-3869 Fixed
#KT-3894 Fixed
#KT-3874 Fixed
2013-08-19 16:06:56 +04:00
Mikhael Bogdanov
d0f042ba93
Properly generate exception table for try/catch block
...
KT-3549 'Finally' block not run when re-throwing exception
KT-3867 When catched exception occurs in finnaly block it invokes additional catch and itself
#KT-3549 Fixed
#KT-3867 Fixed
2013-08-19 16:06:56 +04:00
Nikolay Krasko
eaf0c2cb84
Fix problem of getting reference and parameter in functional literal inside other parameter (EA-48757)
2013-08-19 14:44:50 +04:00
Nikolay Krasko
e984ce2aa8
Introduce method for getting element with context for better error reports
2013-08-19 14:44:30 +04:00
Nikolay Krasko
491150cf22
Use version of test with initializing post startup activities to initialize builtins
2013-08-16 18:28:08 +04:00
Nikolay Krasko
3fd265e34a
Remove assert about error type for removing type annotation
2013-08-16 18:28:06 +04:00
Nikolay Krasko
26f14a67ee
Fix "Descriptor of property not available in binding context" assert for declarations in bodies
2013-08-16 18:28:05 +04:00
Nikolay Krasko
a4f452a943
Refactoring: Introduce EMPTY AnalyzeExhaust constant
2013-08-15 19:04:43 +04:00
Nikolay Krasko
58aaa2bc00
Refactoring: extract anonymous CachedValueProvider provider
2013-08-15 19:04:42 +04:00
Nikolay Krasko
95559e09eb
Refactoring: Remove WholeProjectAnalyzerFacade (methods were inlined)
2013-08-15 19:04:41 +04:00
Erokhin Stanislav
8c952ebfdb
JS backend: added delegate property support.
2013-08-14 20:05:27 +04:00
Andrey Breslav
8ee5911a87
Module groups added
2013-08-14 19:22:29 +04:00
Andrey Breslav
f5af1f5461
Trying to fix a blinking test
...
Sometimes quick-fix tests that use Change Signature failed with weird assertions, allegedly because an alarm inside the Change Signature dialog schedules something on AWT thread that fires while the next test is running
2013-08-14 18:59:03 +04:00
Andrey Breslav
40f3a1e1aa
Assertion message
2013-08-14 18:04:28 +04:00
Andrey Breslav
22e5c58017
Source paths updated for IDEA libraries
2013-08-14 18:04:28 +04:00
Andrey Breslav
52c5e6c001
Force replace sources.zip before downloading
2013-08-14 18:04:28 +04:00
Nikolay Krasko
d25ac975ff
Ensure different session is generated for different file and create them for library files
2013-08-14 15:31:18 +04:00
Nikolay Krasko
73308378e5
Add ability to test jet file is in scope
2013-08-14 15:31:16 +04:00
Nikolay Krasko
80c0a1a0f7
Create descriptors cache for the whole project and store file-specific session only for created temporary files
2013-08-14 15:31:15 +04:00
Nikolay Krasko
388f365900
Cache resolve session under OUT_OF_BLOCK_MODIFICATION_TRACKER
2013-08-14 15:31:14 +04:00
Nikolay Krasko
1bb036bb80
Get reference for invoke calls with lazy resolve
2013-08-14 15:31:13 +04:00
Natalia Ukhorskaya
992ccccde0
Merge pull request #295 from nskvortsov/master
...
Fix to handle empty kotlin compilation output
2013-08-14 03:57:46 -07:00
Nikita Skvortsov
f99f4bcf22
fix to handle empty kotlin compilation output
2013-08-14 14:01:24 +04:00
Nikita Skvortsov
4302cbd816
minor fix improvements and integration test
2013-08-13 17:28:17 +04:00
Natalia.Ukhorskaya
04e397b850
Small syntax improvement
2013-08-13 16:30:40 +04:00
Nikita Skvortsov
7cb8e76ed7
fix duplicates in classpath
2013-08-13 16:30:39 +04:00
Alexey Sedunov
497d3c6706
Simplify "Find Usages" test data, Move configuration options to test files
2013-08-13 15:26:24 +04:00
Alexey Sedunov
76c81aa3f0
Add support of extension search
2013-08-13 15:26:08 +04:00
Alexey Sedunov
1881d17b67
Add Kotlin delegate for Java safe delete
2013-08-13 15:25:23 +04:00
Alexey Sedunov
ced288452c
Implement "Find usages with options" for kotlin functions
2013-08-13 15:25:04 +04:00
Alexey Sedunov
64a7e93900
Allow user to find usages of overriden methods
2013-08-13 14:53:53 +04:00
Alexey Sedunov
76d8e8b95d
Introduce parent class for "find usage" handlers
2013-08-13 14:53:53 +04:00
Alexey Sedunov
4ee9783101
Extract search action name
2013-08-13 14:53:52 +04:00
Alexey Sedunov
eb1d458807
Move checkSuperMethods and format methods to RefactoringUtil
2013-08-13 14:53:51 +04:00
Alexey Sedunov
ea7a377bea
Find usages test: Move test data out of code
2013-08-13 14:53:50 +04:00
Natalia Ukhorskaya
341174534a
Merge pull request #293 from nskvortsov/master
...
code polishing
2013-08-13 03:25:33 -07:00
Erokhin Stanislav
adcb359c38
JS backend: added enum class support.
2013-08-12 21:48:18 +04:00
Erokhin Stanislav
3b5d5a4a95
JS backend: added identityEquals support.
2013-08-12 21:48:18 +04:00
Erokhin Stanislav
48cd8f4df4
JS backend: Fix override val property in ecma5.
2013-08-12 21:48:18 +04:00
Mikhael Bogdanov
c9215ed8a5
KT-2784 VerifyError when passing a value to a class object's super type constructor
...
#KT-2784 Fixed
2013-08-12 18:58:09 +04:00
Zalim Bashorov
b46e0361c5
Use the system path separator character in compiler messages.
...
Fix for CliTest.
2013-08-12 13:37:44 +04:00
Andrey Breslav
be8045a392
Adding info to an exception
2013-08-12 13:24:20 +04:00
Andrey Breslav
3617e418c2
Fixing guava 14 library and sources
2013-08-09 17:32:24 +04:00
Nikolay Krasko
a18875aba4
Fix local file uri for windows
2013-08-09 15:43:52 +04:00
Erokhin Stanislav
9d1ae5e3d9
JS backend: Add class object support.
2013-08-09 14:59:09 +04:00
Nikita Skvortsov
6ce92f6d0d
code polishing
2013-08-09 14:36:07 +04:00
develar
e786e62fd7
JS backend: fixed variable capturing in extension functions.
...
Fixed ClosureTest.testWrappedVariableInExtensionFun IteratorsTest.foldReducesTheFirstNElements and IteratorsTest.takeExtractsTheFirstNElements. All tests passed.
(cherry picked from commit f8f1895)
2013-08-09 14:29:55 +04:00
develar
786652940d
JS backend: use javascript Object as base class for object by default (when there are not any parents).
...
It's workaround for compatibility with Google Chrome Extension API because sometimes they calls Object.prototype methods.
(cherry picked from commit 9959a1e)
2013-08-09 14:29:55 +04:00
develar
bc4e0e212a
JS backend: added generation @lends JsDoc annotation.
...
For more information about @lends see https://code.google.com/p/jsdoc-toolkit/wiki/TagLends
(cherry picked from commit 1269911)
2013-08-09 14:29:55 +04:00
develar
a53b9e99ad
JS backend: removed some useless util methods.
2013-08-09 14:29:55 +04:00