Mikhael Bogdanov
2cd5bd4d83
Update test data
...
(cherry picked from commit 08ff1de )
2018-04-03 19:47:12 +02:00
Mikhael Bogdanov
7a1aa8ac81
Update test data. Use simple ''@JvmDefault' instead full qualifier
...
(cherry picked from commit 38f8924 )
2018-04-03 19:46:50 +02:00
Mikhael Bogdanov
9e88b3d691
Check method abstractness during bridge generation per method not interface
...
(cherry picked from commit 2a8041e )
2018-04-03 19:46:45 +02:00
Mikhael Bogdanov
6e903333a6
Remove @JvmDefault members from delegation
...
(cherry picked from commit f290b32 )
2018-04-03 19:46:40 +02:00
Mikhael Bogdanov
a51181b009
Support inline for private @JvmDefault members
...
(cherry picked from commit d84a15c )
2018-04-03 19:46:36 +02:00
Mikhael Bogdanov
5ba37fdff7
Support synthetic accessors for @JvmDefault members
...
(cherry picked from commit 308283e )
2018-04-03 19:46:29 +02:00
Mikhael Bogdanov
a28a0beaea
Initial support of @JvmDefault
...
(cherry picked from commit fe45eb2 )
2018-04-03 19:46:16 +02:00
Mikhael Bogdanov
995156b801
Remove wrong directive
...
Similar test exists under 'defaults' foldes
(cherry picked from commit c143480 )
2018-04-03 19:46:05 +02:00
Mikaël Peltier
e1f44d6237
Move tests to the right place
2018-02-09 09:10:53 +03:00
Mikaël Peltier
9274241c0e
KT-22714 Avoid to generate unecessary checkcast
...
- StackValue already avoid to generate checkcast from a type or an
array to java.lang.Object. Add a new case to avoid to generate a
checkcast from an array to an array of java.lang.Object when arrays
have the same dimensions.
Fix of https://youtrack.jetbrains.com/issue/KT-22714
2018-02-09 09:10:53 +03:00
Mikhael Bogdanov
ad48099ca6
Move java 8 tests to java8 folder
2018-02-06 10:32:14 +01:00
Mikhael Bogdanov
69457ef3f1
Generate optimized hashCode for primitive type with jvmTarget 1.8+
...
#KT-7571 Fixed
2017-06-28 13:44:07 +02:00
Mikhael Bogdanov
a03ed6f742
Fix for KT-16581: VerifyError when calling default value parameter with jvm-target 1.8
...
#KT-16581 Fixed
2017-03-03 11:21:42 +01:00
Dmitry Petrov
a974ed1049
Support custom accessors for top-level properties in scripts.
2017-01-26 10:12:13 +03:00
Mikhael Bogdanov
fc4be17623
Fix for KT-14966: Regression: VerifyError on access super implementation from delegate
...
#KT-14966 Fixed
2017-01-25 15:56:55 +01:00
Mikhael Bogdanov
11578c602e
Added inline tests for jvm 8 target
2017-01-25 15:56:55 +01:00
Mikhael Bogdanov
591de36666
Added deprecated diagnostic for invoking default methods within jvm-target 1.6
2017-01-18 10:50:59 +01:00
Mikhael Bogdanov
09eeb414fe
New test for jvm8 nondefaults target
2017-01-13 13:52:57 +01:00
Mikhael Bogdanov
d278a5c6d5
Move java 8+defaults tests to separate folder
2017-01-13 13:52:57 +01:00
Mikhael Bogdanov
0a363fd1a5
Introduced test flag: JVM8_TARGET_WITH_DEFAULTS
2017-01-13 13:52:56 +01:00
Mikhael Bogdanov
7f8acbb759
Use proper flag for interface method invocation
2017-01-13 13:52:55 +01:00
Mikhael Bogdanov
f1c1fcf0fc
Fix for KT-11969: ProGuard issue with private interface methods
...
#KT-11969 Fixed
2016-12-27 14:07:37 +01:00
Michael Bogdanov
5bd045c79c
Fix for KT-14243: Wrong invocation descriptor on calling implicitly generated implementation in class
...
#KT-14243 Fixed
2016-10-10 14:17:50 +03:00
Michael Bogdanov
d9bb519b76
Don't generate delegation to jvm8 default methods
2016-10-03 14:06:01 +03:00
Michael Bogdanov
c19e035f91
Properly map super calls in typeMapper
2016-10-03 14:06:00 +03:00
Michael Bogdanov
5f1f4a067d
Map proper owner for method with default args
2016-10-03 14:06:00 +03:00
Michael Bogdanov
dd4d5e3aa1
Generate 'DefaultImpls' for jvm 8 target only within compiler option
2016-10-03 14:05:59 +03:00
Michael Bogdanov
ca41f01468
Generate interface property annotations in interface class (not in DefaultImpls)
2016-10-03 13:50:12 +03:00
Michael Bogdanov
dfd5be1a33
Generate all bodies in interfaces as default methods
2016-10-03 13:50:11 +03:00
Michael Bogdanov
69dc18b8b4
Proper concrete implementation filtering in java 8 interface case
2016-09-12 12:59:31 +03:00
Alexander Udalov
b4f81d4bb5
Use 'JVM_TARGET: 1.8' directive in codegen tests on 1.8 target
2016-06-16 16:51:18 +03:00
Mikhael Bogdanov
1c3ce93275
Generate same delagation structure as in jvm 6 target until new binary compatibility design
...
We need to make some decision about binary compatibility beetwen targets and semantics, so now old logic is used
2016-06-15 13:43:29 +03:00
Mikhael Bogdanov
bb59638039
Support bridges in interfaces. Fix for KT-12416: Missed bridges in js backend
...
#KT-12416 Fixed
2016-06-15 13:43:28 +03:00
Mikhael Bogdanov
331341bd4d
Don't generate delegates on overriding jvm8 interfaces
2016-06-15 13:43:27 +03:00