Commit Graph

2032 Commits

Author SHA1 Message Date
Stanislav Erokhin cdcf9f30b7 Minor. Fix compilation. 2015-09-24 14:07:51 +03:00
Zalim Bashorov 967c8eae2e Minor: fix testdata files which were accidentally reformatted 2015-09-23 18:18:08 +03:00
Denis Zharkov 098f5462eb Drop inlineOptions and fix forgotten usages 2015-09-23 12:18:12 +03:00
Michael Nedzelsky bcd85aa30d changes some internal modifiers to public for elements which are used outside their modules 2015-09-23 07:49:17 +03:00
Alexander Udalov 93b5065cf5 Get rid of SerializationUtil, move methods to DescriptorSerializer 2015-09-22 18:22:55 +03:00
Zalim Bashorov 98867addc9 Regenerate tests for JS reserved words 2015-09-22 15:00:38 +02:00
Dmitry Jemerov 4ca434da54 remove support for 'trait' keyword 2015-09-22 15:00:24 +02:00
Mikhail Glukhikh 831df27cac "field": refactoring, isBackingFieldReference, referencedProperty 2015-09-21 15:48:11 +03:00
Mikhail Glukhikh a1e3471d92 "field": deprecated warnings introduced, compiler tests migrated to the new syntax 2015-09-21 15:48:00 +03:00
Mikhail Glukhikh 028e0ec59a "field": JS translation 2015-09-21 15:47:57 +03:00
Ilya Gorbunov 439d1026bf Fix deprecations in js and java tests. 2015-09-19 05:04:41 +03:00
Ilya Gorbunov 0e3e33e5c1 Fix deprecations in testData: js semantics. 2015-09-19 05:04:05 +03:00
Stanislav Erokhin fb14979051 Created object java.util.Collections as workaround for js-stdlib. 2015-09-18 21:00:15 +03:00
Denis Zharkov 9dada595b6 Replace deprecated annotations with modifiers in testData 2015-09-18 10:14:41 +03:00
Denis Zharkov 53bccec50d Capitalize copies of JVM annotations for js stdlib 2015-09-18 10:14:35 +03:00
Denis Zharkov e401a98a2b Replace native with @native in js testData 2015-09-18 10:14:34 +03:00
Denis Zharkov 9adde77c47 Replace inlineOption(ONLY_LOCAL_RETURN) with crossinline in testData 2015-09-18 10:14:33 +03:00
Denis Zharkov 05eaf37123 Get rid of deprecated annotations and modifiers in js-stdlib 2015-09-18 10:14:30 +03:00
Denis Zharkov 9c4564a5a6 Get rid of deprecated annotations and modifiers in project code 2015-09-18 09:34:27 +03:00
Ilya Gorbunov 909cbc6817 Eliminate deprecated language constructions from the generated code. 2015-09-17 02:41:01 +03:00
Alexander Udalov 90cef6553c Delete all references to removed package 'kotlin.modules' 2015-09-15 15:55:19 +03:00
Alexander Udalov 949144e0c0 Report incomplete hierarchy error for deserialized types
#KT-5129 Fixed

Delete a JPS test that was specifically testing that we would not fail in this
situation; now there's a compilation error
2015-09-15 13:11:17 +03:00
Alexander Udalov a946f787bc Fix exception from data class codegen for light classes
EA-66827
2015-09-15 13:11:16 +03:00
Mikhail Glukhikh b4399b8b8b AnnotationTarget.CLASSIFIER and KotlinTarget.CLASSIFIER both dropped (second step) 2015-09-14 12:51:11 +03:00
Nikolay Krasko 3ad6631df3 Remove lazy value as all usages evaluate it right after creation 2015-09-12 15:16:11 +03:00
Zalim Bashorov 7036b36a94 Minor: replace some usages of (old) package facade with new package parts 2015-09-10 18:49:11 +03:00
Ilya Gorbunov 4f9e2c24d1 Exclude common file asserts.kt from tests using StdLib, as its methods conflict with kotlin.test.* methods. 2015-09-08 10:26:54 +03:00
Ilya Gorbunov e61d202d71 Dropped test that tested nothing: there were no files to compile, except common asserts.kt 2015-09-08 10:26:39 +03:00
Ilya Gorbunov ea896bd217 JsTestsAsserter implement Asserter. 2015-09-08 10:26:24 +03:00
Ilya Gorbunov 44f7b6d699 Unit testing API: better mapping on JUnit, proper formatting assertion details when message is not specified
#KT-8929 Fixed
Sensible default message for assertion methods.
#KT-8314 Fixed
Provide assertFailsWith also with KClass and reified type argument.
2015-09-08 10:26:07 +03:00
Ilya Gorbunov e20c86c5dc Add missing equals() to primitive-keyed JS map specialization. 2015-09-08 10:24:25 +03:00
Ilya Gorbunov c82c914c5d Before comparing types of data class objects in dataClass.equals ensure that the other comparand is an object too, otherwise it may fail on Rhino. 2015-09-08 10:24:13 +03:00
Michael Nedzelsky f6892580f6 fix tests in org.jetbrains.kotlin.js.test.semantics 2015-09-08 02:06:19 +03:00
Mikhail Glukhikh 8f7b29f80a Annotation rename: target --> @Target 2015-09-07 13:42:26 +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 11fed1674e Deprecate extension annotation in favor of Extension 2015-09-04 17:23:25 +03:00
Valentin Kipyatkov f244bfb073 Removed conflicting extensions from our code 2015-09-03 15:55:56 +03:00
Ilya Gorbunov c4b18d8fb8 Special case of slice for int ranges, sliceArray returning array.
#KT-8711
2015-09-02 20:22:38 +03:00
Ilya Gorbunov faa26cdb25 Introduce operations on Arrays returning Arrays: reversedArray, sortedArray.
#KT-8711
2015-09-02 20:22:27 +03:00
Ilya Gorbunov b3073dbd2d Provide lazy implementation with an external object to synchronize on. 2015-09-02 15:49:53 +03:00
Yan Zhulanow e7703df0b6 Use a single AnnotatedCallableKind enum item for property 2015-08-31 15:33:14 +03:00
Yan Zhulanow 1b9dab47ec Deserialize property and field annotations 2015-08-31 15:33:03 +03:00
Yan Zhulanow 08c678ef46 Deserialize receiver parameter annotations for extension functions 2015-08-31 15:32:55 +03:00
Denis Zharkov 4a3fbcc16e Make project compilable after fixes about generic nullability 2015-08-28 18:50:26 +03:00
Ilya Gorbunov 63110dcdf8 Remove StdLibArraysTest and include collections/ArraysTest.kt into StdLibTestToJSTest smoke tests instead.
Move helper methods, so they are available in JS semantics tests.
2015-08-27 00:09:04 +03:00
Ilya Gorbunov 6f71e54268 In-place array sorting in JS. 2015-08-27 00:07:56 +03:00
Pavel V. Talanov 2ef5e03f27 Introduce TargetEnvironment and CompilerEnvironment 2015-08-19 21:18:27 +03:00
Zalim Bashorov 6c28dbd407 LookupLocation.NO_LOCATION_FROM_BACKEND -> NoLookupLocation.FROM_BACKEND 2015-08-18 12:34:19 +03:00
Zalim Bashorov 69e0f23db9 Classify Location.NO_LOCATION usages 2015-08-18 12:21:31 +03:00
Mikhail Glukhikh 90f94b47db Deprecated enum syntax removed: JS plugin tests 2015-08-10 16:24:08 +03:00