Mikhail Mutcianko
79cbfcd750
fix compiler argument tests
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
2801253a9c
add byte code generation
2015-02-26 15:25:21 +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
aa01d6d7cf
auto cast widget to its original type
...
- change property return type signatures from View to actual widget type
- simplify and update tests
2015-02-26 15:25:17 +03:00
Mikhail Mutcianko
31dc8194f1
add converted result compilation test
2015-02-26 15:25:16 +03:00
Mikhail Mutcianko
1e8769b5f7
android UI xml bridge initial
...
- add frontend.android module
- add xml ids to kotlin extension properties converter
- add converter basic functional test
2015-02-26 15:25:16 +03:00
Alexander Udalov
6f0ccbfab8
Reuse class loader for kotlin-runtime.jar in codegen tests
...
Also delete questionable ClassPathInParentClassLoaderTest
2015-02-25 20:13:47 +03:00
Andrey Breslav
b0422990d9
KT-6527 Wrong diagnostics when compare dynamic to null
...
#KT-6527 Fixed
2015-02-25 14:59:22 +03:00
Andrey Breslav
a00a118f94
EA-63343 - assert: DescriptorUtils.getClassDescriptorForTypeConstructor
...
#KT-6835 Fixed
2015-02-25 14:59:22 +03:00
Andrey Breslav
d70d2ca146
Nullability of error types is not known
...
#KT-6829 Fixed
2015-02-25 14:59:21 +03:00
Nikolay Krasko
377209f0c3
Do not report CONFLICTING_JVM_DECLARATIONS on delegated origin element
2015-02-24 21:33:55 +03:00
Stanislav Erokhin
c6f8a1cfcc
Add support local return from lambda with implicit unit type.
2015-02-24 14:14:49 +03:00
Stanislav Erokhin
57fd5cc84c
Support local return in lambda without explicit return type
2015-02-24 14:14:49 +03:00
Alexander Udalov
cf0842b135
Fix initialization order in REPL
...
#KT-6843 Fixed
2015-02-22 16:12:38 +03:00
Andrey Breslav
e47a156e36
KT-6810 Don't report warnings in dummy.kt
...
#KT-6810 Fixed
2015-02-21 13:51:13 +03:00
Alexey Tsvetkov
fabcfc7b7f
JS: added js() diagnostics tests
2015-02-20 16:01:26 +03:00
Alexey Tsvetkov
1e7de9d5d0
JS: removed cli test for js() errors
2015-02-20 16:01:26 +03:00
Pavel V. Talanov
ca3096a948
Prohibit inner classes in objects
...
Using inner classes in objects makes little sense since objects have single static instance
2015-02-20 14:47:37 +03:00
Pavel V. Talanov
460c1e328f
Improve error message for inner class in trait
2015-02-20 14:47:36 +03:00
Michael Nedzelsky
608b603f58
serialization of compile time constant: add support for expressions <const>: <type>
2015-02-20 02:33:35 +03:00
Michael Nedzelsky
5889112a94
add test for compile time constants without expicit type
2015-02-20 02:33:32 +03:00
Svetlana Isakova
204e9a0c34
KT-6751 References to type arguments of a type argument not resolved when wrong number of them
...
#KT-6751 Fixed
2015-02-19 14:43:18 +03:00
Andrey Breslav
ab93b530f1
Don't use annotations after nullability was forced upon a platform type
...
#KT-6762 Fixed
#KT-6763 Fixed
2015-02-17 18:44:46 +03:00
Alexander Udalov
6ce8d6bd2e
Serialize descriptors for local/anonymous classes on JVM
...
Reflection needs this information to work for local classes and anonymous
objects
2015-02-16 21:46:21 +03:00
Alexander Udalov
37da154ea2
Minor, move builtins serializer test data
2015-02-16 20:19:47 +03:00
Andrey Breslav
54483dbb95
KT-6118 Redundant type cast can be not redundant?
...
#KT-6118 Fixed
2015-02-16 18:50:10 +03:00
Andrey Breslav
c61a29d4f5
KT-6774 Cannot find equals() when comparing with null
...
#KT-6774 Fixed
2015-02-16 18:50:09 +03:00
Pavel V. Talanov
96e54b4872
Test accessing class object from java
2015-02-16 15:38:45 +03:00
Pavel V. Talanov
ed5e2a21d1
Restore some of the tests for deprecated OBJECT$ field
2015-02-16 15:38:45 +03:00
Pavel V. Talanov
2d59791cf2
Improve LazyClassDescriptor#getDefaultObjectDescriptor()
...
To cover the case when default object's name is not unique (redeclaration)
(Calling getClassifier is wrong for this case)
2015-02-16 15:38:44 +03:00
Pavel V. Talanov
514a551c04
Update diagnostics test for many class objects
2015-02-16 15:38:38 +03:00
Pavel V. Talanov
0ea69dea95
Update duplicate jvm signature test for class objects
2015-02-16 15:38:37 +03:00
Pavel V. Talanov
1972c2f177
Update test data for various tests
...
Due to slight semantic changes after class object refactor
2015-02-16 15:38:37 +03:00
Pavel V. Talanov
7b837e2631
Updata test data: txt files for diagnostics tests
2015-02-16 15:38:36 +03:00
Pavel V. Talanov
75f55dd99a
Update test data that mentioned old <class-object-for-..> name
2015-02-16 15:38:35 +03:00
Pavel V. Talanov
35b88fb1a5
Update test data for write flags test
2015-02-16 15:38:34 +03:00
Pavel V. Talanov
a1f4c06a49
Update test data that mentioned old JvmAbi constants
2015-02-16 15:38:34 +03:00
Pavel V. Talanov
f1942b1a74
Parser: do not produce CLASS_OBJECT element
...
"class object" is parsed into OBJECT_DECLARATION instead
2015-02-16 15:38:30 +03:00
Pavel V. Talanov
894c3bceac
Test: add jvm backend test for named class object
2015-02-16 15:38:29 +03:00
Pavel V. Talanov
72f94963ab
Tests: add resolve test for named class object
2015-02-16 15:38:28 +03:00
Pavel V. Talanov
2e837c6586
Parser: allow names to be specified for class objects
2015-02-16 15:38:28 +03:00
Nikolay Krasko
52f1c4048a
More test for conflicting declarations with delegation
2015-02-13 20:28:50 +03:00
Alexander Udalov
9b28e19551
Use CodegenContext to determine outer class & enclosing method
2015-02-11 18:10:49 +03:00
Alexander Udalov
c417d984c4
Minor, move tests under common directory
2015-02-11 18:10:46 +03:00
Alexander Udalov
32c371dd41
Minor, uncomment previously failing checks
...
#KT-5092 Fixed
2015-02-11 18:10:44 +03:00
Alexander Udalov
e7a744b315
Make JetTypeMapper aware of SAM constructor arguments
...
This obsoletes 'replaceName' workaround that was present in ClosureCodegen but
missing in other crucial call sites of mapSignature, e.g. generation of
EnclosingMethod info
#KT-6691 Fixed
2015-02-11 18:10:41 +03:00
Alexander Udalov
a280599969
Fix wrong checkcast for === on objects
...
#KT-6747 Fixed
2015-02-11 18:10:35 +03:00
Alexander Udalov
cd6d04b3ba
Fix incompleteHierarchyInJava test on Windows
...
Normalize path delimiters to '/' via CliBaseTest
2015-02-10 16:31:58 +03:00
Andrey Breslav
fcb6055913
SenselessComparisonChecker used for @NotNull values from Java
2015-02-10 06:55:49 +01:00