Mikhail Glukhikh
02fb19c3ea
Inner classes are no more allowed inside enum entries #KT-9750 Fixed
...
Forbidden use-case deleted from codegen tests
2015-11-16 10:44:20 +03:00
Michael Bogdanov
7e8e4e9e1b
Fix for KT-2789: NoSuchMethodError when calling trait function with default arguments that returns generic type, KT-9428 Abstract method with one parameter and one default parameter produces NoSuchMethodError, KT-9924 NoSuchMethod when replacing generic with specific type
...
#KT-2789 Fixed
#KT-9428 Fixed
#KT-9924 Fixed
2015-11-13 10:14:01 +03:00
Michael Bogdanov
3f995935d3
Fix for KT-9022: Wrong result when use break in if condition
...
#KT-9022 Fixed
2015-11-13 10:14:00 +03:00
Ilya Gorbunov
55d4d17dc3
Fix dropped DoubleRange and FloatRange usages in tests
2015-11-11 03:53:49 +03:00
Ilya Gorbunov
5e6d16103e
Remove deprecated ranges from tests and take into account that Byte and Short rangeTo now returns IntRange.
2015-11-11 03:53:31 +03:00
Mikhail Glukhikh
0d35033106
Introduction of CastedClassReceiver and its handling in codegen #KT-6744 Fixed
...
ClassReceiver converted to Kotlin
Also #KT-7617 Fixed
2015-11-10 20:20:51 +03:00
Michael Bogdanov
7147c84396
Fix for KT-9897: Cannot pop operand off an empty stack" with -= on ArrayList element
...
#KT-9897 Fixed
2015-11-09 16:17:24 +03:00
Michael Bogdanov
4d77181692
Fix for KT-9855: java.lang.IllegalAccessError when using private package level operator method
...
#KT-9855 Fixed
2015-11-06 11:46:12 +03:00
Michael Bogdanov
bd2b01ac1c
Fix for KT-5150: Accessors for private methods are not generated for get/set conventions
...
#KT-5150 Fixed
2015-11-06 11:46:12 +03:00
Michael Bogdanov
0fcaaa80df
Fix for KT-9140: Default parameters are passed as nulls when using indexing [ ] invocation
...
#KT-9140 Fixed
2015-11-06 11:46:11 +03:00
Michael Bogdanov
86f8845c00
Fix for KT-8928: NoSuchMethodError on private property setter in companion object
...
#KT-8928 Fixed
2015-11-03 15:41:22 +03:00
Michael Bogdanov
9daa44566b
Fix for KT-5589: VerifyError when default value for parameter of local function is obtained from closure
...
#KT-5589 Fixed
2015-11-03 15:40:16 +03:00
Michael Bogdanov
15eaa15b65
Fix for KT-7421: Unable to inherit from inner class
...
Fix for KT-6708: Compiler Error when extending open inner class: "java.lang.RuntimeException: Error generating primary constructor of class InnerB with kind IMPLEMENTATION"
#KT-7421 Fixed
#KT-6708 Fixed
2015-11-03 10:14:57 +03:00
Michael Bogdanov
65b85711e3
Fix for KT-3335: Creating imported super class' inner class fails in codegen
...
#KT-3335 Fixed
2015-11-03 10:14:56 +03:00
Michael Nedzelsky
48929f3edf
Test for obsolete KT-9277
...
#KT-9277 Obsolete
2015-10-30 18:57:48 +03:00
Michael Bogdanov
9f9217b9c3
Test for obsolete KT-9642
...
#KT-9642 Obsolete
2015-10-30 09:39:11 +03:00
Michael Bogdanov
b0efcec392
Fix for KT-9711: Exception in thread "main" java.lang.NoSuchFieldError: INSTANCE
...
#KT-9711 Fixed
2015-10-27 13:22:07 +03:00
Dmitry Petrov
882827bf04
KT-9717, KT-9603:
...
pass getter/setter-related flags to AccessorForPropertyDescriptor
2015-10-27 12:02:27 +03:00
Alexey Tsvetkov
0a69cca066
Box primitive types in position of generic receiver
...
#KT-9469 fixed
2015-10-26 18:36:59 +03:00
Denis Zharkov
881fe640e7
Create non-default getter for Enum.values property
...
#KT-9687 Fixed
2015-10-26 17:32:15 +03:00
Mikhail Glukhikh
4b6cb3ebce
A new kind of synthetic accessors for backing fields, if accessed inside lambda / object literal / local class #KT-9657 Fixed
...
A set of tests provided
Also #KT-4867 Fixed
Also #KT-8750 Fixed
Slight codegen refactoring
2015-10-26 16:37:32 +03:00
Dmitry Petrov
ccad435850
KT-9644: override default behavior for non-local return in FixStackAnalyzer
2015-10-26 15:56:57 +03:00
Svetlana Isakova
9877fe1a26
Fixed the call completer
...
to update the type of the argument expression correctly
2015-10-22 21:55:13 +03:00
Denis Zharkov
8db206e7ff
Take into account irrelevant implementation of special builtins
2015-10-21 17:51:43 +03:00
Michael Bogdanov
4dcf940756
Test for obsolete KT-4860
...
#KT-4860 Obsolete
2015-10-21 17:12:18 +03:00
Michael Bogdanov
926e3fd350
Test for obsolete KT-9560
...
#KT-9560 Obsolete
2015-10-20 19:19:43 +03:00
Michael Bogdanov
d977d29ec4
Support access to companion private members from nested classes
...
#KT-5363 Fixed
#KT-6804 Fixed
2015-10-20 19:19:41 +03:00
Alexey Tsvetkov
1e2256207c
Update test data
2015-10-19 20:45:02 +03:00
Dmitry Petrov
8ab55813fe
Dropping package facades:
...
- clashing JVM signature diagnostics should be reported in stable order
- drop tests for clashes vs package facades
- introduce box test for class named as old package facade
- fix some testData
2015-10-19 16:03:19 +03:00
Mikhail Glukhikh
8d88109c00
Underscore names are now forbidden
2015-10-19 15:24:45 +03:00
Mikhail Glukhikh
a4af6a3076
data deprecations (empty constructors, non val/var arguments, vararg, superclasses) are now errors, relevant tests fixed
2015-10-19 15:24:28 +03:00
Yan Zhulanow
e14c9645dc
Error on 'if' without an 'else' branch when used as an expression
2015-10-19 03:56:15 +03:00
Denis Zharkov
fafca76ac5
Generate common bridges for final builtin declaration
...
#KT-9596 Fixed
2015-10-17 17:46:17 +03:00
Denis Zharkov
1c02231cda
Regenerate rendered descriptors after transforming Enum.values to property
2015-10-17 17:46:16 +03:00
Michael Bogdanov
3452fc8d02
Don't initialize const properties in constructor
...
#KT-9532 Fixed
2015-10-17 15:31:57 +03:00
Stanislav Erokhin
7d7d37719b
Forbidden old invokeExtension convention.
2015-10-17 14:45:53 +03:00
Denis Zharkov
bd37a10677
Transform *Array.size to properties
2015-10-16 18:16:02 +03:00
Yan Zhulanow
d52f245cf7
Rename unary plus/minus in builtins and stdlib
2015-10-15 18:23:58 +03:00
Alexander Udalov
5017e54022
Fix test broken during merge
2015-10-14 22:02:11 +03:00
Alexander Udalov
63dfe13c43
Add some tests on KProperty usage from delegate methods
2015-10-14 20:45:55 +03:00
Alexander Udalov
51bf68ce27
Update compiler tests to use KProperty instead of PropertyMetadata
2015-10-14 20:45:54 +03:00
Alexander Udalov
3c74f48f91
Pass KProperty instances to property delegates
...
Inherit KProperty from PropertyMetadata, cache corresponding KProperty objects
instead of PropertyMetadataImpl objects, add support for properties with 2
receivers
2015-10-14 20:45:24 +03:00
Mikhail Glukhikh
f8a356747e
Stdlib rename: 'name' and 'ordinal' are now properties in Enum, same name functions are deprecated
2015-10-14 20:40:13 +03:00
Mikhail Glukhikh
78cfeb0d7d
Stdlib rename: List.indexOf(T), List.lastIndexOf(T), MutableCollection.removeAll(Collection<T>), MutableCollection.retainAll(Collection<T>)
2015-10-14 20:40:09 +03:00
Denis Zharkov
6322198a11
Revert 'isEmpty' transformation
2015-10-14 20:40:01 +03:00
Denis Zharkov
17c906658d
Transform Throwable members to properties
2015-10-14 20:39:59 +03:00
Denis Zharkov
d71b0144d5
Adjust testData to *Map transformation
2015-10-14 20:39:40 +03:00
Denis Zharkov
f0e3fd617d
Adjust testData to CharSequence.length transformation
2015-10-14 20:39:35 +03:00
Alexey Tsvetkov
5449cea6b7
Make Array type parameter T non-reified
2015-10-14 18:36:53 +03:00
Alexey Tsvetkov
62c25c0370
Replace is Array<T> with .isArrayOf<T>()
2015-10-14 18:36:53 +03:00