Alexander Udalov
00cad9df91
Include error type in error message
...
Everything besides it is almost always useless: descriptor is usually
ERROR_CLASS, declarations are usually nulls because they come from a different
module
2013-12-24 20:41:19 +04:00
Alexander Udalov
8695a0e283
Minor, FieldInfo.toString()
2013-12-24 20:41:19 +04:00
Alexander Udalov
0e9c530567
Simplify function invocation in ExpressionCodegen
...
Callee is now generated only when it could be non-trivial, which is only the
case when generating function call in invokeFunction()
2013-12-24 20:41:19 +04:00
Alexander Udalov
351aa30141
Simplify code in StackValue$CollectionElement
2013-12-24 20:41:19 +04:00
Alexander Udalov
ece549b4d4
Minor, unindent code
2013-12-24 20:41:19 +04:00
Alexey Sedunov
d00b17c621
Method rename
2013-12-24 12:10:55 +04:00
Alexey Sedunov
fbb03afc0f
Remove unjustified assertions
2013-12-24 12:10:54 +04:00
Alexey Sedunov
1e66a346d7
Use unsafe qualified names instead of safe ones in FQNAME_TO_CLASS_DESCRIPTOR slice
2013-12-24 12:10:53 +04:00
Alexey Sedunov
c20ee310d0
Add support of local classes/objects declared in class constructor parameters
2013-12-24 12:10:52 +04:00
Alexey Sedunov
34e80056eb
Don't create PsiMethod wrapper when it's not necessary
2013-12-24 12:10:51 +04:00
Alexey Sedunov
fffddc3e87
Minor: Restructured KotlinLightClassForExplicitDeclaration, removed assertions
2013-12-24 12:10:50 +04:00
Alexey Sedunov
f94f391a4e
Use scope based on constructor descriptor (rather than class itself) when
...
resolving class initializers
2013-12-24 12:10:49 +04:00
Alexey Sedunov
f381d97dc9
Provide fake enclosing PsiMembers for local light classes
2013-12-24 12:10:48 +04:00
Alexey Sedunov
f547cd2471
Make anonymous light classes descendants of PsiAnonymousClass
2013-12-24 12:10:47 +04:00
Alexey Sedunov
1d03f9f151
Fix caching of light class data for nested classes
2013-12-24 12:10:46 +04:00
Andrey Breslav
09642df623
JavaPackageFragmentDescriptor.getKind() introduced
2013-12-23 21:57:59 +04:00
Andrey Breslav
37a79e8299
Unused slice removed
2013-12-23 21:57:38 +04:00
Andrey Breslav
e5fdebd031
Rename method
2013-12-23 21:57:35 +04:00
Andrey Breslav
230e534989
Interface JavaPackageFragmentProvider extracted
2013-12-23 21:34:38 +04:00
Andrey Breslav
fc2d9cdde6
getProvider() added to PackageFragmentDescriptor
2013-12-23 21:34:38 +04:00
Andrey Breslav
da4245b712
JavaDescriptorResolver is accessible through JavaPackageFragmentDescriptor
2013-12-23 19:10:27 +04:00
Andrey Breslav
ed3932eca8
Extract interface JavaPackageFragmentDescriptor
2013-12-23 19:10:27 +04:00
Evgeny Gerashchenko
f7d33d2297
Removed comments auto-generated by IDEA.
2013-12-23 15:58:36 +04:00
Evgeny Gerashchenko
e3743ace4f
Added validation that all non-trait classes have at least one supertype.
...
Fixed it for some class objects.
2013-12-23 15:56:07 +04:00
Natalia Ukhorskaya
4329c42e3f
Make unary minus and unary plus return int for byte and short
2013-12-23 13:46:00 +04:00
Natalia Ukhorskaya
802c1b772f
Add gradle-plugin-core folder to exclude of JetConformanceTest
2013-12-23 13:46:00 +04:00
Natalia Ukhorskaya
c9b2cda07c
Add tests for usage of java annotation with default arguments
2013-12-23 13:45:59 +04:00
Natalia Ukhorskaya
5d2cb2f97b
Annotations inheritance. Either prohibit or implement correctly #KT-3225 Fixed
2013-12-23 13:45:58 +04:00
Natalia Ukhorskaya
cce6b952bd
Add warning when 'val' keyword on annotation parameter is missing
...
#KT-1900
2013-12-23 13:45:58 +04:00
Natalia Ukhorskaya
513a59d552
Check annotations on anonymous intializers
...
#KT-2208 Fixed
2013-12-23 13:45:57 +04:00
Natalia Ukhorskaya
359f2ddbda
Prohibit instantiation of annotation classes
...
#KT-3465 Fixed
2013-12-23 13:45:57 +04:00
Pavel V. Talanov
741e031ff1
Converter:
...
Use formatter in converter tests
Reformat test data
2013-12-22 16:46:51 +04:00
Andrey Breslav
ac191a7dbb
Introduce fall-through handling of recursion in lazy values
...
Fixed EA-52272 - NA: LockBasedStorageManager$LockBasedLazyValue.recursionDetected
2013-12-20 18:30:10 +04:00
Svetlana Isakova
c9f3f9ca1f
added position strategy to NOTHING_TO_INLINE error
2013-12-19 22:28:47 +04:00
Svetlana Isakova
cfb7bcb73b
use smart cast info while adding constraint for receiver
2013-12-19 22:05:52 +04:00
Evgeny Gerashchenko
4f36031874
Using null instead empty string for directory.
2013-12-19 21:48:40 +04:00
Evgeny Gerashchenko
1d21ebf882
Using default renderer in LoadBuiltinsTest.
2013-12-19 21:48:39 +04:00
Evgeny Gerashchenko
ec5d41a10e
Added clarifying comments in toString()
2013-12-19 21:48:39 +04:00
Evgeny Gerashchenko
dd5766d878
Renamed some generated tests to follow conventions.
2013-12-19 21:48:38 +04:00
Evgeny Gerashchenko
cd8f5fae54
Renamed some generated tests to follow conventions.
2013-12-19 21:48:37 +04:00
Evgeny Gerashchenko
fa89d537fa
Fixed generator class name.
2013-12-19 21:48:36 +04:00
Evgeny Gerashchenko
46ec25e066
Removed duplicate test class.
2013-12-19 21:21:22 +04:00
Natalia Ukhorskaya
9b51a77cdf
Remove unused field
2013-12-19 16:43:11 +04:00
Svetlana Isakova
dd6940be41
added CHECK_TYPE directive to diagnostic tests
2013-12-19 13:01:05 +04:00
Natalia Ukhorskaya
c9a600a405
Fix for varargs as annotation arguments #KT-4326 Fixed
2013-12-18 15:13:53 +04:00
Natalia Ukhorskaya
145c7811a8
Named vararg arguments: don't allow to use array without spread, allow to use one value of vararg type
...
#KT-3802 Fixed
2013-12-18 15:13:52 +04:00
Alexander Udalov
3a57694ddd
Minor, NotNull annotations
2013-12-17 21:49:31 +04:00
Alexander Udalov
11f33c9399
Reorganize JVM intrinsics
...
Make IntrinsicMethod an abstract class, coerce the resulting value of the
intrinsic to the expected type
2013-12-17 21:49:31 +04:00
Alexander Udalov
24678f189e
Make intrinsic method always generate value of expected type on stack
...
IntrinsicMethod.generate()'s return value is 'StackValue.onStack(returnType)'
and will be dropped
2013-12-17 21:49:30 +04:00
Evgeny Gerashchenko
17cf488cc6
Removed redundant tests for loading builtins.
2013-12-17 20:29:00 +04:00