Evgeny Gerashchenko
dd671313c5
Supported propagation of vararg mark.
...
#KT-2776 in progress
2012-11-28 15:08:56 +04:00
Evgeny Gerashchenko
4df311366d
Added test for propagation of projection kind.
...
#KT-2776 in progress
2012-11-28 15:08:56 +04:00
Evgeny Gerashchenko
795b3bfbe0
Supported propagation of mutability in parameter position.
...
#KT-2776 in progress
2012-11-28 15:08:56 +04:00
Evgeny Gerashchenko
4da03f75f9
Supported simplest case of signatures propagation in value parameter position.
...
#KT-2776 in progress
2012-11-28 15:08:56 +04:00
Andrey Breslav
304926005f
Proper errors for cases like 'is Map' supported in 'when'
2012-11-27 21:15:37 +04:00
Nikolay Krasko
85f7b4069f
Clean up test data after end of the test
2012-11-27 17:32:49 +04:00
Andrey Breslav
dff5f382ab
Special diagnostics when no type arguments passed on teh right-hand side of 'is' expression
...
Example:
if (a is Map) // ERROR: Say 'Map<*, *>' if you don't want to pass type arguments
2012-11-27 16:47:38 +04:00
Alexander Udalov
8e740a3ee4
Fix .put() for some stack values
...
#KT-3087 Fixed
2012-11-26 16:06:47 +04:00
Andrey Breslav
c849a0c4e3
Redundant/conflicting projections
2012-11-24 15:59:16 +04:00
Andrey Breslav
12fd07af08
Report an error when variance is specified for a function or property type parameter
2012-11-24 15:59:16 +04:00
Andrey Breslav
649259e715
Type substitutor logic regarding projection composition fixed
2012-11-24 15:59:15 +04:00
Andrey Breslav
7d8bde2ac6
Test data moved out of JetTypeCheckerTest
2012-11-24 14:08:43 +04:00
Andrey Breslav
94552d5524
Proper message reporting
2012-11-24 14:08:43 +04:00
Pavel V. Talanov
59e74e79c2
Test for KT-2619
...
Remove outdated check in WhenChecker
# KT-2619 fixed
2012-11-23 17:18:09 +04:00
Pavel V. Talanov
997e26d11e
Test for KT-2890
...
# KT-2890 can't reproduce
2012-11-23 17:17:42 +04:00
Pavel V. Talanov
5fa069bebd
Test for KT-2152
...
# KT-2152 can't reproduce
2012-11-23 17:17:03 +04:00
Alexander Udalov
9d3907ff98
When-statements & correct line numbers
2012-11-22 22:32:21 +04:00
Alexander Udalov
aa898725fc
Mark line numbers on compile-time constants
2012-11-22 22:32:17 +04:00
Alexander Udalov
0f496eac21
Try-catch-finally statements & correct line numbers
2012-11-22 22:32:14 +04:00
Alexander Udalov
ca587513e3
Fix for finally before empty return
2012-11-22 22:32:10 +04:00
Alexander Udalov
99a908e8fe
If-then-else statements & correct line numbers
...
#KT-3036 Fixed
2012-11-22 22:31:58 +04:00
Alexander Udalov
8564c20baa
Fix condition generation of empty if
2012-11-22 22:31:53 +04:00
Alexander Udalov
af601b5a90
Single-branch if-statements
...
Single-branch if-expressions are now compiled to statements if the result is
not used
#KT-3036 In Progress
2012-11-22 22:31:40 +04:00
Alexander Udalov
9c7724b7f9
Introduce CodegenStatementVisitor
...
Which will be used for generating statements (as opposed to generating
expressions always, as it is now)
Add StatementGenTest, which will check if we actually generate statements and
not expressions of type Unit, popping them off the stack later
2012-11-22 22:07:01 +04:00
Alexander Udalov
cb08d27970
Refactor LineNumberTest
...
Allow passing custom expected & actual line numbers instead of those before
calls to test.lineNumber()
2012-11-22 18:54:22 +04:00
Pavel V. Talanov
3ae89dbb1d
Test for resolving static members of java enum
...
Add clarifying note
2012-11-21 19:49:45 +04:00
Pavel V. Talanov
b5b6f58b6b
Test for resolving inner classes
2012-11-21 19:49:44 +04:00
Pavel V. Talanov
737b246b01
Fix resolve of inner and nested classes in JavaDescriptorResolver
2012-11-21 19:49:44 +04:00
Pavel V. Talanov
96b48aedfc
Very simple test for resolving static members of java classes
2012-11-21 19:49:43 +04:00
Pavel V. Talanov
86cc1db609
Refactor: extract superclass from AnnotationJavaDescriptorResolverTest
2012-11-21 19:49:42 +04:00
Pavel V. Talanov
b6aa9b2bce
Make JavaClassStaticMembersScope extend JavaClassMembersScope instead of JavaPackageScope, use JavaBaseScope instead of JavaPackageScope in JavaNamespaceResolver
2012-11-21 19:46:13 +04:00
Andrey Breslav
4ed07cd9ae
Introducing KotlinPaths to impose some discipline on compiler/library location
2012-11-21 18:16:09 +04:00
Evgeny Gerashchenko
37cfb2fcc0
Checking errors when loading from Java in tests.
2012-11-21 14:00:51 +04:00
Svetlana Isakova
691cf52835
removed unused component dependencies
2012-11-20 19:54:55 +04:00
Svetlana Isakova
39450dd954
resolve function literal expression (as parameter) after resolve call
...
(therefore only once)
while resolve use FAKE_FUNCTION_TYPE as type
for function literal (which is a subtype/supertype for any function type)
2012-11-20 19:54:55 +04:00
Svetlana Isakova
473a969598
ArgumentTypeResolver introduce
...
(component used in CallResolver)
2012-11-20 19:54:54 +04:00
Svetlana Isakova
993d3a3469
added tests for resolve
...
(to test performance issues)
2012-11-20 17:59:20 +04:00
Evgeny Gerashchenko
60f30732ed
Supported several load from Java errors per declaration.
2012-11-20 17:20:02 +04:00
Evgeny Gerashchenko
4525e05268
Throwing exception only if no loading errors happened.
2012-11-20 17:20:02 +04:00
Evgeny Gerashchenko
059c6d0673
Added tests for signatures propagation.
2012-11-20 17:20:01 +04:00
Evgeny Gerashchenko
d37bdbc07d
Saving and loading projection kind of array element type in bytecode.
2012-11-20 17:20:00 +04:00
Evgeny Gerashchenko
21e97b408c
Loading java arrays as Array<out T> at method return type position, as well.
2012-11-20 16:16:47 +04:00
Evgeny Gerashchenko
d2a308964d
Skipping java.util.Collection and similar classes in JdkAnnotationsSanityTest.
2012-11-20 16:16:47 +04:00
Evgeny Gerashchenko
d1f217f2df
Minor. LinkedHashMap for easier output parsing.
2012-11-20 16:16:46 +04:00
Evgeny Gerashchenko
00bed4a2a4
Added tests with two superclasses.
...
#KT-2776 in progress
2012-11-20 16:16:46 +04:00
Evgeny Gerashchenko
3b63e6e061
Supported variance propagation.
2012-11-20 16:16:45 +04:00
Evgeny Gerashchenko
9177080d8b
Fixed loading variance from alternative signature.
2012-11-20 16:16:45 +04:00
Evgeny Gerashchenko
044487cf37
Supported propagating read-onliness.
...
#KT-2776 in progress
2012-11-20 16:16:45 +04:00
Evgeny Gerashchenko
89b413b7ad
Supported generic subclasses in submethods.
...
#KT-2776 in progress
2012-11-20 16:16:45 +04:00
Evgeny Gerashchenko
e2d213f1fd
Loading functions from superclasses before current to avoid heisenbug.
...
Added test with two supertypes.
#KT-2776 in progress
2012-11-20 16:16:45 +04:00