Andrey Breslav
9391fa79c3
CLI help text changed
2013-10-08 21:52:08 +04:00
Andrey Breslav
7f46d7555e
Do not write "? extends" and "? super" in immediate arguments of supertypes in Java generic signatures
2013-10-08 21:13:30 +04:00
Evgeny Gerashchenko
9c38716829
Generating annotations in correct order for methods with synthetic parameters.
...
#KT-4050 fixed
2013-10-08 16:44:16 +04:00
Alexander Udalov
e8d4aae48b
Minimize usages of JvmClassName.getFqName()
2013-10-04 18:32:41 +04:00
Alexander Udalov
fdc631d595
Increase ABI version after changes to package fragment names
2013-10-02 17:05:47 +04:00
Alexander Udalov
8a5336aca2
Don't use $ in package fragment class names
...
Package fragment classes now are named "*Package-<filename>-<hash>" instead of
"*Package$src$<filename>$<hash>". This will help to avoid erroneous code in
intellij FileManager, which assumes that classes with dollars are always inner
classes of some other class (see AnnotationDescriptorDeserializer)
2013-10-02 17:03:24 +04:00
Evgeny Gerashchenko
eb5455e89f
Got rid of "jet" file extension.
2013-10-01 19:32:38 +04:00
Evgeny Gerashchenko
dc42be8543
Fixed VerifyError when copyToArray() is immediately returned from method.
2013-10-01 19:32:37 +04:00
Evgeny Gerashchenko
2ae1a2c81b
Added copyToArray intrinsic method.
...
#KT-3352 fixed
2013-10-01 15:11:30 +04:00
Evgeny Gerashchenko
41d1f277dc
Generated default implementations for Collection.toArray().
...
#KT-3352 in progress
2013-10-01 15:11:30 +04:00
Evgeny Gerashchenko
d56c59d9d7
Removed toArray() from collections (few tests are still failing).
...
#KT-3352 in progress
2013-10-01 15:11:30 +04:00
Evgeny Gerashchenko
48625dd7b6
Disallowed using type parameter as reified type argument.
...
#KT-3050 fixed
2013-10-01 15:06:57 +04:00
Alexander Udalov
5fa489b7d3
Add 'topLevelMemberInvocation.twoModules' test to CompileBinaryTestData
2013-09-30 22:43:18 +04:00
Alexander Udalov
a97bb80216
Serialize FQ names of Kotlin classes
...
This helps to avoid a nasty hack with loading inner Kotlin classes in JDR,
which makes it a bit easier to 'lazify' JDR, since now the container of a
Kotlin class is no longer required to be resolved eagerly before resolution of
the class itself
2013-09-30 22:43:18 +04:00
Svetlana Isakova
a3f9cef354
fixed bug: 'isStatement' for function body == 'hasBlockBody'
...
not vice versa
2013-09-30 21:06:05 +04:00
Pavel V. Talanov
9599f7d98c
Test for delegated members being overridden
2013-09-30 20:54:42 +04:00
Pavel V. Talanov
51a6bcb727
Test for reporting clashes with multiple delegated methods
...
Verifies that the order in which traits are inherited is irrelevant
2013-09-30 20:54:41 +04:00
Pavel V. Talanov
1a3603652c
Refactor DelegationResolver so that lazy and eager resolve share the code
...
Also fix an exception in LazyClassMemberScope
2013-09-30 20:54:39 +04:00
Pavel V. Talanov
6fb7a79a1f
Refactor DelegationResolver
...
Fix an issue in lazy resolve : filter out methods from delegated traits superclass
2013-09-30 20:54:38 +04:00
Alexander Udalov
07f1e61146
Remove unneeded asserts from JavaSupertypeResolver
...
Don't do anything special if a Java class happens to extend jet.JetObject: it's
not a Kotlin class and we should collect all its supertypes correctly
2013-09-27 16:01:55 +04:00
Mohammad Shamsi
f554ff3c8c
KT-3945 Fixed - Prohibit modifiers for packages
2013-09-26 15:25:36 +04:00
Evgeny Gerashchenko
b4bb08c013
Generating stub methods for read-only map and entry.
2013-09-25 20:59:24 +04:00
Evgeny Gerashchenko
511c908ba9
Generating stub methods for read-only collection.
2013-09-25 20:59:24 +04:00
Evgeny Gerashchenko
5de9c2499d
Added for iterator when remove() is present.
2013-09-25 20:59:23 +04:00
Evgeny Gerashchenko
47b70427e1
Generating remove() for Iterator using same mechanism.
2013-09-25 20:59:23 +04:00
Evgeny Gerashchenko
b4368ad578
Generating stub methods for read-only list.
2013-09-25 20:59:23 +04:00
Evgeny Gerashchenko
e98b75b462
Do not generate toString and other methods if they are inherited.
2013-09-25 20:59:23 +04:00
Alexander Udalov
a814f6a897
Advertise CompileBinaryTestData.kt in tests with binaries
2013-09-25 16:04:17 +04:00
Alexander Udalov
da1325f5cc
Add a script to regenerate binary test data (jars)
2013-09-24 20:33:00 +04:00
Alexander Udalov
1de637c143
Regenerate compiled testData
...
Add sources and instructions to tests which had compiled jars in the testData.
PLEASE ALWAYS ADD SOURCES for tests with jars.
Delete runtime, stdlib and their sources from these jars -- PLEASE DO NOT PUT
kotlin-runtime.jar INTO TEST DATA JARS: every such jar is around 1Mb, it spoils
the repository
2013-09-24 20:32:07 +04:00
Andrey Breslav
8f6b6639c5
Allow no else in annotated when-statements
2013-09-24 06:58:42 -07:00
Andrey Breslav
db9dd5d320
Allow annotations on loop statements
2013-09-24 06:58:41 -07:00
Andrey Breslav
c7c151a726
Support suppression on expressions
2013-09-24 06:58:41 -07:00
Andrey Breslav
b379ab3ebd
Resolve annotations on expressions and multi-declarations
2013-09-24 06:58:41 -07:00
Andrey Breslav
836eef67fa
Create proper annotation descriptors when annotation arguments don't match
2013-09-24 06:58:41 -07:00
Andrey Breslav
2dfaa81995
Tests for 'suppress' annotation
2013-09-24 06:58:40 -07:00
Andrey Breslav
b98d05bd73
'suppress' annotation added to built-ins
...
#KT-3319 In Progress
2013-09-24 06:58:39 -07:00
Andrey Breslav
9fef0c8650
Support '-suppress warnings'
...
#KT-3319 In Progress
2013-09-24 06:58:39 -07:00
Mikhael Bogdanov
39b5be6e2b
Test fix for android configuration
2013-09-24 17:10:44 +04:00
Nikolay Krasko
143d8d945c
Rewrite isFirstPartInQualified to work properly inside call expressions
...
#KT-4000 In Progress
2013-09-24 16:54:25 +04:00
Mikhael Bogdanov
6ca3a581b0
Test fix for previous commit
2013-09-24 14:31:58 +04:00
Mikhael Bogdanov
7520ff1420
KT-3308: Support local generic functions in codegen
...
#KT-3308 Fixed
2013-09-24 12:59:57 +04:00
Mikhael Bogdanov
fc1c3a2e23
KT-3978: Kotlin: [Internal Error] org.jetbrains.jet.codegen.CompilationException: Back-end (JVM) Internal error: null
...
#KT-3978 Fixed
2013-09-19 15:40:28 +04:00
Alexander Udalov
c029cbdf62
Do not escape AS_SAFE,NOT_IN,NOT_IS in DescriptorRenderer
2013-09-18 17:20:45 +04:00
Alexander Udalov
f5af43ed24
Cleanup descriptors in frontend
...
Remove useless classes/interfaces, inline useless superclasses, make the code
greener
2013-09-18 16:40:35 +04:00
Evgeny Gerashchenko
e338cda06d
Changed extension in parsing test data (jet -> kt)
2013-09-17 18:10:00 +04:00
Evgeny Gerashchenko
2ee3d22ab9
Generated missing test data.
2013-09-17 18:10:00 +04:00
Evgeny Gerashchenko
dcfeea4029
Removed IDE templates support from compiler.
2013-09-17 18:09:59 +04:00
Mikhael Bogdanov
8ffee527d7
KT-3573 "Error generating primary constructor" when trying to use "this" in extensions from constructors
...
#KT-3573 Fixed
2013-09-17 17:31:47 +04:00
Svetlana Isakova
b9f55f5070
test added
2013-09-17 16:09:27 +04:00