Evgeny Gerashchenko
abf352cebd
KT-4485 getGenericInterfaces vs getInterfaces for kotlin classes
...
#KT-4485 fixed
2014-01-29 17:57:50 +04:00
Natalia Ukhorskaya
4dbcb256d3
Add JetDiagnosticTest with stdlib
2014-01-28 18:21:46 +04:00
Natalia Ukhorskaya
36810c5bbb
Move IS_PURE for constant inside CompileTimeConstant
2014-01-28 18:21:45 +04:00
Natalia Ukhorskaya
3f429116e5
Add constructor parameter for compileTimeConstant (can be used in annotation)
2014-01-28 18:21:44 +04:00
Natalia Ukhorskaya
fd3f852a93
Annotation parameter must be constant on vararg and array arguments
2014-01-28 18:21:43 +04:00
Natalia Ukhorskaya
97da2def08
Record COMPILE_TIME_INITIALIZER for all final variables
2014-01-28 18:21:42 +04:00
Natalia Ukhorskaya
2ddda59465
Add tests for concatenation of strings
2014-01-28 18:21:41 +04:00
Natalia Ukhorskaya
cf5dc5b98b
Fix EvaluateTests for strings
2014-01-28 18:21:41 +04:00
Natalia Ukhorskaya
73de3ae9ab
Catch exceptions evaluating expression
2014-01-28 18:21:40 +04:00
Alexander Udalov
013d226b50
Update test data after introduction of compilable built-ins
...
'next()' in primitive iterators is now final, as it always was in module
'runtime' before
2014-01-27 18:33:49 +04:00
Zalim Bashorov
d032b5589c
Frontend: fixed resolve annotation parameters on properties, accessors, accessor parameters, function parameters when not need complete analysis.
2014-01-27 15:34:55 +04:00
Andrey Breslav
ab7d8a7734
Tests for abstract functions with default arguments
2014-01-23 17:59:18 +04:00
Andrey Breslav
4ab0b00bd3
Support [throws] annotation
2014-01-23 17:59:18 +04:00
Andrey Breslav
b66a76e7d2
xxx$default() function should be visible from Java
2014-01-23 17:59:17 +04:00
Andrey Breslav
39234b4d3e
Delegated members should not be synthetic
...
Otherwise they are invisible to Java code
2014-01-23 17:59:17 +04:00
Alexander Udalov
0e352aa57a
Rename test functions to avoid clashing with JUnit
...
Android JVM tests run codegen test data with JUnit in classpath
2014-01-23 15:21:54 +04:00
Evgeny Gerashchenko
d3570153ef
Fixed mapping generic type with multiple bounds from Java to Kotlin.
...
#KT-3480 fixed
2014-01-23 12:33:58 +04:00
Alexander Udalov
09e772ff61
Make comparison with NaN consistent with javac
2014-01-22 21:20:09 +04:00
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