Alexey Andreev
9e0e734021
[KT-4124] Add support for super<T>@Outer.propertyName case
2016-02-20 15:19:25 +03:00
Alexey Andreev
20b3361edc
[KT-4124] Fix test compatibility between JS and Java backed for several tests
2016-02-20 15:19:24 +03:00
Alexey Andreev
c231ecfe50
[KT-4124] Fix the following: when test can't be compiled, sometimes JUnit reported that .js file was not found instead of reporting actual errors.
2016-02-20 15:19:24 +03:00
Alexey Andreev
3f5be335a9
[KT-4124] Fix bug when constructing like this: "A.Companion.B()"
2016-02-20 15:19:23 +03:00
Alexey Andreev
700159987b
[KT-4124] Fix bug when inner A.B extends inner A.C not passing outer reference there
2016-02-20 15:19:23 +03:00
Alexey Andreev
8f74720973
[KT-4124] Add more generated tests from Java backend. Fix support of deeply nested classes (i.e. A.B.C) and nested enums.
2016-02-20 15:19:22 +03:00
Alexey Andreev
c48c6bc055
[KT-4124] Use generated test to avoid duplication of test data of inner classes. Add support of classes contained within objects.
2016-02-20 15:19:22 +03:00
Alexey Andreev
133b84160e
[KT-4124] Fix case of super@labeled recever. Add names to metadata of inner classes.
2016-02-20 15:19:21 +03:00
Alexey Andreev
4efceb95e3
[KT-4124] Add less trivial tests
2016-02-20 15:19:20 +03:00
Alexey Andreev
a8014dec50
[KT-4124] Add support for simple nested classes
2016-02-20 15:19:20 +03:00
Stanislav Erokhin
ae7b048fdb
Minor. rename
2016-02-20 14:55:18 +03:00
Stanislav Erokhin
3e366f6b2d
Minor. cleanup
2016-02-20 14:55:18 +03:00
Stanislav Erokhin
45de06ac0c
Minor. Removed generics.
2016-02-20 14:55:17 +03:00
Stanislav Erokhin
63b3cbafa4
Remove old resolution algorithm.
2016-02-20 14:55:17 +03:00
Stanislav Erokhin
acdd807e91
Support "given candidates" mode in new resolution algorithm.
2016-02-20 14:55:16 +03:00
Stanislav Erokhin
daee95f2c4
Refactoring: create separate util function for create constructors resolution candidates
2016-02-20 14:55:16 +03:00
Stanislav Erokhin
7de2013a3e
KT-3856 Wrong inner class inaccessible diagnostic for extension to outer class
...
#KT-3856 Fixed
2016-02-20 14:55:15 +03:00
Zalim Bashorov
61cc8394e8
Minor: fix testdata
2016-02-20 13:11:23 +03:00
Alexander Udalov
1b8f934b54
Delete deprecated enum 'values' property
2016-02-19 22:28:44 +03:00
Alexander Udalov
1eeb72e073
Do not create empty static scope instances for non-enum classes
2016-02-19 22:28:44 +03:00
Alexander Udalov
60fe64dcaa
Remove obsolete lazy code in LazyClassDescriptor
...
This was added in a072550931 when we thought
making 'annotation' an annotation instead of a modifier would be a good idea;
we weren't be able to resolve the class kind immediately then. This is no
longer the case
2016-02-19 22:28:44 +03:00
Zalim Bashorov
d832a3d290
KotlinBuilder: use proper API to update Java mappings
2016-02-19 19:11:10 +03:00
Zalim Bashorov
ae32698c78
Minor: add more sources for jps library
2016-02-19 19:11:09 +03:00
Zalim Bashorov
05eff9028f
New IC: don't fail on unsupported difference kinds and process SUPERTYPE_ID_LIST correctly
2016-02-19 19:10:44 +03:00
Dmitry Petrov
90be4f8ea5
KT-6745: change message to reflect that a super qualifier should be an immediate supertype,
...
not just a supertype.
2016-02-19 16:49:59 +03:00
Michael Bogdanov
1d17bee6cc
Don't generate source mapping on inlining 'InlineOnly' functions
2016-02-19 16:08:03 +03:00
Michael Bogdanov
6f1def9366
isInlineOnly renamed to isInlineOnlyOrReified
2016-02-19 16:08:02 +03:00
Dmitry Petrov
30c2abba3c
KT-9550: distinguish signature conflict on override from signature conflict of inherited members.
...
Add a common OverridingStrategy class for cases where we don't care (yet) about precise diagnostics.
2016-02-19 15:59:08 +03:00
Mikhail Glukhikh
883e2e4d2b
KT-9498 extension: now type can be inferred for getter with expression body
2016-02-19 14:49:25 +03:00
Michael Bogdanov
405c21a17e
Fix for KT-11081: Reified type parameters are lost in anonymous object in inline function when using default value parameters
...
#KT-11081 Fixed
2016-02-19 14:22:29 +03:00
Mikhail Glukhikh
4c1c64fa08
Quick fix for adding arrayOf wrapper for annotation parameters #KT-10063 Fixed
2016-02-19 13:32:49 +03:00
Mikhail Glukhikh
c9c391e688
Specify property type by accessor type (preliminary) #KT-9498 Fixed
2016-02-19 13:32:46 +03:00
Alexander Udalov
36de3008e3
Fix visibility flags for lambda classes in InnerClasses attribute
2016-02-19 12:52:40 +03:00
Ilya Chernikov
343735e36c
fixing test after changing cleanup scheme - first it is now required to rebuild sources, and therefore consumed memory is increased
2016-02-18 21:06:38 +01:00
Ilya Chernikov
8065e490e8
performing cleanup (and memory usage reporting) only if kotlin compiler was actually called, should fix e.g. KT-10127
2016-02-18 21:06:37 +01:00
Alexey Tsvetkov
d0efd4083f
Call System.gc only when when log level is debug, fixes KT-11022
2016-02-18 21:06:36 +01:00
Denis Zharkov
bc5110550a
Release generated bytecode after each processed part
...
Part here means separate '.kt' file or multi-file facade
Now this memory optimization doesn't work with jar's,
because there is no simple way to write them incrementally.
2016-02-18 21:22:04 +03:00
Denis Zharkov
b87cc5712c
Minor. Weaken value parameter types: ClassFileFactory -> OutputFileCollection
2016-02-18 21:22:04 +03:00
Denis Zharkov
fd32b8dd19
Minor. Transform method to void
2016-02-18 21:22:04 +03:00
Denis Zharkov
cecb998fd3
Simplify ClassFileFactory state
...
Before this change it contained maps to complex object,
after it retains only necessary information:
- sources files for package parts
- PackageParts objects grouped by package fq name
Both of them needed for writing module mappings
2016-02-18 21:22:04 +03:00
Denis Zharkov
f8f996b2f6
Minor. Move 'done()' call into MultifileClassCodegen itself
2016-02-18 21:22:03 +03:00
Natalia Ukhorskaya
0f3ecab2b4
Replace deprecated usages of CodeInsightColors
2016-02-18 18:37:03 +03:00
Ilya Gorbunov
6b1ed8fd61
JS: use slice() instead of slice(0) to copy arrays (minor).
2016-02-18 17:37:33 +03:00
Ilya Gorbunov
cbd38f007c
JS: Do not create a copy of already cloned vararg array.
...
JVM: Do not create copy of vararg array it it's already Object[].
2016-02-18 17:37:31 +03:00
nik
c69d332db9
until-build set to 146.9999 to make Kotlin plugin compatible with new IDEA builds
2016-02-18 10:11:12 +03:00
Alexander Udalov
35a4aeeeba
CLI tests: add LauncherScriptTest instead of generated 'kotlinc' script tests
...
The compiler behavior on test data in compiler/testData/cli is already tested
with CliTestGenerated, which is 4x faster and does not require to rebuild the
compiler jar with 'ant dist'. Leave only several simple tests to check that
'kotlinc', 'kotlinc-jvm' and 'kotlinc-js' scripts work
2016-02-17 20:52:00 +03:00
Alexander Udalov
04ccca8adc
CLI tests: convert to generated
2016-02-17 20:52:00 +03:00
Alexander Udalov
a53166b732
CLI tests: rename CliBaseTest to AbstractCliTest
2016-02-17 20:51:59 +03:00
Alexander Udalov
762504d5e4
CLI tests: convert to JUnit 3
2016-02-17 20:51:58 +03:00
Alexander Udalov
f74988cbec
CLI tests: get rid of CliCommonTest
2016-02-17 20:51:58 +03:00