Andrey Breslav
6f5c3358ae
Fix test data
2013-08-22 12:18:12 +04:00
Andrey Breslav
96335b2e71
Do not look for a common supertype if there is only one type in the worklist
2013-08-22 12:18:12 +04:00
Mikhael Bogdanov
eeb4aac313
Fixed wrong annotation for android.PreferenceGroup & PreferenceCategory
2013-08-22 12:00:17 +04:00
Andrey Breslav
a51ea10f55
No need to produce error types when RETURN_NOT_ALLOWED_EXPLICIT_RETURN_TYPE_REQUIRED is reported
2013-08-21 20:12:05 +04:00
Andrey Breslav
3f3ee378f3
Test that local return has type Nothing
2013-08-21 20:12:05 +04:00
Andrey Breslav
aa99c29d8d
JVM backend test for local returns
2013-08-21 20:12:05 +04:00
Andrey Breslav
08625a6b2f
Local returns are only allowed with explicitly specified return types
...
This is a temporary limitation: otherwise type inference is having trouble to account for all the returned expressions.
We will fix the inference and remove the limitation
2013-08-21 20:12:04 +04:00
Andrey Breslav
d97506476f
Minor. Local variable renamed
2013-08-21 20:12:04 +04:00
Andrey Breslav
9e9916df6e
GenerateTests uses headless mode
2013-08-21 20:12:04 +04:00
Andrey Breslav
4138ac4e36
Support local returns in lambdas
2013-08-21 20:12:04 +04:00
Andrey Breslav
3ead1cea37
Duplicating parameters removed
2013-08-21 20:12:04 +04:00
Andrey Breslav
2c1375f948
Minor: code cleanup
2013-08-21 20:12:04 +04:00
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