Alexander Udalov
a7b88e9485
Make CharSequence.length a function instead of property
...
And String.length as well.
This is done for JVM interoperability: java.lang.CharSequence is an open class
and has a function 'length()' which should be implemented in subclasses
somehow.
A minor unexpected effect of this is that String.length() is now a compile-time
constant (it wasn't such as a property because properties are not supported in
compile-time constant evaluation)
#KT-3571 Fixed
2014-11-27 20:38:17 +03:00
Denis Zharkov
73ca75cc0b
Fixed wrong constructor arguments order
2014-11-13 20:56:10 +03:00
Denis Zharkov
46f22b5422
Test fixed
2014-11-13 20:56:08 +03:00
Michael Bogdanov
59917f3727
Fix for KT-6154: Inlining a private class function accessing a private val member throws exception at runtime in accessing the val getter
...
#KT-6154 Fixed
2014-10-30 19:02:03 +03:00
Michael Bogdanov
d0f6f03380
Fixes for call site finally generation before non-local returns
2014-10-28 19:15:00 +03:00
Michael Bogdanov
dd8c3f0e49
Fixes for inline fun finally block generation before lambda non-local returns
2014-10-28 19:14:52 +03:00
Michael Bogdanov
b212fbd0b5
Remove empty try catch nodes from inlined code
2014-10-22 18:31:11 +04:00
Michael Bogdanov
860544d299
Obsolete KT-5685: VerifyError: Bad local variable type for class with inline method and optional parameters
...
#KT-5685 Obsolete
2014-10-11 13:53:43 +04:00
Michael Bogdanov
b3e075173b
KT-5863: Inlined try/catch/finally block with non-local return doesn't work properly
...
#KT-5863 Fixed
2014-09-26 17:08:58 +04:00
Michael Bogdanov
432ec31daf
Support returns in nested finallies
2014-09-19 17:14:17 +04:00
max.kammerer
9564eaa6fd
Support finnaly blocks from inline fun in non-local returns
2014-09-19 17:14:17 +04:00
Michael Bogdanov
83eb983e08
KT-5699 VerifyError in inlines
...
#KT-5699 Fixed
2014-08-29 14:02:52 +04:00
Michael Bogdanov
6ddeb85c00
Added checking for ONLY_LOCAL_RETURN in actual parameter of inline function
2014-07-09 09:46:28 +04:00
Michael Bogdanov
ce71c5abde
Test update for new ONLY_LOCAL_RETURN diagnostic
2014-07-07 10:51:46 +04:00
Michael Bogdanov
8092717da4
Support non local return generation, support non local return inlining
2014-07-07 10:51:46 +04:00
Mikhael Bogdanov
02c6bdeaa3
Inline test data structure changed
2014-07-07 10:51:46 +04:00
Mikhael Bogdanov
950840b8c7
KT-5076 Error on inlining into object
...
#KT-5076 Fixed
2014-05-23 11:59:05 +04:00
Mikhael Bogdanov
6ad2814b01
Suppot inlining default methods, inlining function into its default.
2014-05-21 13:56:09 +04:00
Mikhael Bogdanov
c5e9ea0d29
Support anonymous object constructor transformation and inline
2014-05-16 15:55:08 +04:00
Mikhael Bogdanov
9007ba9c53
Anonymous object transformation
2014-05-16 13:33:57 +04:00
Mikhael Bogdanov
5b5ecca12a
Inline test: check that no any inline method is called directly
2014-03-31 20:04:23 +04:00
Mikhael Bogdanov
001945cd12
Fix for duplicated fields in regenerated lambda
2014-03-19 11:41:05 +04:00
Mikhael Bogdanov
2dcc0bce46
Inline refactoring: more templates for captured fields
...
Support of complex lambda inlining cases
2014-03-13 10:36:54 +04:00
Mikhael Bogdanov
7fb9de2654
Fix for "NoSuchFieldError: this$0$inlined"
2014-03-09 11:21:00 +04:00
Mikhael Bogdanov
e54ece8d12
Field access chain update on lambda regeneration
2014-03-07 16:12:10 +04:00
Mikhael Bogdanov
4f5b20a8db
Test framework for inline
2014-03-03 15:43:35 +04:00