Alexey Sedunov
2684ce20d4
Parser: Do not produce qualified expressions without receiver in package directives. Add assertion on JetQualifiedExpression
...
#KT-6907 Fixed
2015-03-06 14:37:22 +03:00
Evgeny Gerashchenko
14b16ff87c
KT-6916 Slow bytecode for downTo iteration like for (i in max downTo min)
...
#KT-6916 fixed
2015-03-06 13:43:02 +03:00
Pavel V. Talanov
913724f0e9
Allow default object to be denoted with 'default' modifier
...
Report 'default' modifier in illegal positions
2015-03-06 12:41:50 +03:00
Pavel V. Talanov
2b51e4f2d4
Add 'default' keyword
...
Parser: allow objects that are marked as default to have no name
2015-03-06 12:41:38 +03:00
Pavel V. Talanov
0ca2f3f336
Minor: prevent rare case when soft keyword was parsed as enum entry
2015-03-06 12:41:34 +03:00
Dmitry Jemerov
c029fa2ed0
add test for generating annotations on the setter of a delegated property; (KT-4169); properly generate backing field for delegated property with a setter
2015-03-05 19:04:18 +03:00
Dmitry Jemerov
b4eb3e0f43
add test for visibility of setter for delegated property (KT-5957)
2015-03-05 19:04:18 +03:00
Dmitry Jemerov
e9266481c5
allow delegated properties to have getters and setters without bodies
2015-03-05 19:04:17 +03:00
Evgeny Gerashchenko
af7eba64f7
Disallow PropertyMetadataImpl in conventions for delegated properties
2015-03-05 18:42:17 +03:00
Evgeny Gerashchenko
8ab94a18ae
Inlined trivial method classDescriptorToDeclaration
2015-03-05 15:19:30 +03:00
Dmitry Jemerov
48b0afd84d
correctly generate safe casts from Unit type
...
#KT-4494 fixed
2015-03-05 11:59:23 +01:00
Dmitry Jemerov
2835459920
correctly generate 'in' expressions with IntRange on RHS and a type other than Int on LHS
2015-03-05 11:33:24 +01:00
Dmitry Jemerov
1188be9070
generate correct bytecode for constructors using infix call syntax
...
#KT-4589 Fixed
2015-03-05 11:26:27 +01:00
Pavel V. Talanov
ed4c265564
Drop ClassKind.CLASS_OBJECT
...
Default and non-default objects now have ClassKind.OBJECT
2015-03-05 13:06:33 +03:00
Pavel V. Talanov
350864b22f
Drop some of explicit ClassKind.CLASS_OBJECT and OBJECT usages
2015-03-05 13:05:56 +03:00
Pavel V. Talanov
fa590a5b83
Refactor: Extract isObject with a new semantic
2015-03-05 13:05:48 +03:00
Pavel V. Talanov
fc6f4208ec
Rename: isObject -> isNonDefaultObject
2015-03-05 13:05:45 +03:00
Nikolay Krasko
30a50746b5
Intrinsic default objects implementation: tests
2015-03-05 01:30:38 +03:00
Dmitry Jemerov
e60aafb18a
regression test for KT-3421
2015-03-04 17:43:38 +01:00
Dmitry Jemerov
46e0fdc067
regression test for KT-3442
2015-03-04 17:41:27 +01:00
Dmitry Jemerov
7522eb4032
regression test for KT-3903
2015-03-04 17:32:40 +01:00
Dmitry Jemerov
18e54322b8
regression test for KT-4281
2015-03-04 17:27:55 +01:00
Dmitry Jemerov
a2e22c6d20
regression test for KT-3107
2015-03-04 17:24:58 +01:00
Pavel V. Talanov
f507af15c0
Rename in descriptors.proto: class_object_name -> default_object_name
2015-03-03 20:57:13 +03:00
Pavel V. Talanov
48fbce9582
Refactor: process mentions of class object
...
Rename usages that refer to "default object" concept now
Test data file names are left as is
2015-03-03 20:57:08 +03:00
Pavel V. Talanov
ffabe19229
Prohibit accessing nested classes/objects of class object using class literal
...
The fqname of class should be clear from code
Example: can't shorten A.Default.B.Default.C to A.B.C
Also fixes problem when nested class of enum class could be accessed via enum entry
2015-03-03 13:04:29 +03:00
Pavel V. Talanov
88c5379424
Change importing rules for objects:
...
Allow importing classes from object, prohibit import-on-demand from objects
It's unclear what import-on-demand from object should mean so we prohibit it for now
2015-03-03 13:04:27 +03:00
Alexander Udalov
2c0830b017
Change synthetic accessor method names to "access$..."
...
As per discussion in https://youtrack.jetbrains.com/issue/KT-6870
2015-02-27 20:30:51 +03:00
Andrey Breslav
4c84b19b33
KT-5488 Invalid ambiguity between plus and plusAssign
...
#KT-5488 Fixed
2015-02-27 19:32:58 +03:00
Stanislav Erokhin
602689892e
Wrong diagnostic when last expression in lambda contains assignment operation
...
#KT-6769 Fixed
2015-02-27 14:16:20 +03:00
Yan Zhulanow
7423e30065
Removed Android dependencies from core modules
2015-02-26 15:26:02 +03:00
Yan Zhulanow
23053a2be2
Ability to change codegen test path (for plugins)
2015-02-26 15:25:52 +03:00
Yan Zhulanow
a8e3e4d8de
Android plugin test dependencies added
2015-02-26 15:25:49 +03:00
Yan Zhulanow
fa62d3bcec
Move Android compiler plugin tests to android-compiler-plugin module
2015-02-26 15:25:48 +03:00
Yan Zhulanow
94af8302ec
Allow to specify custom testData path in CodegenTest
2015-02-26 15:25:47 +03:00
Andrey Breslav
1e70369cf8
Logic related to command-line options moved to android-compiler-plugin
2015-02-26 15:25:40 +03:00
Andrey Breslav
565ce5a781
frontend.android renamed to android-compiler-plugin
2015-02-26 15:25:39 +03:00
Mikhail Mutcianko
bf25dffb85
add android bytecode persistence test
2015-02-26 15:25:37 +03:00
Mikhail Mutcianko
537933d145
regenerate android tests after rebase
2015-02-26 15:25:34 +03:00
Mikhail Mutcianko
08245ffe1c
add android properties box tests
2015-02-26 15:25:31 +03:00
dedoz
f2ab424c41
add generated tests
2015-02-26 15:25:31 +03:00
Mikhail Mutcianko
a56fa7f192
optimize imports
2015-02-26 15:25:31 +03:00
Mikhail Mutcianko
19e6b79cae
minor refactorings
2015-02-26 15:25:30 +03:00
Mikhail Mutcianko
376886a9c3
add configuration key to pass android manifest file
2015-02-26 15:25:28 +03:00
Mikhail Mutcianko
1b50b226ae
move android rename handler out of kotlin property renamer, extract resource manager class
2015-02-26 15:25:25 +03:00
Mikhail Mutcianko
21408da521
insert missing copyrights, move ByteArrayClassLoader up
2015-02-26 15:25:22 +03:00
dedoz
8495e06285
add android xml bridge invocation test
2015-02-26 15:25:22 +03:00
Mikhail Mutcianko
d107ad92a0
refactor converter initialization
...
- push lazyInit() down to IDE and Cli implementations
- no file listeners created in cli implementation anymore
- fix tests
2015-02-26 15:25:20 +03:00
Mikhail Mutcianko
eb7534f369
add converter output caching
...
- add two level caching: per xml conversion result and complete resulting JetFile,
so that only modified xmls are actually converted, and if no change has been
made to any of those, last successfully built psi file is returned
- merge AndroidUIXmlPathProvider and AndroidUIXmlParser
- update tests
2015-02-26 15:25:19 +03:00
Mikhail Mutcianko
2c44f5c4b7
missing files handling in converter
...
- silently continue if no files were found to convert
2015-02-26 15:25:17 +03:00