Commit Graph

4130 Commits

Author SHA1 Message Date
Michael Nedzelsky a40c80e90b fix tests in org.jetbrains.kotlin.codegen.generated 2015-09-08 02:05:09 +03:00
Michael Nedzelsky de9b5695ae fix tests in org.jetbrains.kotlin.cli 2015-09-08 02:05:05 +03:00
Michael Nedzelsky f717806138 fix tests in org.jetbrains.kotlin.repl 2015-09-08 02:04:54 +03:00
Michael Nedzelsky d81490d2f2 fix tests in org.jetbrains.kotlin.serialization 2015-09-08 02:04:50 +03:00
Michael Nedzelsky 84b5a57c15 fix tests in org.jetbrains.kotlin.serialization.builtins 2015-09-08 02:04:44 +03:00
Michael Nedzelsky ece8bb07b2 fix tests in org.jetbrains.kotlin.jvm.compiler 2015-09-08 02:04:38 +03:00
Michael Nedzelsky bc5c9065d2 fix tests in org.jetbrains.kotlin.checkers 2015-09-08 02:04:32 +03:00
Svetlana Isakova fe34d1673e Exception 'Base expression was not processed: function literal' fixed 2015-09-07 17:05:40 +03:00
Svetlana Isakova 4f28a0a9a1 KT-8879 Stackoverflow exception on completion from inference
#KT-8879 Fixed
Added ConstraintContext storing 'derivedFrom' variables.
This information is used to prevent infinite recursion:
if a variable was substituted in a type of a bound, it shouldn't be substituted there for the second time.
2015-09-07 17:05:39 +03:00
Michael Bogdanov 5805c42305 Write abi version to mapping file 2015-09-07 16:29:16 +03:00
Michael Bogdanov 2b6ebedc3e onReceiver test fix 2015-09-07 16:29:04 +03:00
Michael Bogdanov b3fc667c1e WrongAbi test data fix 2015-09-07 16:29:03 +03:00
Michael Bogdanov 47635c19a2 Generate calls through new minifacades 2015-09-07 16:28:59 +03:00
Michael Bogdanov 84649e4b26 Wrong abi test fix 2015-09-07 16:28:57 +03:00
Michael Bogdanov 843241848f Test fix 2015-09-07 16:28:55 +03:00
Michael Bogdanov 43af127ce8 new fixes 2015-09-07 16:28:52 +03:00
Dmitry Petrov ab8b5d05ed Light class generation for new facades/parts.
1st working (naive) implementation.
2015-09-07 16:28:45 +03:00
Dmitry Petrov cd6ff31129 Update tests depending on part class naming 2015-09-07 16:28:43 +03:00
Dmitry Petrov a47eaa2cb5 Change part class naming scheme
update tests depending on part class naming
2015-09-07 16:28:42 +03:00
Michael Bogdanov 35d51a8ea4 Update duplicate diagnostic 2015-09-07 16:28:40 +03:00
Michael Bogdanov 2c2ec508d3 Redeclaration tests patched 2015-09-07 16:28:39 +03:00
Michael Bogdanov 905e74f870 TODO: restore tests: files with same names 2015-09-07 16:28:38 +03:00
Mikhail Glukhikh 8f7b29f80a Annotation rename: target --> @Target 2015-09-07 13:42:26 +03:00
Yan Zhulanow 4ca127ecb3 Create custom exception for lateinit 2015-09-05 00:54:20 +03:00
Yan Zhulanow fc3bf3cca4 Implement lateinit in backend 2015-09-05 00:54:19 +03:00
Yan Zhulanow e3967b9fa0 Diagnostic on lateinit 2015-09-05 00:54:19 +03:00
Yan Zhulanow add13cae82 lateinit modifier on property 2015-09-05 00:54:18 +03:00
Alexander Udalov d0a4f82203 Fix NO_KOTLIN_REFLECT directive handling in codegen tests
It was disabling reflection on classpath at compile time, but not at runtime
2015-09-04 20:18:59 +03:00
Mikhail Glukhikh eab288bdd7 annotation() now has no arguments. Syntax migration to Retention / Repeatable / MustBeDocumented combination
Deprecated test for annotation(params) completion deleted. A lot of tests changed.
2015-09-04 19:21:12 +03:00
Denis Zharkov 86f35acf9e Fix testBuiltins result 2015-09-04 18:19:32 +03:00
Denis Zharkov 31244edec9 Deprecate deprecated in favor of Deprecated 2015-09-04 18:19:31 +03:00
Denis Zharkov 952d45dc8b Deprecate JVM platform annotations in favor of capitilized themselves 2015-09-04 18:19:31 +03:00
Denis Zharkov 5471a1d18a Add kotlin.external annotation and deprecate kotlin.jvm.native 2015-09-04 18:19:31 +03:00
Denis Zharkov 26f9bd7b63 Deprecate some of JVM flag annotations in favor of capitilized themselves 2015-09-04 18:19:31 +03:00
Denis Zharkov 2b76941733 Deprecate throws annotation in favor of Throws 2015-09-04 17:23:26 +03:00
Denis Zharkov 9254b1b461 Deprecate tailRecursive in favor of tailrec 2015-09-04 17:23:26 +03:00
Denis Zharkov bbc192fda5 Deprecate suppress annotation in favor of Suppress 2015-09-04 17:23:25 +03:00
Denis Zharkov 11fed1674e Deprecate extension annotation in favor of Extension 2015-09-04 17:23:25 +03:00
Michael Nedzelsky a59f14eede warning for access to private top-level declarations from another file 2015-09-04 15:35:28 +03:00
Mikhail Glukhikh 778ac7f25c annotation --> Retention / Repeatable / MustBeDocumented: converting from Java to Kotlin and back.
At this very short moment Kotlin supports both annotation(retention, repeatable, mustBeDocumented) and Retention / Repeatable / MustBeDocumented separately.
2015-09-04 12:49:36 +03:00
Mikhail Glukhikh 4e3bd10cd3 Java annotation with target "TYPE" is now applicable to Kotlin targets "CLASSIFIER" and "FILE" 2015-09-04 12:49:24 +03:00
Mikhail Glukhikh 699f1e0a70 AnnotationTarget.PACKAGE was dropped 2015-09-04 12:49:14 +03:00
Alexander Udalov df935f5bb7 Support reflection on lambdas and function expressions
Write a special annotation containing the bytes for the Callable protobuf
message and deserialize it at runtime properly

 #KT-9005 Fixed
2015-09-03 21:43:58 +03:00
Michael Nedzelsky 3a4dfc5241 remove requirements for explicit return type for public members 2015-09-03 18:23:04 +03:00
Valentin Kipyatkov b859815c79 Renamed conflicting property in test 2015-09-03 15:55:55 +03:00
Valentin Kipyatkov d41e01c0e4 Added a test 2015-09-03 15:55:54 +03:00
Yan Zhulanow 55b2029b3c Remove FIELD target from jvmStatic and platformStatic annotations 2015-09-02 20:36:48 +03:00
Mikhail Glukhikh f92e91f045 Regression test for annotated function after the last enum entry #KT-4693 Obsolete 2015-09-02 18:23:10 +03:00
Mikhail Glukhikh fa292ec0e0 Enum entries now can have no initializer if default secondary constructor is available. #KT-8484 Fixed 2015-09-02 18:23:07 +03:00
Mikhail Glukhikh 285d5d06c7 More precise value reassignment analysis. #KT-7418 Fixed. #KT-6902 Fixed.
Variable can now be "exactly initialized", "may be initialized" and "not initialized".
A set of relevant tests. Some fixed tests.
2015-09-02 12:07:18 +03:00