Evgeny Gerashchenko
357fc55358
KT-4456 Generated wrong bytecode when Kotlin class inherited from Java Interface with method which have SAM type argument
...
#KT-4456 fixed
2014-01-22 16:09:03 +04:00
Andrey Breslav
4936b66626
Do not hide annotations on light classes
2014-01-20 22:35:01 +04:00
Andrey Breslav
314b1e371b
Test for the case when annotation arguments contain null in Java
...
This is an error in Java, but it may be present in the source by mistake
2014-01-20 16:17:53 +04:00
Nikolay Krasko
559f212cfc
Redeclaration for same file in different files
2014-01-17 17:28:13 +04:00
Evgeny Gerashchenko
82af76fa85
Fixed file name case.
2014-01-16 22:57:25 +04:00
Evgeny Gerashchenko
ae4c68830d
Importing root scope without members.
2014-01-16 22:11:55 +04:00
Alexey Sedunov
adddb70e50
Add codegen tests for local classes/objects declated in class initializers or class parameter initializers
2014-01-15 16:49:28 +04:00
Andrey Breslav
5a49b6fda5
Loading classes with wrong ABI version as Java classes
2014-01-15 16:16:20 +04:00
Andrey Breslav
a26c37419e
Synthetic classes created for enum entries
2014-01-15 16:14:58 +04:00
Andrey Breslav
31d4993406
Properly handle @NotNull for arrays
2014-01-15 16:14:50 +04:00
Andrey Breslav
834b306706
Render nullability for error types properly
2014-01-15 16:14:49 +04:00
Evgeny Gerashchenko
c924a5d097
Test for KT-3444 Front-end doesn't check if local function or function of anonymous class returns value
...
#KT-3444 obsolete
2014-01-14 19:13:19 +04:00
Evgeny Gerashchenko
cb78defa36
Considering static members when checking package-private visibility.
2014-01-14 19:13:16 +04:00
Evgeny Gerashchenko
e994b718cb
KT-4351 Cannot resolve reference to self in init of class local to function
...
#KT-4351 fixed
2014-01-14 19:13:16 +04:00
Evgeny Gerashchenko
958f7c862d
Got rid of "namespace" word in test data.
2014-01-14 18:06:50 +04:00
Evgeny Gerashchenko
093afeb05c
Renamed diagnostics (namespace → package).
2014-01-14 18:06:49 +04:00
Evgeny Gerashchenko
73ad5552c8
RootNamespaceExpression → RootPackageExpression.
2014-01-14 18:06:49 +04:00
Evgeny Gerashchenko
791b5bb84c
JetNamespaceHeader → JetPackageDirective.
2014-01-14 18:06:48 +04:00
Evgeny Gerashchenko
5319c6e24c
LazyResolveNamespaceComparingTest → LazyResolveRecursiveComparingTest
2014-01-14 18:06:47 +04:00
Alexander Udalov
7041a10ecf
Fix VerifyError on primitive override properties
...
Don't just blindly map property type in PropertyCodegen when generating getter:
we already have its full signature, so we can just as well take the type from
it. The former also isn't correct for properties which are overrides with a
primitive type. Simple mapType is safe for setter though, because the type of a
method parameter cannot change with override on JVM
The change in StackValue relates to call sites of properties which return Unit:
in that case StackValue's this.type is V, whereas the return type of its getter
is Ljet/Unit; -- so coerceTo was coercing from the wrong type in case of getter
calls
#KT-4373 Fixed
#KT-4383 Fixed
2014-01-14 17:52:27 +04:00
Andrey Breslav
b120a5150c
Foo.class never yields null in Java annotation arguments
2014-01-14 16:37:51 +04:00
Andrey Breslav
84709ed363
Annotation methods never return null
2014-01-14 16:37:51 +04:00
Andrey Breslav
bf20c3a734
Annotation constructor parameters are never nullable
2014-01-14 16:37:51 +04:00
Andrey Breslav
65d90e18a2
Use DescriptorRenderer to render annotations everywhere
2014-01-14 16:37:50 +04:00
Nikolay Krasko
c0187ffcd1
Always create descriptors for class object psi element in lazy resolve
...
KT-4397 Exception: @NotNull method org/jetbrains/jet/lang/resolve/lazy/ResolveSession.getClassDescriptor must not return null
#KT-4397 Fixed
2014-01-13 16:14:59 +04:00
Alexey Sedunov
5fcf9ca448
Fix error message in test data
2014-01-09 19:16:45 +04:00
Alexey Sedunov
446941257b
KT-4392 #Fixed
2014-01-09 15:20:17 +04:00
Natalia Ukhorskaya
9fb3a22a39
Prohibit modifiers on initializer #KT-4364 Fixed
2013-12-31 12:41:54 +04:00
Alexander Udalov
713c6f13ae
Fix primitive override problem in Kotlin-Java inheritance
...
See the comment in JetTypeMapper
2013-12-30 06:41:09 +04:00
Alexander Udalov
d8c5b0236d
Fix incorrect usage of mapReturnType in param assertions
2013-12-30 04:15:24 +04:00
Alexander Udalov
ace326f4cf
Remove JetTypeMapper.map{G,S}etterSignature
...
Merge their logic with mapSignature()
2013-12-30 04:15:21 +04:00
Svetlana Isakova
4657a4b271
fixed bug in renderer for violated upper bound error
2013-12-27 16:02:16 +04:00
Svetlana Isakova
c3ff6a2430
fixed exponential building of cf graph
...
if there was en error in chained qualified expression
2013-12-27 16:02:16 +04:00
Svetlana Isakova
531d337486
changed default positioning strategy:
...
added special handling for JetObjectLiteralExpression
2013-12-27 16:02:15 +04:00
Mikhael Bogdanov
c9c50e4107
KT-4348: Array access operator overloading doesn't work with vararg's
...
#KT-4348 Fixed
2013-12-26 17:07:58 +04:00
Natalia Ukhorskaya
f2f1a1313d
Add jdk jars to kotlin classpath
...
#KT-4214 Fixed
2013-12-26 13:50:10 +04:00
Evgeny Gerashchenko
513be47544
KT-4349 Make jet.Boolean implement Comparable
...
#KT-4349
2013-12-25 21:07:55 +04:00
Alexander Udalov
571adf3acc
Support references to local extensions in codegen
2013-12-24 20:41:20 +04:00
Alexander Udalov
d3a811aa7e
Support closures in codegen for callable references
2013-12-24 20:41:20 +04:00
Alexander Udalov
596b1622a3
Add tests on callable references
...
Object members and accessors for private class members
2013-12-24 20:41:20 +04:00
Alexander Udalov
363fe607fc
Support local function references in codegen
...
#KT-3704 In Progress
#KT-1183 In Progress
2013-12-24 20:41:19 +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
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
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
1d21ebf882
Using default renderer in LoadBuiltinsTest.
2013-12-19 21:48:39 +04:00