Commit Graph

11352 Commits

Author SHA1 Message Date
Andrey Breslav db70087573 Labels on function literal arguments are processed properly 2013-08-21 20:12:04 +04:00
Andrey Breslav 9f90fd0938 No "unreachable code" errors when an illegal return expression is the last in a lambda 2013-08-21 20:12:04 +04:00
Andrey Breslav 34df845778 Clarifying comments for RETURN_NOT_ALLOWED 2013-08-21 20:12:03 +04:00
Nikolay Krasko b4c7122528 Move built-in files out of source directory 2013-08-21 19:52:42 +04:00
Nikolay Krasko 9a45277b53 Refactoring: Fix deprecation warning 2013-08-21 19:52:41 +04:00
Natalia Ukhorskaya 3916a8a15f Merge pull request #298 from nskvortsov/master
kotlin-android plugin doesn't work with android-library plugin 
 #KT-3911 Fixed
2013-08-21 05:28:30 -07:00
Nikita Skvortsov dd42b47d98 updated integration test for android library project 2013-08-21 15:44:37 +04:00
Nikita Skvortsov fa84783414 fix for http://youtrack.jetbrains.com/issue/KT-3911 2013-08-21 15:44:36 +04:00
Alexander Udalov c35f748db4 Merge pull request #296 from mhshams/master
KT-3715 make Collection.notEmpty a property
2013-08-20 02:05:19 -07:00
Mohammad Shamsi 846de273a6 KT-3715 updated java-doc
"not" was missing in the java-doc for "notEmpty" property
2013-08-20 14:00:28 +08:00
Alexander Udalov 5a3834e54d Update to IDEA EAP 130.1619 2013-08-19 21:54:26 +04:00
Andrey Breslav 3d28c4cdb2 Passing DataFlowInfo to local classes/objects
#KT-2835 In Progress
#KT-2225 In Progress
#KT-338 In Progress
2013-08-19 19:05:21 +04:00
Andrey Breslav 4908766813 Passing DataFlowInfo when analyzing property initializers
#KT-2835 In Progress
#KT-2225 In Progress
#KT-338 In Progress
2013-08-19 19:05:21 +04:00
Andrey Breslav 232d1cac7b Recursive generics fixed 2013-08-19 19:05:20 +04:00
Andrey Breslav 63c284e200 Passing DataFlowInfo to local classes/objects
#KT-2835 In Progress
#KT-2225 In Progress
#KT-338 In Progress
2013-08-19 19:05:20 +04:00
Andrey Breslav c95f2b78c8 Outer DataFlowInfo is passed to TopDownAnalyzer 2013-08-19 19:05:20 +04:00
Andrey Breslav 0e1ba96e2c Unused code removed 2013-08-19 19:05:20 +04:00
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
Mohammad Shamsi 5584e6ce18 KT-3715 make Collection.notEmpty a property
Renamed "notEmpty()" methods to "isNotEmpty()" in following classes:
    - Collection
    - String
    - Array

Added "notEmpty" property to Collection class
2013-08-19 01:20:56 +08: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