Andrey Breslav
7f46d7555e
Do not write "? extends" and "? super" in immediate arguments of supertypes in Java generic signatures
2013-10-08 21:13:30 +04:00
Alexander Udalov
fdc631d595
Increase ABI version after changes to package fragment names
2013-10-02 17:05:47 +04:00
Alexander Udalov
8a5336aca2
Don't use $ in package fragment class names
...
Package fragment classes now are named "*Package-<filename>-<hash>" instead of
"*Package$src$<filename>$<hash>". This will help to avoid erroneous code in
intellij FileManager, which assumes that classes with dollars are always inner
classes of some other class (see AnnotationDescriptorDeserializer)
2013-10-02 17:03:24 +04:00
Evgeny Gerashchenko
dc42be8543
Fixed VerifyError when copyToArray() is immediately returned from method.
2013-10-01 19:32:37 +04:00
Evgeny Gerashchenko
2ae1a2c81b
Added copyToArray intrinsic method.
...
#KT-3352 fixed
2013-10-01 15:11:30 +04:00
Evgeny Gerashchenko
41d1f277dc
Generated default implementations for Collection.toArray().
...
#KT-3352 in progress
2013-10-01 15:11:30 +04:00
Evgeny Gerashchenko
d56c59d9d7
Removed toArray() from collections (few tests are still failing).
...
#KT-3352 in progress
2013-10-01 15:11:30 +04:00
Evgeny Gerashchenko
48625dd7b6
Disallowed using type parameter as reified type argument.
...
#KT-3050 fixed
2013-10-01 15:06:57 +04:00
Alexander Udalov
5fa489b7d3
Add 'topLevelMemberInvocation.twoModules' test to CompileBinaryTestData
2013-09-30 22:43:18 +04:00
Svetlana Isakova
a3f9cef354
fixed bug: 'isStatement' for function body == 'hasBlockBody'
...
not vice versa
2013-09-30 21:06:05 +04:00
Evgeny Gerashchenko
b4bb08c013
Generating stub methods for read-only map and entry.
2013-09-25 20:59:24 +04:00
Evgeny Gerashchenko
511c908ba9
Generating stub methods for read-only collection.
2013-09-25 20:59:24 +04:00
Evgeny Gerashchenko
5de9c2499d
Added for iterator when remove() is present.
2013-09-25 20:59:23 +04:00
Evgeny Gerashchenko
47b70427e1
Generating remove() for Iterator using same mechanism.
2013-09-25 20:59:23 +04:00
Evgeny Gerashchenko
b4368ad578
Generating stub methods for read-only list.
2013-09-25 20:59:23 +04:00
Evgeny Gerashchenko
e98b75b462
Do not generate toString and other methods if they are inherited.
2013-09-25 20:59:23 +04:00
Mikhael Bogdanov
39b5be6e2b
Test fix for android configuration
2013-09-24 17:10:44 +04:00
Mikhael Bogdanov
6ca3a581b0
Test fix for previous commit
2013-09-24 14:31:58 +04:00
Mikhael Bogdanov
7520ff1420
KT-3308: Support local generic functions in codegen
...
#KT-3308 Fixed
2013-09-24 12:59:57 +04:00
Mikhael Bogdanov
fc1c3a2e23
KT-3978: Kotlin: [Internal Error] org.jetbrains.jet.codegen.CompilationException: Back-end (JVM) Internal error: null
...
#KT-3978 Fixed
2013-09-19 15:40:28 +04:00
Mikhael Bogdanov
8ffee527d7
KT-3573 "Error generating primary constructor" when trying to use "this" in extensions from constructors
...
#KT-3573 Fixed
2013-09-17 17:31:47 +04:00
Andrey Breslav
c017858f77
'Else' is not required in 'when' if Unit is expected
2013-09-13 22:04:46 +02:00
Alexander Udalov
c8a5c9ef59
Add regression for EA-47864
2013-09-06 21:16:42 +04:00
Alexander Udalov
723d5ef564
Fix default argument method calls
...
In some cases, calls of methods with default arguments were invoked via the
actual generated method, not via the "...$default" accessor
2013-09-03 22:26:05 +04:00
Svetlana Isakova
a49dcc0dd4
analyze when entry in independent context
2013-09-03 17:05:21 +04:00
Alexander Udalov
760ec99315
Regenerate topLevelMemberInvocation testData
...
Add a source used to generate classes
2013-08-26 16:00:11 +04:00
Alexander Udalov
c853c9be03
Create empty method for annotated properties w/o fields
...
There was no place in bytecode where annotations on properties without backing
fields could be stored to. Now they're written on a synthetic empty void method
with a special name ("propertyName$annotations").
(Annotations on properties cannot simply be written on getters in bytecode,
since a getter can have annotations of its own.)
2013-08-23 17:39:21 +04:00
Andrey Breslav
55eb994502
KT-3919 Automatic labeling of lambdas by receiving functions
...
#KT-3919 Fixed
2013-08-22 14:27:01 +04:00
Andrey Breslav
aa99c29d8d
JVM backend test for local returns
2013-08-21 20:12:05 +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
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
Mikhael Bogdanov
8a4b01d9c6
KT-3702: Inner class constructor cannot be invoked in override function with receiver
...
KT-3532: NoSuchMethodError when constructing Java inner class
KT-3847: Class is not recognized as inner when loaded from binaries
#KT-3702 Fixed
#KT-3532 Fixed
#KT-3847 Fixed
2013-08-06 10:58:27 +04:00
Natalia.Ukhorskaya
acf8c88cfc
Java property as annotation parameter
2013-08-02 18:59:29 +04:00
Natalia.Ukhorskaya
064f114b25
Allow top-level properties or properties from class object as annotation parameters
2013-08-02 18:59:26 +04:00
Natalia.Ukhorskaya
27801d5351
Add test: primitive values as annotation parameter
2013-08-02 18:59:25 +04:00
Evgeny Gerashchenko
7f62b9259c
KT-3820 VerifyError when invoking intrinsic for range obtained from collection
...
#KT-3820 fixed
2013-07-31 15:54:45 -07:00
Natalia.Ukhorskaya
b3f0a23c1d
Fix android test: cannot change package name
2013-07-29 11:36:47 +04:00
Natalia.Ukhorskaya
09b163069f
Check Retention annotation writing annotations in bytecode
2013-07-25 17:00:04 +04:00
Natalia.Ukhorskaya
c11bd7104c
Write default values for annotation parameters
...
#KT-3197 Fixed
2013-07-25 16:44:03 +04:00
Yakov Zaytsev
bb364cd393
KT-3771 Fixed
2013-07-22 18:49:56 +04:00
Evgeny Gerashchenko
5c8f87658a
Made SAM adapters final.
2013-07-12 21:09:22 +04:00
Natalia.Ukhorskaya
728e08cc49
Rewrite AnnotationCodegen to generate annotation arguments by AnnotationDescriptor
2013-07-05 19:19:00 +04:00
Svetlana Isakova
cf5c5dba3d
KT-3189 Function invoke is called with no reason
...
prioritize tasks specially for invoke
#KT-3189 Fixed
#KT-3190 Fixed
#KT-3297 Fixed
2013-07-05 18:03:51 +04:00
Evgeny Gerashchenko
e017645c97
Reorganized SAM-related test data.
2013-07-02 14:06:09 +04:00
Evgeny Gerashchenko
3e70661a6d
Handling null correctly when wrapping function in SAM wrapper
2013-06-27 20:37:27 +04:00
Evgeny Gerashchenko
d0c74755e8
Added test which should be enabled after fixing bug in front-end.
2013-06-27 17:09:18 +04:00
Evgeny Gerashchenko
939b658704
Supported SAM adapter in infix calls.
2013-06-27 17:09:17 +04:00
Evgeny Gerashchenko
79185b6775
Added tests with SAM adapters in comparison operators.
2013-06-27 17:09:17 +04:00
Evgeny Gerashchenko
9905e2a719
Added tests with SAM adapters in "invoke" convention.
2013-06-27 17:09:16 +04:00