Valentin Kipyatkov
9eeb051bd4
Refactoring FileScope into a chain of ImportingScope's (all compiler tests pass)
2015-10-26 19:29:59 +03:00
Valentin Kipyatkov
712e294eac
Renamed FileScope to ImportingScope and it now may have parent. But all implementations currently have parent == null
2015-10-26 19:29:59 +03:00
Alexey Tsvetkov
294559a94f
Overridable val should not be treated as constant
...
#KT-9443 fixed
2015-10-26 19:23:09 +03:00
Alexey Tsvetkov
0a69cca066
Box primitive types in position of generic receiver
...
#KT-9469 fixed
2015-10-26 18:36:59 +03:00
Alexey Tsvetkov
7c54024a22
Fix private setter visibility for generic class
...
#KT-8888 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
Mikhail Glukhikh
d0e01153ec
Effective visibility: java package-private is now considered as equivalent to Kotlin internal #KT-9755 Fixed
2015-10-26 15:00:14 +03:00
Alexander Udalov
1517a099d0
Search for JvmName also among use-site targeted annotations
...
#KT-9699 Fixed
2015-10-23 19:03:50 +03:00
Alexander Udalov
ae4c7b5a61
Minor, rename codegen tests on platformName and platformStatic
2015-10-23 19:03:49 +03:00
Michael Bogdanov
18f3eb87e4
INSTANCE field deprecated in companion object
...
Fix for KT-9692: Deadlock between <clinit> of a class (KtSimpleNameExpressionImpl) and <clinit> of its companion object
#KT-9692 Fixed
2015-10-23 17:39:27 +03:00
Svetlana Isakova
f00af72e0f
Fixed 'OnlyInputTypes' working with platform types
2015-10-22 21:55:16 +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
Svetlana Isakova
06e90cf6a1
Annotated the return type of 'elvis' function with @Exact
...
fun <T> ELVIS(T?, T): @Exact T
2015-10-22 21:55:12 +03:00
Valentin Kipyatkov
74f2d60e19
No duplicate property accessor should be allowed
2015-10-22 18:48:19 +03:00
Michael Bogdanov
d5126213d3
Fix for KT-9364: M13 Wrong compiler error for "unable to inline function"
...
#KT-9364 Fixed
2015-10-22 17:20:57 +03:00
Michael Bogdanov
a7b3c70d21
Fix for KT-7017: Reified type referenced in object literal crashes at runtime
...
#KT-7017 Fixed
2015-10-22 16:06:13 +03:00
Michael Bogdanov
3e19514099
Test for obsolete KT-6988: java.lang.VerifyError: Bad return caused by inline reified
...
#KT-6988 Obsolete
2015-10-22 16:06:10 +03:00
Dmitry Petrov
829fc6938a
KT-9547: private package member can conflict only with the members
...
declared in the same file.
Cleanup OverloadUtil stuff.
Update testData.
2015-10-22 10:45:49 +03:00
Denis Zharkov
8db206e7ff
Take into account irrelevant implementation of special builtins
2015-10-21 17:51:43 +03:00
Denis Zharkov
d674aa1427
Refine signature mapping for special overrrides from Java
...
They have special JVM descriptor only when they are not inherited from
Kotlin super class
2015-10-21 17:51:43 +03:00
Denis Zharkov
c46b766fea
Load special property from Java in cases of J-K-J hierarchy
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
55d2300860
Fix for KT-6722
...
#KT-6722 Fixed
2015-10-21 17:12:17 +03:00
Michael Bogdanov
f4d3ecf8e6
Generate public constructor for anonymous objects if it inside inline fun
...
#KT-9331 Fixed
2015-10-21 17:12:17 +03:00
Mikhail Glukhikh
d6988ad69e
Get rid of FIELD_IDENTIFIER at syntax level, two errors dropped, a set of tests fixed / deleted #KT-9539 Fixed
2015-10-21 16:36:55 +03:00
Michael Nedzelsky
1c36090b6d
check for violation of Finite Bound Restriction and Non-Expansive Inheritance Restriction
2015-10-20 20:06:07 +03:00
Michael Bogdanov
926e3fd350
Test for obsolete KT-9560
...
#KT-9560 Obsolete
2015-10-20 19:19:43 +03:00
Michael Bogdanov
1d84103cce
Test for obsolete KT-6453
...
#KT-6453 Obsolete
2015-10-20 19:19:43 +03:00
Michael Bogdanov
378233e1f5
Test for obsolete KT-8095
...
#KT-8095 Obsolete
2015-10-20 19:19:42 +03:00
Michael Bogdanov
32d51af5dd
Test for obsolete KT-8094
...
#KT-8094 Obsolete
2015-10-20 19:19:42 +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
Dmitry Jemerov
d6a3870101
rename Kt to Kotlin in KtType, KtIcons
2015-10-20 16:23:31 +02:00
Mikhail Glukhikh
3151d4ca9d
Check of type parameter bounds consistency #KT-9438 Fixed
2015-10-20 11:02:19 +03:00
Valentin Kipyatkov
8e6b0a26bb
Synthetic extensions to take all annotations from original declarations
...
#KT-9387 Fixed
2015-10-20 10:12:34 +03:00
Nikolay Krasko
f3b5c7f36c
Escape version pattern
2015-10-20 03:06:51 +03:00
Svetlana Isakova
667f6269e4
Filter internal annotations for resolve in type substitutor
...
to avoid having List<@NoInfer Int> as a result type
of function invocation (the function returns List<@NoInfer T>)
2015-10-19 23:02:03 +03:00
Dmitry Jemerov
49033e0002
rename Jet* classes to Kt*
2015-10-19 21:35:30 +02:00
Alexey Tsvetkov
d87ce33458
Drop @inline from tests and incremental compilation
2015-10-19 20:45:01 +03:00
Alexey Tsvetkov
8d22aabd9f
Add flags
2015-10-19 20:45:01 +03:00
Alexey Tsvetkov
1414fe1699
Add IS_DATA flag
2015-10-19 20:44:59 +03:00
Michael Bogdanov
c8c3e88c82
Make top-level property backing field private in bytecode
2015-10-19 19:09:30 +03:00
Pavel V. Talanov
85c05b18f5
More compact and meaningful error reporting in ResolverForProject
...
No more enormous module lists
2015-10-19 18:03:08 +03:00
Dmitry Petrov
dda508234f
Drop package facades:
...
- update tests
- cleanup JetTyMapper after rebase
2015-10-19 16:03:22 +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
Dmitry Petrov
dc399ac46b
Drop package facades: get rid of isPackageClassFqName
2015-10-19 16:03:18 +03:00
Dmitry Petrov
149e70aa07
Dropping package facades:
...
- light classes: do not generate light class for package facade
- drop package facades as multifile classes compilation mode support
- get rid of some additional package facade fqName usages
- update tests for light classes
2015-10-19 16:03:16 +03:00
Dmitry Petrov
e7fb7483c5
Drop package facades: update compiler tests.
2015-10-19 16:03:16 +03:00
Dmitry Petrov
3502c393fc
Drop package facades: JVM BE tests passed.
2015-10-19 16:03:16 +03:00