Alexander Udalov
76fa9642f0
toString() for FunctionN classes
...
It's implemented as if the types were reified: getting the real type parameters
of the corresponding FunctionN class
2013-04-22 17:59:29 +04:00
Alexander Udalov
0ec1f20140
Write generic signature for closure FunctionN superclass
...
ClosureCodegen.appendType() now appends any Type as a type parameter correctly
2013-04-22 17:59:29 +04:00
Alexander Udalov
974df0ed8e
Use FunctionImplN instead of FunctionN in codegen
...
Superclass of closures should now be FunctionImplN instead of FunctionN. Since
these -Impl classes are needed only in JVM, the corresponding descriptors and
types are created in the back-end only.
2013-04-22 17:59:29 +04:00
Alexander Udalov
6f6cb03549
Make FunctionN interfaces
...
FunctionN and ExtensionFunctionN are now interfaces, with the corresponding
implementations in FunctionImplN and ExtensionFunctionImplN
Update test data
2013-04-22 17:59:29 +04:00
Nikolay Krasko
5df85f6100
KT-3525 Duplicate inner class name not detected
...
#KT-3525 Fixed
2013-04-19 01:10:54 +04:00
Evgeny Gerashchenko
7133f20247
Added tests with type parameter of class in SAM adapter.
2013-04-18 22:02:04 +04:00
Evgeny Gerashchenko
8c4e45de9a
Supported SAM adapters with type parameters.
2013-04-18 22:01:26 +04:00
Evgeny Gerashchenko
f4994969c0
Added tests with type parameter of class in SAM adapter.
2013-04-18 22:01:26 +04:00
Evgeny Gerashchenko
e554228a73
Added tests with mixture of SAM and non-SAM parameters.
2013-04-18 22:01:26 +04:00
Evgeny Gerashchenko
7bd11718de
Supported simplest cases of SAM adapter in backend.
2013-04-18 22:01:26 +04:00
Evgeny Gerashchenko
be0238a61e
Loading SAM adapters with wildcard types.
2013-04-18 21:59:49 +04:00
Evgeny Gerashchenko
c8e02f75b0
Supported simplest cases of SAM adapter.
2013-04-18 21:59:49 +04:00
Mikhael Bogdanov
82d7f07cb3
Fixed bug in fix for KT 3492: Bug in bytecode generation for labeled super call from inner class & Property generation refactoring
2013-04-18 18:33:25 +04:00
Andrey Breslav
fe4dd2f661
Fix tests (by extracting a method and calling it multiple times)
2013-04-18 17:36:30 +04:00
Andrey Breslav
140382e280
PSI getter fixed: left-hand side of a binary expression can now be null
...
EA-35976 - IAE: FqNameUnsafe.validateFqName
2013-04-18 16:34:10 +04:00
Mikhael Bogdanov
c69e7f059d
Duplicated JetTypeMapper.mapSignature removed
2013-04-18 15:03:43 +04:00
Mikhael Bogdanov
a1d295638a
ExpressionCOdegen.visitSimpleNameExpression simplification
2013-04-18 14:05:15 +04:00
Mikhael Bogdanov
1fd76845ad
Regression test for kt3315
2013-04-17 18:55:04 +04:00
Zalim Bashorov
a4c02da10d
Merge pull request #244 from lopekpl/type_mismatch3
...
QuickFix for EXPECTED_PARAMETER/RETURN_TYPE_MISMATCH
2013-04-17 07:35:08 -07:00
Natalia.Ukhorskaya
f2b3be7416
Unify properties initialization for init and clinit
2013-04-17 16:18:10 +04:00
Mikhael Bogdanov
57b161b08a
KT-3500: ClassFormatError: Duplicate method name&signature in class file && KT-3429: Traits override bug
2013-04-17 15:23:33 +04:00
Mikhael Bogdanov
3da3f94b4e
KT 3492: Bug in bytecode generation for labeled super call from inner class & Property generation refactoring
2013-04-17 15:23:33 +04:00
Wojciech Lopata
328e579852
Fix reporting of EXPECTING_PARAMETER/RETURN_TYPE_MISMATCH
2013-04-16 14:06:09 +02:00
Andrey Breslav
8a79e7ab7d
.jet -> .kt
2013-04-12 21:06:54 +04:00
Svetlana Isakova
7588c8d81f
mark 'unresolved' if invoke method on type parameter
...
instead of resolve to error element
2013-04-12 20:01:09 +04:00
Svetlana Isakova
204ffde78a
added errors TYPE_PARAMETER_ON_LHS_OF_DOT,
...
TYPE_PARAMETER_IS_NOT_AN_EXPRESSION
fixed exception from ea
2013-04-12 17:35:00 +04:00
Svetlana Isakova
3168b732d3
annotate 'getArrayExpression' with @Nullable @IfNotParsed
...
from EA
2013-04-12 17:34:59 +04:00
Evgeny Gerashchenko
f713b03abc
Fixed propagation for non-abstract methods inherited from traits.
2013-04-11 21:06:33 +04:00
Nikolay Krasko
ebd72df058
KT-3491 Wrong (or not obvious) warning
...
#KT-3491 Fixed
2013-04-10 13:14:49 +04:00
Natalia.Ukhorskaya
1dce3b5da4
Invoke top level function with default argument using src class
2013-04-09 17:11:25 +04:00
Svetlana Isakova
d843608298
'checkType' for qualified properties as function arguments
2013-04-03 20:44:47 +04:00
Svetlana Isakova
8f1b728a08
try to use bounds in type inference
...
if some parameters are unknown
2013-04-03 15:51:17 +04:00
Zalim Bashorov
a665fa2049
Rewrote nonLiteralFilenameFilter and filenameFilter tests without working with FS.
...
Removed filenameFilter test from excludes for AndroidTests.
2013-04-02 22:11:57 +04:00
Svetlana Isakova
12c0a2cb77
KT-3461 Nullable argument allowed where shouldn't be
...
#KT-3461 Fixed
2013-04-01 19:07:36 +04:00
Evgeny Gerashchenko
6ff9bfd4bb
Supported SAM constructor calls without function literal.
2013-03-29 20:36:47 +04:00
Alexey Sedunov
6a7cd7c6e3
Add tests for mutability annotation support in type resolver
2013-03-29 18:42:47 +04:00
Evgeny Gerashchenko
dcb95fc5ac
Fixed priorities for synthetic functions.
2013-03-29 13:10:31 +04:00
Evgeny Gerashchenko
0fee69fe07
Prioritized synthetic and not synthetic functions.
2013-03-28 20:07:47 +04:00
Evgeny Gerashchenko
0bc65321c2
KT-1547 Wrong layout of closure classes
...
#KT-1547 fixed
2013-03-28 15:54:51 +04:00
Evgeny Gerashchenko
c619685dc8
Added test with overridden j.l.Object methods in trait.
2013-03-28 15:54:51 +04:00
Evgeny Gerashchenko
3917f11b12
Updated test data.
2013-03-27 19:19:59 +04:00
Evgeny Gerashchenko
4fc1148d59
Added dummy methods to avoid loading test interfaces as SAM.
2013-03-27 19:19:59 +04:00
Evgeny Gerashchenko
8f079f6d41
Added tests for ignoring Object methods when loading interface.
2013-03-27 19:19:58 +04:00
Evgeny Gerashchenko
b891d6d87f
Loading SAM constructor functions for nested interfaces.
2013-03-27 19:19:57 +04:00
Evgeny Gerashchenko
17cc055152
Loading deeply nested static method correctly.
2013-03-27 19:19:57 +04:00
Evgeny Gerashchenko
0422253943
Loading generic interfaces with upper bounds.
2013-03-27 19:19:57 +04:00
Evgeny Gerashchenko
dea7ef77ec
If interface method has generic parameters, interface is not functional.
2013-03-27 19:19:56 +04:00
Evgeny Gerashchenko
91282b992d
Supported functional interfaces with generic parameters in codegen.
2013-03-27 19:19:56 +04:00
Evgeny Gerashchenko
3b558d575c
Loading functional interfaces with generic parameters.
2013-03-27 19:19:56 +04:00
Evgeny Gerashchenko
45d638cc51
Loading interface with only one method inherited from Object as not functional.
...
#KT-1242 fixed
2013-03-27 19:19:56 +04:00