Nikolay Krasko
4f678c8289
Create project service with Kotlin trackers (KT-32364)
2019-07-02 13:59:19 +03:00
Igor Yakovlev
4c1d0678eb
Remove class delegate requests from annotations and modifier lists
...
(#EA-144876 and #EA-144882 Fixed)
2019-06-26 16:32:24 +03:00
Igor Yakovlev
3146b12471
Fix UL inline class delegate loading for tooComplex case (#KT-31950 Fixed)
2019-06-26 16:32:24 +03:00
Nikolay Krasko
beb1bc09d4
Update to 192.5118.30
2019-06-25 11:48:59 +03:00
Nikolay Krasko
96f0f444ad
Remove dependency to IconLoader from compiler
2019-06-25 11:48:58 +03:00
Igor Yakovlev
545fdb5a37
Add UL-inline class overrided interface methods
2019-06-07 20:33:07 +03:00
Igor Yakovlev
44f19e1225
Add UL support for classes
2019-06-07 20:33:07 +03:00
Igor Yakovlev
ada41fb23f
Add copy method to KtUltraLightSuspendContinuationParameter
2019-06-07 17:54:03 +03:00
Igor Yakovlev
63d7e479c6
Fix invalid nullability annotation for suspend functions in LightClasses
2019-06-07 17:54:03 +03:00
Igor Yakovlev
d005dc685f
Add nullability support to KtUltraLightSuspendContinuationParameter
2019-06-07 17:54:03 +03:00
Igor Yakovlev
0d51a2ec43
Optimize for void return type for functions with no return type
...
+ small refacroring
2019-06-07 17:54:03 +03:00
Igor Yakovlev
9e904598fb
Add coroutines as parameters
2019-06-07 17:54:03 +03:00
Igor Yakovlev
fc30e564ba
Add support ultra light suspend functions declarations
2019-06-07 17:54:03 +03:00
Igor Yakovlev
db4ba238eb
Avoid to call delegate from isInheritorDeep in UL-class
...
(plus small refacrotoring)
2019-06-03 17:23:41 +03:00
Igor Yakovlev
eaa36d4d27
Fix kotlin.Deprecated annotation for UL-classes
2019-06-03 17:23:41 +03:00
Igor Yakovlev
8707edfaa3
Disable to mangling facade functions + refactoring
2019-06-03 17:23:40 +03:00
Igor Yakovlev
ac85849721
Avoid access to delegate from KtUltraLightClass
2019-06-03 17:23:40 +03:00
Igor Yakovlev
3889b70f1e
Avoid clsDelegate access from (UL-)KtLightClassForFacade
2019-06-03 17:23:40 +03:00
Igor Yakovlev
fa6b21357b
Add cache to KLightClassForFacade
2019-06-03 17:23:40 +03:00
Igor Yakovlev
24253e21d0
Add ultraKtLightClassForFacade multifile support
2019-06-03 17:23:40 +03:00
Igor Yakovlev
86e9018f49
Add text functions to KtLightClassForFacade
2019-06-03 17:23:39 +03:00
Igor Yakovlev
852a4bc0ca
Add support UL for FileFacade
2019-06-03 17:23:39 +03:00
Igor Yakovlev
f5190f195d
Add correct UL-method hasTypeParameters realization (#KT-30970 Fixed)
...
Incorrect realization is breaking-down of IDEA generic-type inference algorithm that leads to SOE.
2019-06-03 14:11:06 +03:00
Alexander Udalov
967a6bd80d
Remove NotNull PSI element parameter from PropertyCodegen.generateBackingField
...
#KT-31131 Fixed
2019-05-29 10:23:19 +02:00
Alexander Udalov
f9d61f2dc7
Make inline+reified functions synthetic instead of private in bytecode
...
#KT-18563 Fixed
2019-05-28 16:17:49 +02:00
Igor Yakovlev
a3f718733d
Fix of ConvertJavaInterfaceToClass test
...
Platform is trying to modify the class inheritance list during intension (see the test name above) action process but it cause a cross-language changes via PSI.
To make this possible LightClasses are supports this behaviour with a little support of it (inheritance list Add and inheritance list element Delete are supported).
It need's to be done for UL-classes in same way.
2019-05-17 14:48:47 +03:00
Igor Yakovlev
e3ec501419
Fix realization of LightClass methods by KtLightClassForSourceDeclaration
...
#KT-31022 Fixed
2019-05-15 13:18:24 +03:00
Igor Yakovlev
bb071263b0
Fix JVMStatic annotation for UL-properties
2019-05-13 11:21:12 +03:00
Igor Yakovlev
5da6d9d438
Update license agreement
2019-05-13 11:21:12 +03:00
Igor Yakovlev
48136d64cf
KtUltraLightMethod now use null for MemberIndex
2019-05-13 11:21:12 +03:00
Igor Yakovlev
b485819a30
Move refactorings, fix annotations and fix cls-delegate tests
2019-05-13 11:21:11 +03:00
Igor Yakovlev
8e103b6559
Fix origin for TypeParameter + refactoring
2019-05-13 11:21:11 +03:00
Igor Yakovlev
f20ba9ddc2
Fix rename refactoring for UltraLightParameters
2019-05-13 11:21:11 +03:00
Igor Yakovlev
ab9e8c2d3a
Add @get/@set JvmName support for properties
2019-05-13 11:21:11 +03:00
Denis Zharkov
1b5f72bd59
Enable ultra-light classes by default
...
^KT-29267 Fixed
2019-05-13 11:21:11 +03:00
Dmitry Gridin
37c856290f
Fix minor compile warnings
2019-04-25 19:47:39 +07:00
nikita.movshin
65244b4bea
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update only 2 lines copyright.
2019-04-23 20:09:22 +03:00
Nikolay Krasko
a3bd46858a
Additional diagnostic added for bad class assert
2019-04-15 14:46:39 +03:00
Alexander Udalov
2f003ef545
Generate classes in MultifileClassCodegen exactly the same as in PackageCodegen
...
Two known issues with generateNonPartClassDeclarations that was here
before were the fact that we didn't sort sealed classes and its
subclasses which led to NoSuchMethodError (KT-27097), and the fact that
we didn't skip expect classes which led to incorrect duplicate JVM class
name diagnostic (KT-30843)
#KT-27097 Fixed
#KT-30843 Fixed
2019-04-10 14:39:16 +03:00
Nicolay Mitropolsky
944bc31f69
Making Kotlin light elements isEquivalentTo to it's origins (KT-30583)
2019-03-28 13:19:42 +03:00
Alexander Udalov
c730de13df
Minor, add missing copyright to compiler modules
2019-03-15 19:27:46 +01:00
Sergey Rostov
17c0422d8f
Build: got rid of @TestOnly annotations on fields and classes
2019-02-27 09:08:34 +03:00
Alexander Udalov
3f1533c35b
Restore support for local class literals in annotation arguments
...
This was broken in c1ab08c8ce where we started to represent KClassValue
as a ClassId of the referenced class + number of times it's been wrapped
into kotlin.Array. Local classes do not have a sane ClassId, so in this
change we restore the old behavior by representing KClassValue with a
sealed class value instead
#KT-29891 Fixed
2019-02-25 19:22:09 +01:00
Yan Zhulanow
0657a3d399
New evaluator that doesn't depend on the 'extract function' refactoring (KT-28192, KT-25220, KT-25222, KT-21650)
2019-02-25 14:43:57 +03:00
Nicolay Mitropolsky
76bdfddfea
Making KotlinAnnotatedElementsSearcher able to search for parameters (KT-27794)
2019-02-18 14:08:09 +03:00
Denis Zharkov
1a630773cf
Fix parent and containingFile for throws-reference list
...
Otherwise, exception is thrown during type inference
because default implementations effectively return null
^KT-29287 Fixed
2019-02-06 16:26:28 +03:00
Mikhael Bogdanov
a122cba862
Switch Kotlin project to jvm-target 1.8
...
#KT-29405
2019-01-31 07:43:05 +01:00
Sergey Rostov
0f2fb4ff82
Build: remove intellijCore/annotations.jar usages
2019-01-28 13:43:08 +03:00
Vyacheslav Gerasimov
818910267e
Remove 173 bunch files
2019-01-14 21:29:02 +03:00
Nicolay Mitropolsky
ebd6caaa71
Light-annotations: fix for reading class-literal varargs (KT-29027, IDEA-204252)
2018-12-27 16:04:05 +03:00